diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1de15c3fd8..04206de067 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -49430,6 +49430,145 @@ } } }, + "/repos/{owner}/{repo}/code-quality/findings": { + "get": { + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/list-findings-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-quality-finding" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/code-quality-finding-number" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-quality-finding" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, "/repos/{owner}/{repo}/code-quality/setup": { "get": { "summary": "Get a code quality setup configuration", @@ -49928,7 +50067,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -62625,7 +62764,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "allOf": [ + { + "$ref": "#/components/schemas/issue" + }, + { + "type": "object", + "properties": {} + } + ] }, "examples": { "default": { @@ -119671,6 +119818,26 @@ "pinned_by" ] }, + "issue-comment-minimized": { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + }, "issue-comment": { "title": "Issue Comment", "description": "Comments provide a way for people to collaborate on an issue.", @@ -119765,6 +119932,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -119815,6 +119992,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -140998,6 +141182,146 @@ } } }, + "code-quality-finding-rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "code-quality-finding-location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "code-quality-finding-message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "code-quality-finding": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "$ref": "#/components/schemas/code-quality-finding-rule" + }, + "location": { + "$ref": "#/components/schemas/code-quality-finding-location" + }, + "message": { + "$ref": "#/components/schemas/code-quality-finding-message" + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, "code-quality-setup": { "description": "Configuration for code quality setup.", "type": "object", @@ -146532,6 +146856,46 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -146666,6 +147030,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" }, @@ -147825,6 +148195,196 @@ "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", @@ -147873,6 +148433,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" } ] }, @@ -147968,6 +148537,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -148936,6 +149515,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" } ] }, @@ -158297,6 +158885,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -184373,6 +184971,16 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] + }, "user": { "title": "User", "type": [ @@ -322228,6 +322836,61 @@ ] } }, + "code-quality-finding-items": { + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + }, + "code-quality-finding": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + }, "code-quality-setup": { "value": { "state": "configured", @@ -327975,7 +328638,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] }, @@ -328010,7 +328674,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } }, "issue-comment-pinned": { @@ -328706,12 +329371,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -328723,18 +329390,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -340673,6 +341343,15 @@ ] } }, + "code-quality-finding-number": { + "name": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + }, "git-ref": { "name": "ref", "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 52602239b9..795ad93cb7 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -36275,6 +36275,97 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding-items" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/code-quality-finding-number" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -36607,7 +36698,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -46090,7 +46181,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/issue" + allOf: + - "$ref": "#/components/schemas/issue" + - type: object + properties: {} examples: default: "$ref": "#/components/examples/issue" @@ -87079,6 +87173,20 @@ components: required: - pinned_at - pinned_by + issue-comment-minimized: + title: Minimized Issue Comment + description: Details about why an issue comment was minimized. + type: object + properties: + reason: + description: The reason the comment was minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason issue-comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -87139,6 +87247,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - id - node_id @@ -87176,6 +87288,11 @@ components: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -102763,6 +102880,111 @@ components: - setting repository: "$ref": "#/components/schemas/minimal-repository" + code-quality-finding-rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect the finding. + type: string + help: + description: A detailed description of the rule used to detect the finding. + type: string + severity: + description: The severity of the rule used to detect the finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + code-quality-finding-location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + code-quality-finding-message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding in markdown format. + type: string + required: + - text + - markdown + code-quality-finding: + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + "$ref": "#/components/schemas/code-quality-finding-rule" + location: + "$ref": "#/components/schemas/code-quality-finding-location" + message: + "$ref": "#/components/schemas/code-quality-finding-message" + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message code-quality-setup: description: Configuration for code quality setup. type: object @@ -106838,6 +107060,37 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -106914,6 +107167,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: @@ -107706,6 +107963,135 @@ 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 @@ -107725,6 +108111,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 @@ -107786,6 +108175,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - event - actor @@ -108455,6 +108848,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. @@ -115158,6 +115554,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - url - html_url @@ -134264,6 +134664,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" user: title: User type: @@ -239105,6 +239509,57 @@ components: id: 526 url: https://api.github.com/repos/github/hello-world name: hello-world + code-quality-finding-items: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + code-quality-finding: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' code-quality-setup: value: state: configured @@ -243961,6 +244416,7 @@ components: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: issue-comment: value: id: 1 @@ -243992,6 +244448,7 @@ components: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: issue-comment-pinned: value: id: 1 @@ -244619,10 +245076,12 @@ components: issue-field-value-items: value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -244631,14 +245090,17 @@ components: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -255095,6 +255557,13 @@ components: - queued - in_progress - completed + code-quality-finding-number: + name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer git-ref: name: ref description: The Git reference for the results you want to list. The `ref` for diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index fb2f8ba61a..1c06053bf4 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -49355,6 +49355,145 @@ } } }, + "/repos/{owner}/{repo}/code-quality/findings": { + "get": { + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/list-findings-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-quality-finding" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/code-quality-finding-number" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-quality-finding" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, "/repos/{owner}/{repo}/code-quality/setup": { "get": { "summary": "Get a code quality setup configuration", @@ -49853,7 +49992,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -62536,7 +62675,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "allOf": [ + { + "$ref": "#/components/schemas/issue" + }, + { + "type": "object", + "properties": {} + } + ] }, "examples": { "default": { @@ -119463,6 +119610,26 @@ "pinned_by" ] }, + "issue-comment-minimized": { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + }, "issue-comment": { "title": "Issue Comment", "description": "Comments provide a way for people to collaborate on an issue.", @@ -119557,6 +119724,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -119607,6 +119784,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -140358,6 +140542,146 @@ } } }, + "code-quality-finding-rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "code-quality-finding-location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "code-quality-finding-message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "code-quality-finding": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "$ref": "#/components/schemas/code-quality-finding-rule" + }, + "location": { + "$ref": "#/components/schemas/code-quality-finding-location" + }, + "message": { + "$ref": "#/components/schemas/code-quality-finding-message" + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, "code-quality-setup": { "description": "Configuration for code quality setup.", "type": "object", @@ -145890,6 +146214,46 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -146024,6 +146388,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" }, @@ -147183,6 +147553,196 @@ "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", @@ -147231,6 +147791,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" } ] }, @@ -147326,6 +147895,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -148294,6 +148873,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" } ] }, @@ -157850,6 +158438,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -183900,6 +184498,16 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] + }, "user": { "title": "User", "type": [ @@ -321378,6 +321986,61 @@ ] } }, + "code-quality-finding-items": { + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + }, + "code-quality-finding": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + }, "code-quality-setup": { "value": { "state": "configured", @@ -327105,7 +327768,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] }, @@ -327140,7 +327804,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } }, "issue-comment-pinned": { @@ -327816,12 +328481,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -327833,18 +328500,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -339733,6 +340403,15 @@ ] } }, + "code-quality-finding-number": { + "name": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + }, "git-ref": { "name": "ref", "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 9d91bc22b6..94556e9516 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -36214,6 +36214,97 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding-items" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/code-quality-finding-number" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -36546,7 +36637,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -46015,7 +46106,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/issue" + allOf: + - "$ref": "#/components/schemas/issue" + - type: object + properties: {} examples: default: "$ref": "#/components/examples/issue" @@ -86908,6 +87002,20 @@ components: required: - pinned_at - pinned_by + issue-comment-minimized: + title: Minimized Issue Comment + description: Details about why an issue comment was minimized. + type: object + properties: + reason: + description: The reason the comment was minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason issue-comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -86968,6 +87076,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - id - node_id @@ -87005,6 +87117,11 @@ components: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -102292,6 +102409,111 @@ components: - setting repository: "$ref": "#/components/schemas/minimal-repository" + code-quality-finding-rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect the finding. + type: string + help: + description: A detailed description of the rule used to detect the finding. + type: string + severity: + description: The severity of the rule used to detect the finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + code-quality-finding-location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + code-quality-finding-message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding in markdown format. + type: string + required: + - text + - markdown + code-quality-finding: + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + "$ref": "#/components/schemas/code-quality-finding-rule" + location: + "$ref": "#/components/schemas/code-quality-finding-location" + message: + "$ref": "#/components/schemas/code-quality-finding-message" + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message code-quality-setup: description: Configuration for code quality setup. type: object @@ -106365,6 +106587,37 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -106441,6 +106694,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: @@ -107233,6 +107490,135 @@ 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 @@ -107252,6 +107638,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 @@ -107313,6 +107702,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - event - actor @@ -107982,6 +108375,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. @@ -114832,6 +115228,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - url - html_url @@ -133920,6 +134320,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" user: title: User type: @@ -238402,6 +238806,57 @@ components: id: 526 url: https://api.github.com/repos/github/hello-world name: hello-world + code-quality-finding-items: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + code-quality-finding: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' code-quality-setup: value: state: configured @@ -243239,6 +243694,7 @@ components: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: issue-comment: value: id: 1 @@ -243270,6 +243726,7 @@ components: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: issue-comment-pinned: value: id: 1 @@ -243878,10 +244335,12 @@ components: issue-field-value-items: value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -243890,14 +244349,17 @@ components: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -254307,6 +254769,13 @@ components: - queued - in_progress - completed + code-quality-finding-number: + name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer git-ref: name: ref description: The Git reference for the results you want to list. The `ref` for diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 7ae5c69219..6820801bd7 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -49690,6 +49690,145 @@ } } }, + "/repos/{owner}/{repo}/code-quality/findings": { + "get": { + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/list-findings-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/code-quality-finding" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding-items" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/code-quality-finding-number" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-quality-finding" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-quality-finding" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_quality_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, "/repos/{owner}/{repo}/code-quality/setup": { "get": { "summary": "Get a code quality setup configuration", @@ -50188,7 +50327,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -62913,7 +63052,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "allOf": [ + { + "$ref": "#/components/schemas/issue" + }, + { + "type": "object", + "properties": {} + } + ] }, "examples": { "default": { @@ -120282,6 +120429,26 @@ "pinned_by" ] }, + "issue-comment-minimized": { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + }, "issue-comment": { "title": "Issue Comment", "description": "Comments provide a way for people to collaborate on an issue.", @@ -120376,6 +120543,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -120426,6 +120603,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -142009,6 +142193,146 @@ } } }, + "code-quality-finding-rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "code-quality-finding-location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "code-quality-finding-message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "code-quality-finding": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "$ref": "#/components/schemas/code-quality-finding-rule" + }, + "location": { + "$ref": "#/components/schemas/code-quality-finding-location" + }, + "message": { + "$ref": "#/components/schemas/code-quality-finding-message" + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, "code-quality-setup": { "description": "Configuration for code quality setup.", "type": "object", @@ -147568,6 +147892,46 @@ "to" ] }, + "issue-type-webhook": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "issue-event": { "title": "Issue Event", "description": "Issue Event", @@ -147702,6 +148066,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" }, @@ -148861,6 +149231,196 @@ "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", @@ -148909,6 +149469,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" } ] }, @@ -149004,6 +149573,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -149972,6 +150551,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" } ] }, @@ -159497,6 +160085,16 @@ "$ref": "#/components/schemas/pinned-issue-comment" } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] } }, "required": [ @@ -185645,6 +186243,16 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/issue-comment-minimized" + } + ] + }, "user": { "title": "User", "type": [ @@ -324212,6 +324820,61 @@ ] } }, + "code-quality-finding-items": { + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + }, + "code-quality-finding": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + }, "code-quality-setup": { "value": { "state": "configured", @@ -329971,7 +330634,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] }, @@ -330006,7 +330670,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } }, "issue-comment-pinned": { @@ -330714,12 +331379,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -330731,18 +331398,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -342785,6 +343455,15 @@ ] } }, + "code-quality-finding-number": { + "name": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + }, "git-ref": { "name": "ref", "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 3392f3b2ff..11511c6401 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -36413,6 +36413,97 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding-items" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/code-quality-finding-number" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-quality-finding" + examples: + default: + "$ref": "#/components/examples/code-quality-finding" + '403': + "$ref": "#/components/responses/code_quality_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -36745,7 +36836,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -46268,7 +46359,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/issue" + allOf: + - "$ref": "#/components/schemas/issue" + - type: object + properties: {} examples: default: "$ref": "#/components/examples/issue" @@ -87477,6 +87571,20 @@ components: required: - pinned_at - pinned_by + issue-comment-minimized: + title: Minimized Issue Comment + description: Details about why an issue comment was minimized. + type: object + properties: + reason: + description: The reason the comment was minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason issue-comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -87537,6 +87645,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - id - node_id @@ -87574,6 +87686,11 @@ components: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -103467,6 +103584,111 @@ components: - setting repository: "$ref": "#/components/schemas/minimal-repository" + code-quality-finding-rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect the finding. + type: string + help: + description: A detailed description of the rule used to detect the finding. + type: string + severity: + description: The severity of the rule used to detect the finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + code-quality-finding-location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + code-quality-finding-message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding in markdown format. + type: string + required: + - text + - markdown + code-quality-finding: + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + "$ref": "#/components/schemas/code-quality-finding-rule" + location: + "$ref": "#/components/schemas/code-quality-finding-location" + message: + "$ref": "#/components/schemas/code-quality-finding-message" + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message code-quality-setup: description: Configuration for code quality setup. type: object @@ -107559,6 +107781,37 @@ components: required: - from - to + issue-type-webhook: + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name issue-event: title: Issue Event description: Issue Event @@ -107635,6 +107888,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: @@ -108427,6 +108684,135 @@ 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 @@ -108446,6 +108832,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 @@ -108507,6 +108896,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - event - actor @@ -109176,6 +109569,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. @@ -116015,6 +116411,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" required: - url - html_url @@ -135181,6 +135581,10 @@ components: anyOf: - type: 'null' - "$ref": "#/components/schemas/pinned-issue-comment" + minimized: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/issue-comment-minimized" user: title: User type: @@ -240379,6 +240783,57 @@ components: id: 526 url: https://api.github.com/repos/github/hello-world name: hello-world + code-quality-finding-items: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + code-quality-finding: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that expression + cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, since it is + guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' code-quality-setup: value: state: configured @@ -245241,6 +245696,7 @@ components: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: issue-comment: value: id: 1 @@ -245272,6 +245728,7 @@ components: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: issue-comment-pinned: value: id: 1 @@ -245905,10 +246362,12 @@ components: issue-field-value-items: value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -245917,14 +246376,17 @@ components: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -256433,6 +256895,13 @@ components: - queued - in_progress - completed + code-quality-finding-number: + name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer git-ref: name: ref description: The Git reference for the results you want to list. The `ref` for diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index c34294bf3b..3af6d7fdea 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -39572,6 +39572,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -39626,6 +39653,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -43966,6 +44000,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -44020,6 +44081,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -45085,6 +45153,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -66478,6 +66573,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -66532,6 +66654,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -74944,6 +75073,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -74998,6 +75154,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -79338,6 +79501,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -79392,6 +79582,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -80457,6 +80654,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -156529,6 +156753,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -156583,6 +156834,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -160923,6 +161181,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -160977,6 +161262,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -162042,6 +162334,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -179213,6 +179532,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -179267,6 +179613,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -211427,6 +211780,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -211481,6 +211861,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -223034,6 +223421,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -223088,6 +223502,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -353547,17 +353968,17 @@ } } }, - "/repos/{owner}/{repo}/code-quality/setup": { + "/repos/{owner}/{repo}/code-quality/findings": { "get": { - "summary": "Get a code quality setup configuration", - "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-quality" ], - "operationId": "code-quality/get-setup", + "operationId": "code-quality/list-findings-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" }, "parameters": [ { @@ -353577,6 +353998,60 @@ "schema": { "type": "string" } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } } ], "responses": { @@ -353585,92 +354060,669 @@ "content": { "application/json": { "schema": { - "description": "Configuration for code quality setup.", - "type": "object", - "properties": { - "state": { - "description": "Code quality setup has been configured or not.", - "type": "string", - "enum": [ - "configured", - "not-configured" - ] - }, - "languages": { - "description": "Languages to be analyzed.", - "type": "array", - "items": { + "type": "array", + "items": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", "type": "string", "enum": [ - "csharp", - "go", - "java-kotlin", - "javascript-typescript", - "python", - "ruby", - "rust" + "open", + "dismissed" ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" } }, - "runner_type": { - "description": "Runner type to be used.", - "type": [ - "string", - "null" - ], - "enum": [ - "standard", - "labeled", - null - ] - }, - "runner_label": { - "description": "Runner label to be used if the runner type is labeled.", - "type": [ - "string", - "null" - ], - "examples": [ - "code-scanning" - ] - }, - "updated_at": { - "description": "Timestamp of latest configuration update.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2023-12-06T14:20:20.000Z" - ] - }, - "schedule": { - "description": "The frequency of the periodic analysis.", - "type": [ - "string", - "null" - ], - "enum": [ - "weekly", - null - ] - } + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] } }, "examples": { "default": { - "value": { - "state": "configured", - "languages": [ - "javascript-typescript", - "python" - ], - "runner_type": "standard", - "runner_label": null, - "updated_at": "2023-01-01T00:00:00Z", - "schedule": "weekly" - } + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "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": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, + "examples": { + "default": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/setup": { + "get": { + "summary": "Get a code quality setup configuration", + "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-setup", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + }, + "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" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2023-12-06T14:20:20.000Z" + ] + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + }, + "examples": { + "default": { + "value": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + } } } } @@ -357682,7 +358734,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -419568,6 +420620,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -419622,6 +420701,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -423962,6 +425048,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -424016,6 +425129,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -425081,6 +426201,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -453062,6 +454209,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -453116,6 +454290,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -457465,6 +458646,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -457519,6 +458727,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -459104,6 +460319,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -459150,7 +460392,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -460231,6 +461474,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -460276,7 +461546,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -461297,6 +462568,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -461342,7 +462640,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -462441,6 +463740,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -468003,6 +469329,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -468057,6 +469410,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -469288,6 +470648,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -473973,6 +475413,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -474027,6 +475494,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -475258,6 +476732,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -479739,6 +481293,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -479793,6 +481374,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -480656,3904 +482244,3946 @@ "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" + "allOf": [ + { + "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" }, - { - "title": "Simple User", - "description": "A GitHub user.", + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { "type": "object", "properties": { - "name": { + "merged_at": { "type": [ "string", "null" - ] + ], + "format": "date-time" }, - "email": { + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { "type": [ "string", "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "login": { + "node_id": { "type": "string", - "examples": [ - "octocat" + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { "id": { + "description": "Unique identifier of the repository", "type": "integer", "format": "int64", "examples": [ - 1 + 42 ] }, "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "avatar_url": { + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://github.com/octocat/Hello-World" ] }, - "gravatar_id": { + "description": { "type": [ "string", "null" ], "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "This your first repo!" ] }, + "fork": { + "type": "boolean" + }, "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "html_url": { + "archive_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "followers_url": { + "assignees_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "following_url": { + "blobs_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" ] }, - "gists_url": { + "branches_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" ] }, - "starred_url": { + "collaborators_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" ] }, - "subscriptions_url": { + "comments_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" ] }, - "organizations_url": { + "commits_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" ] }, - "repos_url": { + "compare_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" ] }, - "events_url": { + "contents_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" ] }, - "received_events_url": { + "contributors_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "type": { + "deployments_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "site_admin": { - "type": "boolean" + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] }, - "starred_at": { + "events_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/events" ] }, - "user_view_type": { + "forks_url": { "type": "string", + "format": "uri", "examples": [ - "public" + "http://api.github.com/repos/octocat/Hello-World/forks" ] - } - }, - "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" - ] - } - ] - }, - "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", - "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", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] - }, - "assignee": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "email": { - "type": [ - "string", - "null" + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" ] }, - "login": { + "git_tags_url": { "type": "string", "examples": [ - "octocat" + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "id": { - "type": "integer", - "format": "int64", + "git_url": { + "type": "string", "examples": [ - 1 + "git:github.com/octocat/Hello-World.git" ] }, - "node_id": { + "issue_comment_url": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" ] }, - "avatar_url": { + "issue_events_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "issues_url": { + "type": "string", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" ] }, - "url": { + "keys_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" ] }, - "html_url": { + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/languages" ] }, - "followers_url": { + "merges_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/merges" ] }, - "following_url": { + "milestones_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" ] }, - "gists_url": { + "notifications_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" ] }, - "starred_url": { + "pulls_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" ] }, - "subscriptions_url": { + "releases_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" ] }, - "organizations_url": { + "ssh_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "git@github.com:octocat/Hello-World.git" ] }, - "repos_url": { + "stargazers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "events_url": { + "statuses_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "received_events_url": { + "subscribers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "type": { + "subscription_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "tags_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/tags" ] }, - "user_view_type": { + "teams_url": { "type": "string", + "format": "uri", "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" + "http://api.github.com/repos/octocat/Hello-World/teams" ] }, - "html_url": { + "trees_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" ] }, - "labels_url": { + "clone_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + "https://github.com/octocat/Hello-World.git" ] }, - "id": { - "type": "integer", + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - 1002604 + "git:git.example.com/octocat/Hello-World" ] }, - "node_id": { + "hooks_url": { "type": "string", + "format": "uri", "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 + "http://api.github.com/repos/octocat/Hello-World/hooks" ] }, - "state": { - "description": "The state of the milestone.", + "svn_url": { "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", + "format": "uri", "examples": [ - "open" + "https://svn.github.com/octocat/Hello-World" ] }, - "title": { - "description": "The title of the milestone.", - "type": "string", + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - "v1.0" + "https://github.com" ] }, - "description": { + "language": { "type": [ "string", "null" - ], + ] + }, + "forks_count": { + "type": "integer", "examples": [ - "Tracking milestone for version 1.0" + 9 ] }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "stargazers_count": { + "type": "integer", + "examples": [ + 80 ] }, - "open_issues": { + "watchers_count": { "type": "integer", "examples": [ - 4 + 80 ] }, - "closed_issues": { + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", "type": "integer", "examples": [ - 8 + 108 ] }, - "created_at": { + "default_branch": { + "description": "The default branch of the repository.", "type": "string", - "format": "date-time", "examples": [ - "2011-04-10T20:09:31Z" + "master" ] }, - "updated_at": { - "type": "string", - "format": "date-time", + "open_issues_count": { + "type": "integer", "examples": [ - "2014-03-03T18:58:10Z" + 0 ] }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", "examples": [ - "2013-02-12T13:22:01Z" + true ] }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", "examples": [ - "2012-10-09T23:39:01Z" + true ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "email": { - "type": [ - "string", - "null" + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "login": { - "type": "string", + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, "examples": [ - "octocat" + true ] }, - "id": { - "type": "integer", - "format": "int64", + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", "examples": [ - 1 + true ] }, - "node_id": { - "type": "string", + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", "examples": [ - "MDQ6VXNlcjE=" + true ] }, - "avatar_url": { + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", "type": "string", - "format": "uri", + "enum": [ + "all", + "collaborators_only" + ], "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "all" ] }, - "gravatar_id": { + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { "type": [ "string", "null" ], + "format": "date-time", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "2011-01-26T19:06:43Z" ] }, - "url": { - "type": "string", - "format": "uri", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat" + "2011-01-26T19:01:12Z" ] }, - "html_url": { - "type": "string", - "format": "uri", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://github.com/octocat" + "2011-01-26T19:14:43Z" ] }, - "followers_url": { - "type": "string", - "format": "uri", + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/followers" + true ] }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] + "temp_clone_token": { + "type": "string" }, - "gists_url": { - "type": "string", + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + true ] }, - "starred_url": { - "type": "string", + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + false ] }, - "subscriptions_url": { - "type": "string", - "format": "uri", + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + false ] }, - "organizations_url": { - "type": "string", - "format": "uri", + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/orgs" + false ] }, - "repos_url": { + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." }, - "events_url": { + "squash_merge_commit_message": { "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." }, - "received_events_url": { + "merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." }, - "type": { + "merge_commit_message": { "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "User" + true ] }, - "site_admin": { + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, "type": "boolean" }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, "starred_at": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "\"2020-07-09T00:17:42Z\"" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" ] }, - "license": { + "performed_via_github_app": { "anyOf": [ { "type": "null" }, { - "title": "License Simple", - "description": "License Simple", - "type": "object", + "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", + "null" + ], "properties": { - "key": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", "type": "string", "examples": [ - "mit" + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", "type": "string", "examples": [ - "MIT License" + "Probot Owners" ] }, - "url": { + "description": { "type": [ "string", "null" ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", "format": "uri", "examples": [ - "https://api.github.com/licenses/mit" + "https://example.com" ] }, - "spdx_id": { - "type": [ - "string", - "null" - ], + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "MIT" + "https://github.com/apps/super-ci" ] }, - "node_id": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "MDc6TGljZW5zZW1pdA==" + "2017-07-08T16:18:44-04:00" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri" + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ - "key", + "id", + "node_id", + "owner", "name", - "url", - "spdx_id", - "node_id" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] } ] }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" ] }, - "homepage": { + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", "type": [ "string", "null" ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" + "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [ - true - ] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "master_branch": { - "type": "string" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "pinned_comment": { + "anyOf": [ + { + "type": "null" }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" }, - "gravatar_id": { + { + "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": [ - "string", + "object", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] - }, + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] + "pin": { + "anyOf": [ + { + "type": "null" }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" ] - }, - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" ] } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" ] - } - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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" - ] - }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" }, - { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", "type": "object", "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { - "type": "string" + "blocked_by": { + "type": "integer" }, - "body_html": { - "type": "string" + "blocking": { + "type": "integer" }, - "html_url": { - "type": "string", - "format": "uri" + "total_blocked_by": { + "type": "integer" }, - "user": { - "anyOf": [ - { - "type": "null" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } }, - { - "title": "Simple User", - "description": "A GitHub user.", + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "examples": [ 1 ] }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "name": { + "description": "The name of the option", "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "High" ] }, - "user_view_type": { + "color": { + "description": "The color of the option", "type": "string", "examples": [ - "public" + "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" + "name", + "color" ] } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] + } }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "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" ] }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + { + "type": "object", + "properties": {} } - }, - "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" ] }, "examples": { @@ -488696,6 +490326,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -488750,6 +490407,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -492844,6 +494508,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -492898,6 +494589,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -494302,6 +496000,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -494348,7 +496073,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -495403,6 +497129,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -495448,7 +497201,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -499382,6 +501136,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -499436,6 +501217,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -503617,6 +505405,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -503671,6 +505486,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -507936,6 +509758,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -507990,6 +509839,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -512277,6 +514133,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -512331,6 +514214,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -524220,1144 +526110,2182 @@ "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + { + "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", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] + "type": "integer" }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } + "node_id": { + "type": "string" }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" + "url": { + "type": "string" }, - { - "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", - "examples": [ - 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" + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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", - "examples": [ - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - { - "type": "number", - "examples": [ - 42.5 - ] + "event": { + "type": "string" }, - { - "type": "integer", - "examples": [ - 1 + "commit_id": { + "type": [ + "string", + "null" ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 + }, + "commit_url": { + "type": [ + "string", + "null" ] }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", "id", - "name", - "color" + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" - } - ] - } - ] - } - } - } - } - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", - "required": [ - "code" - ], "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": { "type": [ "string", "null" ] }, - { + "email": { "type": [ - "integer", + "string", "null" ] }, - { + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - } + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ] - } - } - } - } - } - } - } - } - }, - "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", - "examples": [ - 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", - "examples": [ - "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" + "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "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": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "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" + } + } + } + }, + "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", @@ -525365,7 +528293,6 @@ "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", @@ -525379,6 +528306,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -525517,12 +528451,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -525534,18 +528470,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -525566,78 +528505,18 @@ } } } - } - }, - "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": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": [ - "string", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } + "type": "string" } } } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -525688,18 +528567,14 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -525707,76 +528582,10 @@ "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { + "url": { "type": "string" }, - "documentation_url": { + "status": { "type": "string" } } @@ -525786,25 +528595,22 @@ } }, "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).\"", + }, + "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/delete-issue-field-value", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -525833,20 +528639,386 @@ "schema": { "type": "integer" } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "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", + "examples": [ + 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", + "examples": [ + "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": { - "204": { - "description": "Issue field value deleted successfully" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, "403": { "description": "Forbidden", @@ -526004,19 +529176,17 @@ "category": "issues", "subcategory": "issue-field-values" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { - "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + }, + "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/list-labels-on-issue", + "operationId": "issues/set-issue-field-values", "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#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -526045,26 +529215,90 @@ "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 - } } ], + "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", + "examples": [ + 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", + "examples": [ + "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", @@ -526072,54 +529306,773 @@ "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", "examples": [ - 208045946 + 1 ] }, - "node_id": { + "issue_field_name": { + "description": "The human-readable name of the issue field.", "type": "string", "examples": [ - "MDU6TGFiZWwyMDgwNDU5NDY=" + "Priority" ] }, - "url": { - "description": "URL for the label", + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/labels/bug" + "IFT_GDKND" ] }, - "name": { - "description": "The name of the label.", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "examples": [ - "bug" - ] - }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": [ - "string", - "null" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" ], "examples": [ - "Something isn't working" + "text" ] }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string", - "examples": [ + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-labels-on-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#list-labels-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": "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", + "examples": [ + 208045946 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDU6TGFiZWwyMDgwNDU5NDY=" + ] + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/labels/bug" + ] + }, + "name": { + "description": "The name of the label.", + "type": "string", + "examples": [ + "bug" + ] + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": [ + "string", + "null" + ], + "examples": [ + "Something isn't working" + ] + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string", + "examples": [ "FFFFFF" ] }, @@ -531448,6 +535401,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -531502,6 +535482,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -536836,6 +540823,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -536890,6 +540904,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -541081,6 +545102,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -541135,6 +545183,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -545294,6 +549349,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -545348,6 +549430,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -549314,868 +553403,5293 @@ "metadata": { "type": "string" }, - "contents": { - "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "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" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "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" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDU6SXNzdWUx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "number": 1347, + "state": "open", + "title": "Found a bug", + "body": "I'm having a problem with this.", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "pinned_comment": null, + "labels": [ + { + "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 + } + ], + "assignee": { + "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 + }, + "assignees": [ + { + "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 + } + ], + "milestone": { + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "id": 1002604, + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "state": "open", + "title": "v1.0", + "description": "Tracking milestone for version 1.0", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 4, + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "updated_at": "2014-03-03T18:58:10Z", + "closed_at": "2013-02-12T13:22:01Z", + "due_on": "2012-10-09T23:39:01Z" + }, + "locked": true, + "active_lock_reason": "too heated", + "comments": 0, + "pull_request": { + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "closed_at": null, + "created_at": "2011-04-22T13:33:48Z", + "updated_at": "2011-04-22T13:33:48Z", + "closed_by": { + "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 + }, + "author_association": "COLLABORATOR", + "state_reason": "completed" + } + } + } + } + } + }, + "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 Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "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": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { + "get": { + "summary": "List timeline events for an issue", + "description": "List all timeline events for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-events-for-timeline", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/timeline#list-timeline-events-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": "Timeline Event", + "description": "Timeline Event", + "type": "object", + "anyOf": [ + { + "title": "Labeled Issue Event", + "description": "Labeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Unlabeled Issue Event", + "description": "Unlabeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Milestoned Issue Event", + "description": "Milestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Demilestoned Issue Event", + "description": "Demilestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Renamed Issue Event", + "description": "Renamed 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "rename": { + "type": "object", + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ] + } + }, + "required": [ + "rename", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Review Requested Issue Event", + "description": "Review Requested 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "deployments": { - "type": "string" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "additionalProperties": { + "checks": { "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.", - "type": "array", - "items": { + "metadata": { "type": "string" }, - "examples": [ - "label", - "deployment" - ] + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] + "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.", + "type": "array", + "items": { + "type": "string" }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } + "examples": [ + "label", + "deployment" + ] }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "Sample text" + "https://github.com/orgs/rails/teams/core" ] }, - { - "type": "number", + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 42.5 + 37 ] }, - { + "enterprise_id": { "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", "examples": [ - 1 + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } ] } - ], - "type": [ - "null", - "string", - "number", - "integer" + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + "requested_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "examples": [ 1 ] }, - "name": { - "description": "The name of the option", + "node_id": { "type": "string", "examples": [ - "High" + "MDQ6VXNlcjE=" ] }, - "color": { - "description": "The color of the option", + "avatar_url": { "type": "string", + "format": "uri", "examples": [ - "red" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", - "name", - "color" + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } } }, "required": [ - "issue_field_id", + "review_requester", + "id", "node_id", - "data_type", - "value" + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] - } - } - }, - "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" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "pinned_comment": null, - "labels": [ - { - "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 - } - ], - "assignee": { - "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 - }, - "assignees": [ - { - "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 - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "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 }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - } - } - } - }, - "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 Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "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": "sub-issues" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { - "get": { - "summary": "List timeline events for an issue", - "description": "List all timeline events for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-events-for-timeline", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/timeline#list-timeline-events-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": "Timeline Event", - "description": "Timeline Event", - "type": "object", - "anyOf": [ { - "title": "Labeled Issue Event", - "description": "Labeled Issue Event", + "title": "Review Request Removed Issue Event", + "description": "Review Request Removed Issue Event", "type": "object", "properties": { "id": { @@ -550781,50 +559295,431 @@ } ] }, - "label": { + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", "type": "object", "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, "name": { "type": "string" }, - "color": { + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] } }, "required": [ + "id", + "node_id", + "url", + "members_url", "name", - "color" + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] - } - }, - "required": [ - "label", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Unlabeled Issue Event", - "description": "Unlabeled Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { + "requested_reviewer": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -550991,451 +559886,10 @@ "type", "url" ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "label": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "color": { - "type": "string" - } - }, - "required": [ - "name", - "color" - ] } }, "required": [ - "label", + "review_requester", "id", "node_id", "url", @@ -551448,8 +559902,8 @@ ] }, { - "title": "Milestoned Issue Event", - "description": "Milestoned Issue Event", + "title": "Review Dismissed Issue Event", + "description": "Review Dismissed Issue Event", "type": "object", "properties": { "id": { @@ -552055,20 +560509,34 @@ } ] }, - "milestone": { + "dismissed_review": { "type": "object", "properties": { - "title": { + "state": { + "type": "string" + }, + "review_id": { + "type": "integer" + }, + "dismissal_message": { + "type": [ + "string", + "null" + ] + }, + "dismissal_commit_id": { "type": "string" } }, "required": [ - "title" + "state", + "review_id", + "dismissal_message" ] } }, "required": [ - "milestone", + "dismissed_review", "id", "node_id", "url", @@ -552081,8 +560549,8 @@ ] }, { - "title": "Demilestoned Issue Event", - "description": "Demilestoned Issue Event", + "title": "Locked Issue Event", + "description": "Locked Issue Event", "type": "object", "properties": { "id": { @@ -552688,20 +561156,18 @@ } ] }, - "milestone": { - "type": "object", - "properties": { - "title": { - "type": "string" - } - }, - "required": [ - "title" + "lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"off-topic\"" ] } }, "required": [ - "milestone", + "lock_reason", "id", "node_id", "url", @@ -552714,8 +561180,8 @@ ] }, { - "title": "Renamed Issue Event", - "description": "Renamed Issue Event", + "title": "Added to Project Issue Event", + "description": "Added to Project Issue Event", "type": "object", "properties": { "id": { @@ -553321,24 +561787,40 @@ } ] }, - "rename": { + "project_card": { "type": "object", "properties": { - "from": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { "type": "string" }, - "to": { + "previous_column_name": { "type": "string" } }, "required": [ - "from", - "to" + "id", + "url", + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "rename", "id", "node_id", "url", @@ -553351,8 +561833,8 @@ ] }, { - "title": "Review Requested Issue Event", - "description": "Review Requested Issue Event", + "title": "Moved Column in Project Issue Event", + "description": "Moved Column in Project Issue Event", "type": "object", "properties": { "id": { @@ -553958,601 +562440,40 @@ } ] }, - "review_requester": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "project_card": { "type": "object", "properties": { "id": { "type": "integer" }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, "url": { "type": "string", "format": "uri" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" + "project_id": { + "type": "integer" }, - "repositories_url": { + "project_url": { "type": "string", "format": "uri" }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] + "column_name": { + "type": "string" }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "type" - ] - } - ] + "previous_column_name": { + "type": "string" } }, "required": [ "id", - "node_id", "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent", - "type" - ] - }, - "requested_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "review_requester", "id", "node_id", "url", @@ -554565,8 +562486,8 @@ ] }, { - "title": "Review Request Removed Issue Event", - "description": "Review Request Removed Issue Event", + "title": "Removed from Project Issue Event", + "description": "Removed from Project Issue Event", "type": "object", "properties": { "id": { @@ -555172,7 +563093,66 @@ } ] }, - "review_requester": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Converted Note to Issue Issue Event", + "description": "Converted Note to Issue 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", @@ -555340,118 +563320,86 @@ "url" ] }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], "properties": { "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 ] }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "probot-owners" ] }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "type": { - "description": "The ownership type of the team", + "node_id": { "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 37 + "MDExOkludGVncmF0aW9uMQ==" ] }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", + "client_id": { + "type": "string", "examples": [ - 42 + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "parent": { - "anyOf": [ - { - "type": "null" - }, + "owner": { + "oneOf": [ { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the team", "type": "integer", + "format": "int64", "examples": [ 1 ] @@ -555459,144 +563407,392 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VGVhbTE=" + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" ] }, "url": { - "description": "URL for the team", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1" + "https://api.github.com/users/octocat" ] }, - "members_url": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" + "https://github.com/octocat" ] }, - "name": { - "description": "Name of the team", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Justice League" + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" ] }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { "description": { - "description": "Description of the team", + "description": "A short description of the enterprise.", "type": [ "string", "null" - ], - "examples": [ - "A great team." ] }, - "permission": { - "description": "Permission that the team will have for its repositories", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "admin" + "https://github.com/enterprises/octo-business" ] }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", "examples": [ - "notifications_enabled" + 42 ] }, - "html_url": { + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "repositories_url": { + "name": { + "description": "The name of the enterprise.", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/repos" + "Octo Business" ] }, "slug": { + "description": "The slug url identifier for the enterprise.", "type": "string", "examples": [ - "justice-league" + "octo-business" ] }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" + "2019-01-26T19:01:12Z" ] }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - 37 + "2019-01-26T19:14:43Z" ] }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "url", - "members_url", "name", - "description", - "permission", - "html_url", - "repositories_url", "slug", - "type" + "html_url", + "created_at", + "updated_at", + "avatar_url" ] } ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ "id", "node_id", - "url", - "members_url", + "owner", "name", "description", - "permission", + "external_url", "html_url", - "repositories_url", - "slug", - "parent", - "type" + "created_at", + "updated_at", + "permissions", + "events" ] }, - "requested_reviewer": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Timeline Comment Event", + "description": "Timeline Comment Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -555763,36 +563959,43 @@ "type", "url" ] - } - }, - "required": [ - "review_requester", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Review Dismissed Issue Event", - "description": "Review Dismissed Issue Event", - "type": "object", - "properties": { + }, "id": { - "type": "integer" + "description": "Unique identifier of the issue comment", + "type": "integer", + "examples": [ + 42 + ] }, "node_id": { "type": "string" }, "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { "type": "string" }, - "actor": { + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -555960,23 +564163,41 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "commit_url": { - "type": [ - "string", - "null" + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "created_at": { - "type": "string" + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] }, "performed_via_github_app": { "anyOf": [ @@ -556386,286 +564607,77 @@ } ] }, - "dismissed_review": { - "type": "object", - "properties": { - "state": { - "type": "string" - }, - "review_id": { - "type": "integer" - }, - "dismissal_message": { - "type": [ - "string", - "null" - ] - }, - "dismissal_commit_id": { - "type": "string" - } - }, - "required": [ - "state", - "review_id", - "dismissal_message" - ] - } - }, - "required": [ - "dismissed_review", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Locked Issue Event", - "description": "Locked Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { + "pin": { "anyOf": [ { "type": "null" }, { - "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", - "null" - ], + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { + "pinned_at": { "type": "string", + "format": "date-time", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "2011-04-14T16:00:49Z" ] }, - "owner": { - "oneOf": [ + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -556833,241 +564845,65 @@ "type", "url" ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", "type": [ "string", "null" ], "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 + "low-quality" ] } }, "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "reason" ] } ] - }, - "lock_reason": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"off-topic\"" - ] } }, "required": [ - "lock_reason", + "event", + "actor", "id", "node_id", + "html_url", + "issue_url", + "author_association", + "user", "url", - "actor", - "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at" ] }, { - "title": "Added to Project Issue Event", - "description": "Added to Project Issue Event", + "title": "Timeline Cross Referenced Event", + "description": "Timeline Cross Referenced Event", "type": "object", "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { + "event": { "type": "string" }, "actor": { @@ -557238,65 +565074,112 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - { - "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", - "null" - ], + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", "properties": { "id": { - "description": "Unique identifier of the GitHub app", "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", "examples": [ - 37 + "https://api.github.com/repositories/42/issues/1" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "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", + "type": "integer", "examples": [ - "probot-owners" + 42 ] }, - "node_id": { + "state": { + "description": "State of the issue; either 'open' or 'closed'", "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "open" ] }, - "client_id": { + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", "type": "string", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "Widget creation fails in Safari on OS X 10.8" ] }, - "owner": { - "oneOf": [ + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -557464,492 +565347,806 @@ "type", "url" ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" }, { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", + "name": { "type": [ "string", "null" ] }, - "html_url": { + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/enterprises/octo-business" + "https://github.com/images/error/octocat_happy.gif" ] }, - "website_url": { - "description": "The enterprise's website URL.", + "gravatar_id": { "type": [ "string", "null" ], - "format": "uri" + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", + "url": { + "type": "string", + "format": "uri", "examples": [ - 42 + "https://api.github.com/users/octocat" ] }, - "node_id": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "https://github.com/octocat" ] }, - "name": { - "description": "The name of the enterprise.", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Octo Business" + "https://api.github.com/users/octocat/followers" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "following_url": { "type": "string", "examples": [ - "octo-business" + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "gists_url": { + "type": "string", "examples": [ - "2019-01-26T19:01:12Z" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "starred_url": { + "type": "string", "examples": [ - "2019-01-26T19:14:43Z" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "avatar_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", + "assignees": { "type": "array", "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Moved Column in Project Issue Event", - "description": "Moved Column in Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } ] }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" ] }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" ] }, - "client_id": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "format": "date-time" }, - "owner": { - "oneOf": [ + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -558117,493 +566314,209 @@ "type", "url" ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { "type": "string", - "examples": [ - "Probot Owners" - ] + "format": "uri" }, - "description": { + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", "type": [ - "string", + "object", "null" ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", "properties": { - "issues": { - "type": "string" + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "checks": { - "type": "string" + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." }, - "metadata": { - "type": "string" + "name": { + "type": "string", + "description": "The name of the issue type." }, - "contents": { - "type": "string" + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." }, - "deployments": { - "type": "string" + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Removed from Project Issue Event", - "description": "Removed from Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "required": [ + "id", + "node_id", + "name", + "description" ] }, - "owner": { - "oneOf": [ - { + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -558698,1180 +566611,2646 @@ "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ], + "examples": [ + "all" + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 ] }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "node_id": { + "type": "string" }, - "repos_url": { + "url": { + "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/repositories/42/issues/comments/1" ] }, - "received_events_url": { + "body": { + "description": "Contents of the issue comment", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "What version of Safari were you using when you observed this bug?" ] }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "body_text": { + "type": "string" }, - "site_admin": { - "type": "boolean" + "body_html": { + "type": "string" }, - "starred_at": { + "html_url": { "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } ] }, - "user_view_type": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" + "2011-04-14T16:00:49Z" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://github.com/enterprises/octo-business" + "2011-04-14T16:00:49Z" ] }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], + "issue_url": { + "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { + "author_association": { + "title": "author_association", "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "OWNER" ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" + "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" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } ] }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } ] - }, - "avatar_url": { - "type": "string", - "format": "uri" } }, "required": [ "id", "node_id", - "name", - "slug", "html_url", + "issue_url", + "user", + "url", "created_at", - "updated_at", - "avatar_url" + "updated_at" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", "type": "object", "properties": { - "issues": { - "type": "string" - }, - "checks": { - "type": "string" + "blocked_by": { + "type": "integer" }, - "metadata": { - "type": "string" + "blocking": { + "type": "integer" }, - "contents": { - "type": "string" + "total_blocked_by": { + "type": "integer" }, - "deployments": { - "type": "string" + "total_blocking": { + "type": "integer" } }, - "additionalProperties": { - "type": "string" - }, - "example": { - "issues": "read", - "deployments": "write" - } + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] }, - "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.", + "issue_field_values": { "type": "array", "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } } }, "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", "created_at", - "updated_at", - "permissions", - "events" + "updated_at" ] } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] + } } }, "required": [ - "id", - "node_id", - "url", - "actor", "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at", + "source" ] }, { - "title": "Converted Note to Issue Issue Event", - "description": "Converted Note to Issue Issue Event", + "title": "Timeline Committed Event", + "description": "Timeline Committed 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, "event": { "type": "string" }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" ] }, - "created_at": { + "node_id": { "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Timeline Comment Event", - "description": "Timeline Comment Event", - "type": "object", - "properties": { - "event": { - "type": "string" + "url": { + "type": "string", + "format": "uri" }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", + "author": { + "description": "Identifying information for the git-user", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { + "date": { + "description": "Timestamp of the commit", + "format": "date-time", "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "2014-08-09T08:02:04+12:00" ] }, - "starred_url": { + "email": { "type": "string", + "description": "Git email address of the user", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "monalisa.octocat@example.com" ] }, - "subscriptions_url": { + "name": { + "description": "Name of the git user", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "Monalisa Octocat" ] - }, - "organizations_url": { + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "format": "date-time", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "2014-08-09T08:02:04+12:00" ] }, - "repos_url": { + "email": { "type": "string", - "format": "uri", + "description": "Git email address of the user", "examples": [ - "https://api.github.com/users/octocat/repos" + "monalisa.octocat@example.com" ] }, - "events_url": { + "name": { + "description": "Name of the git user", "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "Monalisa Octocat" ] - }, - "received_events_url": { + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "type": "string", + "examples": [ + "Fix #42" + ] + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "7638417db6d59f3c431d3e1f261cc637155684cd" ] }, - "type": { + "url": { "type": "string", - "examples": [ - "User" - ] + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } }, - "site_admin": { + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { "type": "boolean" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + "reason": { + "type": "string" + }, + "signature": { + "type": [ + "string", + "null" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "payload": { + "type": [ + "string", + "null" + ] + }, + "verified_at": { + "type": [ + "string", + "null" ] } }, "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" + "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 issue comment", + "description": "Unique identifier of the review", "type": "integer", "examples": [ 42 ] }, "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", "type": "string", "examples": [ - "What version of Safari were you using when you observed this bug?" + "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, "user": { "title": "Simple User", "description": "A GitHub user.", @@ -560040,1393 +569419,722 @@ "url" ] }, - "created_at": { - "type": "string", - "format": "date-time", + "body": { + "description": "The text of the review.", + "type": [ + "string", + "null" + ], "examples": [ - "2011-04-14T16:00:49Z" + "This looks great." ] }, - "updated_at": { + "state": { "type": "string", - "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "CHANGES_REQUESTED" ] }, - "issue_url": { + "html_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + ] }, - "author_association": { - "title": "author_association", + "pull_request_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], + "format": "uri", "examples": [ - "OWNER" + "https://api.github.com/repos/octocat/Hello-World/pulls/12" ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "href": { + "type": "string" } }, "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "href" ] - } - ] - }, - "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": { - "anyOf": [ - { - "type": "null" }, - { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", + "pull_request": { "type": "object", "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "href": { + "type": "string" } }, "required": [ - "pinned_at", - "pinned_by" + "href" ] } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string", + "examples": [ + "54bb654c9e6025347f57900a4a5c2313a96b8035" + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] } }, "required": [ "event", - "actor", "id", "node_id", - "html_url", - "issue_url", - "author_association", "user", - "url", - "created_at", - "updated_at" + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" ] }, { - "title": "Timeline Cross Referenced Event", - "description": "Timeline Cross Referenced Event", + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", "type": "object", "properties": { "event": { "type": "string" }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "node_id": { + "type": "string" }, - "source": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "issue": { - "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } + "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", + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": [ + "integer", + "null" + ], + "format": "int64", + "examples": [ + 42 + ] + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "examples": [ + "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + ] + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "examples": [ + "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + ] + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string", + "examples": [ + "config/database.yaml" + ] + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "type": "integer", + "examples": [ + 1 + ] + }, + "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.", + "type": "integer", + "examples": [ + 4 + ] + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string", + "examples": [ + "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" + ] + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer", + "examples": [ + 8 + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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" - ] - } - ] - }, - "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", - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" + "email": { + "type": [ + "string", + "null" + ] }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "description": "The text of the comment.", + "type": "string", + "examples": [ + "We should probably include a check for null values here." + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] } + }, + "required": [ + "href" ] }, - "examples": [ - "bug", - "registration" - ] - }, - "assignee": { - "anyOf": [ - { - "type": "null" + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + ] + } }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "original_start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "start_side": { + "type": [ + "string", + "null" + ], + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "default": "RIGHT" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "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" + } }, - "assignees": { - "type": "array", - "items": { + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "examples": [ + "\"

comment body

\"" + ] + }, + "body_text": { + "type": "string", + "examples": [ + "\"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", + "null" + ] + }, + "position": { + "type": [ + "integer", + "null" + ] + }, + "line": { + "type": [ + "integer", + "null" + ] + }, + "commit_id": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -561594,779 +570302,345 @@ "url" ] } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] - }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", - "examples": [ - "open" - ] - }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": [ - "v1.0" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] - }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2013-02-12T13:22:01Z" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2012-10-09T23:39:01Z" - ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] + "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" + } }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "created_at": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "date-time" + "examples": [ + "probot-owners" + ] }, - "updated_at": { + "node_id": { "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" ] }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { + "client_id": { "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - }, - "license": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "License Simple", - "description": "License Simple", - "type": "object", - "properties": { - "key": { - "type": "string", - "examples": [ - "mit" - ] - }, - "name": { - "type": "string", - "examples": [ - "MIT License" - ] - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://api.github.com/licenses/mit" - ] - }, - "spdx_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "MIT" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6TGljZW5zZW1pdA==" - ] - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "key", - "name", - "url", - "spdx_id", - "node_id" - ] - } - ] - }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" - ] - }, - "owner": { + "owner": { + "oneOf": [ + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -562442,2632 +570716,1088 @@ "following_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" - ] - }, - "homepage": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" - }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [ - true - ] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "master_branch": { - "type": "string" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "gists_url": { "type": "string", "examples": [ - "probot-owners" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "node_id": { + "starred_url": { "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "client_id": { + "subscriptions_url": { "type": "string", + "format": "uri", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "https://api.github.com/users/octocat/subscriptions" ] }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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" - ] - } + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" ] }, - "name": { - "description": "The name of the GitHub app", + "repos_url": { "type": "string", + "format": "uri", "examples": [ - "Probot Owners" + "https://api.github.com/users/octocat/repos" ] }, - "description": { - "type": [ - "string", - "null" - ], + "events_url": { + "type": "string", "examples": [ - "The description of the app." + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "external_url": { + "received_events_url": { "type": "string", "format": "uri", "examples": [ - "https://example.com" + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "https://github.com/enterprises/octo-business" ] }, - "created_at": { + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "updated_at": { + "name": { + "description": "The name of the enterprise.", "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "Octo Business" ] }, - "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" - } + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] }, - "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.", - "type": "array", - "items": { - "type": "string" - }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "label", - "deployment" + "2019-01-26T19:01:12Z" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - 5 + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "owner", "name", - "description", - "external_url", + "slug", "html_url", "created_at", "updated_at", - "permissions", - "events" + "avatar_url" ] } ] }, - "author_association": { - "title": "author_association", + "name": { + "description": "The name of the GitHub app", "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" ], "examples": [ - "OWNER" + "The description of the app." ] }, - "reactions": { - "title": "Reaction Rollup", + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" + "issues": { + "type": "string" }, - "heart": { - "type": "integer" + "checks": { + "type": "string" }, - "hooray": { - "type": "integer" + "metadata": { + "type": "string" }, - "eyes": { - "type": "integer" + "contents": { + "type": "string" }, - "rocket": { - "type": "integer" + "deployments": { + "type": "string" } }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } + "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.", + "type": "array", + "items": { + "type": "string" }, - "required": [ - "total", - "completed", - "percent_completed" + "examples": [ + "label", + "deployment" ] }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the issue comment", "type": "integer", "format": "int64", "examples": [ - 42 + 1 ] }, "node_id": { - "type": "string" + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, "url": { - "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/users/octocat" ] }, - "body": { - "description": "Contents of the issue comment", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "What version of Safari were you using when you observed this bug?" + "https://github.com/octocat" ] }, - "body_text": { - "type": "string" + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] }, - "body_html": { - "type": "string" + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] }, - "html_url": { + "gists_url": { "type": "string", - "format": "uri" + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "created_at": { + "subscriptions_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/subscriptions" ] }, - "updated_at": { + "organizations_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/orgs" ] }, - "issue_url": { + "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] }, - "author_association": { - "title": "author_association", + "events_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], "examples": [ - "OWNER" + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_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" + "type": { + "type": "string", + "examples": [ + "User" ] }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", + "name", + "slug", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" + "updated_at", + "avatar_url" ] } ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "issues": { + "type": "string" }, - "blocking": { - "type": "integer" + "checks": { + "type": "string" }, - "total_blocked_by": { - "type": "integer" + "metadata": { + "type": "string" }, - "total_blocking": { - "type": "integer" + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" } }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "issue_field_values": { + "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.", "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "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", + "owner", + "name", + "description", + "external_url", + "html_url", "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", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": [ - "Fix #42" - ] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "null" - ] - }, - "payload": { - "type": [ - "string", - "null" - ] - }, - "verified_at": { - "type": [ - "string", - "null" + "updated_at", + "permissions", + "events" ] } - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "user": { + "assignee": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -565234,990 +571964,24 @@ "type", "url" ] - }, - "body": { - "description": "The text of the review.", - "type": [ - "string", - "null" - ], - "examples": [ - "This looks great." - ] - }, - "state": { - "type": "string", - "examples": [ - "CHANGES_REQUESTED" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "null" - ], - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string", - "examples": [ - "54bb654c9e6025347f57900a4a5c2313a96b8035" - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] } }, "required": [ - "event", "id", "node_id", - "user", - "body", - "state", + "url", + "actor", + "event", "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "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", - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": [ - "integer", - "null" - ], - "format": "int64", - "examples": [ - 42 - ] - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "examples": [ - "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - ] - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string", - "examples": [ - "config/database.yaml" - ] - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "type": "integer", - "examples": [ - 1 - ] - }, - "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.", - "type": "integer", - "examples": [ - 4 - ] - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string", - "examples": [ - "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" - ] - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer", - "examples": [ - 8 - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string", - "examples": [ - "We should probably include a check for null values here." - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - } - }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "original_start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "start_side": { - "type": [ - "string", - "null" - ], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "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", - "examples": [ - "\"

comment body

\"" - ] - }, - "body_text": { - "type": "string", - "examples": [ - "\"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", - "null" - ] - }, - "position": { - "type": [ - "integer", - "null" - ] - }, - "line": { - "type": [ - "integer", - "null" - ] - }, - "commit_id": { - "type": "string" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { "id": { @@ -566823,7 +572587,40 @@ } ] }, - "assignee": { + "state_reason": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "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": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -566990,9 +572787,476 @@ "type", "url" ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -567001,13 +573265,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": { @@ -567613,176 +573876,49 @@ } ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": [ "string", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] } }, "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", @@ -567791,13 +573927,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": { @@ -568403,14 +574538,90 @@ } ] }, - "state_reason": { + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": [ - "string", + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", @@ -683744,6 +689955,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -686880,6 +693098,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -733141,6 +739386,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -733195,6 +739467,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -766490,6 +772769,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -766544,6 +772850,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -786634,6 +792947,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -786688,6 +793028,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -791028,6 +797375,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -791082,6 +797456,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -792147,6 +798528,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -799732,6 +806140,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -799786,6 +806221,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -804126,6 +810568,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -804180,6 +810649,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -805245,6 +811721,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -812840,6 +819343,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -812894,6 +819424,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -817234,6 +823771,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -817288,6 +823852,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -818353,6 +824924,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -837411,6 +844009,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -837465,6 +844090,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -853820,6 +860452,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -853874,6 +860533,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -858214,6 +864880,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -858268,6 +864961,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -859333,6 +866033,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -866914,6 +873641,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -866968,6 +873722,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -871308,6 +878069,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -871362,6 +878150,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -872427,6 +879222,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1079305,6 +1086127,33 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + }, "user": { "title": "User", "type": [ @@ -1083923,6 +1090772,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1088459,6 +1095335,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1092978,6 +1099881,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1097503,6 +1104433,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1104919,6 +1111876,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1104973,6 +1111957,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1108824,6 +1115815,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1108878,6 +1115896,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1115602,6 +1122627,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1115656,6 +1122708,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1119507,6 +1126566,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1119561,6 +1126647,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1126285,6 +1133378,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1126339,6 +1133459,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1131158,6 +1138285,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1131212,6 +1138366,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1136968,6 +1144129,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1137022,6 +1144210,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1141841,6 +1149036,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1141895,6 +1149117,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1146168,6 +1153397,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1146242,6 +1153498,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1150594,6 +1157857,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1150668,6 +1157958,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1155228,6 +1162525,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1155302,6 +1162626,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1159666,6 +1166997,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1159740,6 +1167098,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1164285,6 +1171650,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1164359,6 +1171751,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1168750,6 +1176149,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1168824,6 +1176250,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1173395,6 +1180828,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1173469,6 +1180929,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1177933,6 +1185400,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1178007,6 +1185501,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1182423,6 +1189924,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1182497,6 +1190025,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1186837,6 +1194372,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1186911,6 +1194473,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1190459,6 +1198028,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1191536,6 +1199112,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1193625,6 +1201228,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1194769,6 +1202379,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1198893,6 +1206530,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1198967,6 +1206631,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1203334,6 +1211005,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1203408,6 +1211106,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1207614,6 +1215319,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1207688,6 +1215420,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1210796,6 +1218535,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1210870,6 +1218636,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1215217,6 +1222990,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1215291,6 +1223091,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1219807,6 +1227614,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1219881,6 +1227715,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1224228,6 +1232069,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1224302,6 +1232170,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1228716,6 +1236591,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1228790,6 +1236692,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1233107,6 +1241016,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1233181,6 +1241117,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1237527,6 +1245470,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1237601,6 +1245571,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1665604,6 +1673581,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1665658,6 +1673662,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1670477,6 +1678488,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1670531,6 +1678569,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1676288,6 +1684333,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1676342,6 +1684414,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1681161,6 +1689240,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1681215,6 +1689321,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1686972,6 +1695085,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1687026,6 +1695166,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1691845,6 +1699992,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1691899,6 +1700073,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1697656,6 +1705837,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1697710,6 +1705918,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1702529,6 +1710744,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1702583,6 +1710825,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 3a9fca8dbb..93a0ee5149 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1080,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &651 + - &658 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12392,7 +12392,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &484 + - &486 name: has in: query description: |- @@ -12522,7 +12522,7 @@ paths: - transitive - inconclusive - - security_advisory: &485 + security_advisory: &487 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12797,7 +12797,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &486 + auto_dismissed_at: &488 type: - string - 'null' @@ -12805,7 +12805,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &487 + dismissal_request: &489 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14524,7 +14524,7 @@ paths: properties: action: type: string - discussion: &741 + discussion: &748 title: Discussion description: A Discussion in a repository. type: object @@ -15310,7 +15310,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &662 + sub_issues_summary: &669 title: Sub-issues Summary type: object properties: @@ -15394,7 +15394,7 @@ paths: pin: anyOf: - type: 'null' - - &559 + - &562 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15412,6 +15412,25 @@ paths: required: - pinned_at - pinned_by + minimized: + anyOf: + - type: 'null' + - &563 + title: Minimized Issue Comment + description: Details about why an issue comment + was minimized. + type: object + properties: + reason: + description: The reason the comment was + minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason required: - id - node_id @@ -15421,7 +15440,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &663 + issue_dependencies_summary: &670 title: Issue Dependencies Summary type: object properties: @@ -15440,7 +15459,7 @@ paths: - total_blocking issue_field_values: type: array - items: &543 + items: &546 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15452,6 +15471,12 @@ paths: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the + issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -16251,7 +16276,7 @@ paths: type: string release: allOf: - - &591 + - &598 title: Release description: A release. type: object @@ -16333,7 +16358,7 @@ paths: author: *4 assets: type: array - items: &592 + items: &599 title: Release Asset description: Data related to a release. type: object @@ -16936,7 +16961,7 @@ paths: url: type: string format: uri - user: &669 + user: &676 title: Public User description: Public User type: object @@ -20392,7 +20417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &567 + - &574 name: all description: If `true`, show notifications marked as read. in: query @@ -20400,7 +20425,7 @@ paths: schema: type: boolean default: false - - &568 + - &575 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20410,7 +20435,7 @@ paths: type: boolean default: false - *87 - - &569 + - &576 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: @@ -21003,7 +21028,7 @@ paths: - url - subscription_url examples: - default: &570 + default: &577 value: - id: '1' repository: @@ -22921,7 +22946,7 @@ paths: parameters: - *74 - *116 - - &719 + - &726 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 @@ -23033,7 +23058,7 @@ paths: - *116 - *117 - *118 - - &720 + - &727 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23041,7 +23066,7 @@ paths: schema: type: string - *121 - - &721 + - &728 name: sku description: The SKU to query for usage. in: query @@ -30725,12 +30750,12 @@ paths: required: - subject_digests examples: - default: &700 + default: &707 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &701 + withPredicateType: &708 value: subject_digests: - sha256:abc123 @@ -30789,7 +30814,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &702 + default: &709 value: attestations_subject_digests: - sha256:abc: @@ -32096,7 +32121,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &421 + - &423 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -32106,7 +32131,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &422 + - &424 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -32130,7 +32155,7 @@ paths: be returned. in: query required: false - schema: &424 + schema: &426 type: string description: State of a code scanning alert. enum: @@ -32153,7 +32178,7 @@ paths: be returned. in: query required: false - schema: &425 + schema: &427 type: string description: Severity of a code scanning alert. enum: @@ -32187,7 +32212,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &426 + instances_url: &428 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -32209,7 +32234,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &427 + dismissed_reason: &429 type: - string - 'null' @@ -32220,14 +32245,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &428 + dismissed_comment: &430 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &429 + rule: &431 type: object properties: id: @@ -32288,7 +32313,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &430 + tool: &432 type: object properties: name: *187 @@ -32299,26 +32324,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &431 + most_recent_instance: &433 type: object properties: - ref: &423 + ref: &425 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &441 + analysis_key: &443 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &442 + environment: &444 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &443 + category: &445 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -32338,7 +32363,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &444 + location: &446 type: object description: Describe a region within a file for the alert. properties: @@ -32359,7 +32384,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &445 + items: &447 type: - string - 'null' @@ -33694,7 +33719,7 @@ paths: machine: anyOf: - type: 'null' - - &457 + - &459 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34646,7 +34671,7 @@ paths: - updated_at - visibility examples: - default: &458 + default: &460 value: total_count: 2 secrets: @@ -34684,7 +34709,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34719,7 +34744,7 @@ paths: - key_id - key examples: - default: &460 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34751,7 +34776,7 @@ paths: application/json: schema: *195 examples: - default: &462 + default: &464 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38313,7 +38338,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38332,7 +38357,7 @@ paths: - key_id - key examples: - default: &491 + default: &493 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40158,7 +40183,7 @@ paths: application/json: schema: *20 examples: - default: &528 + default: &530 value: id: 1 account: @@ -40386,7 +40411,7 @@ paths: required: true content: application/json: - schema: &529 + schema: &531 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -41205,7 +41230,7 @@ paths: type: array items: *245 examples: - default: &533 + default: &535 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41734,7 +41759,7 @@ paths: application/json: schema: *250 examples: - default: &456 + default: &458 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42996,7 +43021,7 @@ paths: parameters: - *74 - *257 - - &683 + - &690 name: repo_name description: repo_name parameter in: path @@ -44057,7 +44082,7 @@ paths: - nuget - container - *74 - - &684 + - &691 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44098,7 +44123,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &686 + '400': &693 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46229,7 +46254,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &769 + - &776 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46503,7 +46528,7 @@ paths: content: oneOf: - *82 - - &471 + - &473 title: Pull Request Simple description: Pull Request Simple type: object @@ -46742,7 +46767,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &577 + auto_merge: &584 title: Auto merge description: The status of auto merging a pull request. type: @@ -47127,7 +47152,7 @@ paths: - updated_at - project_url examples: - default: &706 + default: &713 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47304,7 +47329,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &707 + items: &714 type: object properties: name: @@ -47341,7 +47366,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &708 + iteration_configuration: &715 type: object description: The configuration for iteration fields. properties: @@ -47391,7 +47416,7 @@ paths: value: name: Due date data_type: date - single_select_field: &709 + single_select_field: &716 summary: Create a single select field value: name: Priority @@ -47418,7 +47443,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &710 + iteration_field: &717 summary: Create an iteration field value: name: Sprint @@ -47444,7 +47469,7 @@ paths: application/json: schema: *283 examples: - text_field: &711 + text_field: &718 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47453,7 +47478,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: &712 + number_field: &719 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47462,7 +47487,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: &713 + date_field: &720 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47471,7 +47496,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: &714 + single_select_field: &721 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47505,7 +47530,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &715 + iteration_field: &722 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47551,7 +47576,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &716 + - &723 name: field_id description: The unique identifier of the field. in: path @@ -47566,7 +47591,7 @@ paths: application/json: schema: *283 examples: - default: &717 + default: &724 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48777,7 +48802,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &697 + schema: &704 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48960,7 +48985,7 @@ paths: parameters: - *280 - *74 - - &718 + - &725 name: view_number description: The number that identifies the project view. in: path @@ -50401,7 +50426,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &476 + code_of_conduct: &478 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -51036,7 +51061,7 @@ paths: - *74 - *17 - *19 - - &599 + - &606 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51323,7 +51348,7 @@ paths: - object rules: type: array - items: &600 + items: &607 title: Repository Rule type: object description: A repository rule. @@ -51385,7 +51410,7 @@ paths: type: string enum: - required_linear_history - - &598 + - &605 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52287,7 +52312,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &601 + - &608 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 @@ -52302,7 +52327,7 @@ paths: in: query schema: type: string - - &602 + - &609 name: time_period description: |- The time period to filter by. @@ -52318,14 +52343,14 @@ paths: - week - month default: day - - &603 + - &610 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 - - &604 + - &611 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52338,7 +52363,7 @@ paths: - bypass - all default: all - - &605 + - &612 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. @@ -52361,7 +52386,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &613 title: Rule Suites description: Response type: array @@ -52417,7 +52442,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &607 + default: &614 value: - id: 21 actor_id: 12 @@ -52461,7 +52486,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &608 + - &615 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52477,7 +52502,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &616 title: Rule Suite description: Response type: object @@ -52584,7 +52609,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &610 + default: &617 value: id: 21 actor_id: 12 @@ -52831,7 +52856,7 @@ paths: type: string format: date-time examples: - default: &612 + default: &619 value: - version_id: 3 actor: @@ -52884,7 +52909,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &620 allOf: - *326 - type: object @@ -52956,7 +52981,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &614 + - &621 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52967,7 +52992,7 @@ paths: enum: - open - resolved - - &615 + - &622 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52977,7 +53002,7 @@ paths: required: false schema: type: string - - &616 + - &623 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52988,7 +53013,7 @@ paths: required: false schema: type: string - - &617 + - &624 name: exclude_providers in: query description: |- @@ -52999,7 +53024,7 @@ paths: required: false schema: type: string - - &618 + - &625 name: providers in: query description: |- @@ -53010,7 +53035,7 @@ paths: required: false schema: type: string - - &619 + - &626 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53019,7 +53044,7 @@ paths: required: false schema: type: string - - &620 + - &627 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53038,7 +53063,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &621 + - &628 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. @@ -53053,7 +53078,7 @@ paths: - *60 - *19 - *17 - - &622 + - &629 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 @@ -53063,7 +53088,7 @@ paths: required: false schema: type: string - - &623 + - &630 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 @@ -53073,7 +53098,7 @@ paths: required: false schema: type: string - - &624 + - &631 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53082,7 +53107,7 @@ paths: required: false schema: type: string - - &625 + - &632 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53091,7 +53116,7 @@ paths: schema: type: boolean default: false - - &626 + - &633 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53100,7 +53125,7 @@ paths: schema: type: boolean default: false - - &627 + - &634 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53109,7 +53134,7 @@ paths: schema: type: boolean default: false - - &628 + - &635 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53143,14 +53168,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &629 + state: &636 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: &630 + resolution: &637 type: - string - 'null' @@ -53269,14 +53294,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &631 + - &638 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &633 + - &640 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53340,7 +53365,7 @@ paths: - blob_url - commit_sha - commit_url - - &634 + - &641 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. @@ -53401,7 +53426,7 @@ paths: - page_url - commit_sha - commit_url - - &635 + - &642 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53423,7 +53448,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &636 + - &643 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53445,7 +53470,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &637 + - &644 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53467,7 +53492,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &638 + - &645 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53482,7 +53507,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &639 + - &646 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53497,7 +53522,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &640 + - &647 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53512,7 +53537,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &641 + - &648 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. @@ -53534,7 +53559,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &642 + - &649 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. @@ -53556,7 +53581,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &643 + - &650 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. @@ -53578,7 +53603,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &644 + - &651 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. @@ -53600,7 +53625,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &645 + - &652 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 @@ -54121,7 +54146,7 @@ paths: application/json: schema: type: array - items: &649 + items: &656 description: A repository security advisory. type: object properties: @@ -54440,7 +54465,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &657 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56446,7 +56471,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &665 + response-if-user-is-a-team-maintainer: &672 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56511,7 +56536,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &666 + response-if-users-membership-with-team-is-now-pending: &673 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56625,7 +56650,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &667 + schema: &674 title: Team Repository description: A team's access to a repository. type: object @@ -57354,7 +57379,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &668 + response-if-child-teams-exist: &675 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58832,11 +58857,11 @@ paths: '302': description: Response headers: - Location: &493 + Location: &495 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &534 + '410': &536 description: Gone content: application/json: @@ -63018,7 +63043,7 @@ paths: items: type: object properties: - type: &500 + type: &502 type: string description: The type of reviewer. enum: @@ -63156,7 +63181,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63268,7 +63293,7 @@ paths: - created_at - updated_at examples: - default: &496 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66141,7 +66166,7 @@ paths: properties: name: type: string - commit: &467 + commit: &469 title: Commit description: Commit type: object @@ -66226,7 +66251,7 @@ paths: required: - sha - url - verification: &518 + verification: &520 title: Verification type: object properties: @@ -66306,7 +66331,7 @@ paths: type: integer files: type: array - items: &478 + items: &480 title: Diff Entry description: Diff Entry type: object @@ -69464,7 +69489,7 @@ paths: check. type: array items: *85 - deployment: &730 + deployment: &737 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71102,14 +71127,14 @@ paths: - *337 - *338 - *420 - - &473 + - &475 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &474 + - &476 name: status description: Returns check runs with the specified `status`. in: query @@ -71150,7 +71175,7 @@ paths: type: array items: *414 examples: - default: &475 + default: &477 value: total_count: 1 check_runs: @@ -71269,6 +71294,250 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - *337 + - *338 + - *17 + - *60 + - *45 + - *46 + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &421 + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect + the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect + the finding. + type: string + help: + description: A detailed description of the rule used to + detect the finding. + type: string + severity: + description: The severity of the rule used to detect the + finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the + finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding + in markdown format. + type: string + required: + - text + - markdown + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message + examples: + default: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': &422 + description: Response if the user is not authorized to access Code quality + for this repository. + content: + application/json: + schema: *3 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - *337 + - *338 + - name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *421 + examples: + default: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': *422 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -71356,12 +71625,7 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': - description: Response if the user is not authorized to access Code quality - for this repository. - content: - application/json: - schema: *3 + '403': *422 '404': *6 '503': *114 x-github: @@ -71515,19 +71779,19 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - &439 + - &441 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *423 - - &440 + schema: *425 + - &442 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71552,13 +71816,13 @@ paths: be returned. in: query required: false - schema: *424 + schema: *426 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *425 + schema: *427 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -71582,7 +71846,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -71590,11 +71854,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 - rule: *429 - tool: *430 - most_recent_instance: *431 + dismissed_reason: *429 + dismissed_comment: *430 + rule: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -71717,7 +71981,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &432 + '403': &434 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71746,7 +72010,7 @@ paths: parameters: - *337 - *338 - - &433 + - &435 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71760,7 +72024,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &436 type: object properties: number: *180 @@ -71768,7 +72032,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -71776,8 +72040,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 rule: type: object properties: @@ -71839,8 +72103,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *430 - most_recent_instance: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -71936,7 +72200,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -71958,7 +72222,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -71973,8 +72237,8 @@ paths: enum: - open - dismissed - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72002,7 +72266,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: default: value: @@ -72078,7 +72342,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &438 + '403': &440 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72107,13 +72371,13 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: Response content: application/json: - schema: &435 + schema: &437 type: object properties: status: @@ -72140,13 +72404,13 @@ paths: - description - started_at examples: - default: &436 + default: &438 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &437 + '400': &439 description: Bad Request content: application/json: @@ -72157,7 +72421,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72168,7 +72432,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -72184,27 +72448,27 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: OK content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '202': description: Accepted content: application/json: - schema: *435 + schema: *437 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *437 + '400': *439 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72238,7 +72502,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: false content: @@ -72284,8 +72548,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *437 - '403': *438 + '400': *439 + '403': *440 '404': *6 '422': description: Unprocessable Entity @@ -72311,11 +72575,11 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 - - *439 - - *440 + - *441 + - *442 responses: '200': description: Response @@ -72326,10 +72590,10 @@ paths: items: type: object properties: - ref: *423 - analysis_key: *441 - environment: *442 - category: *443 + ref: *425 + analysis_key: *443 + environment: *444 + category: *445 state: type: - string @@ -72346,7 +72610,7 @@ paths: properties: text: type: string - location: *444 + location: *446 html_url: type: string classifications: @@ -72354,7 +72618,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *445 + items: *447 examples: default: value: @@ -72391,7 +72655,7 @@ paths: end_column: 50 classifications: - source - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72427,23 +72691,23 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - *440 + - *442 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *423 + schema: *425 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &446 + schema: &448 type: string description: An identifier for the upload. examples: @@ -72465,23 +72729,23 @@ paths: application/json: schema: type: array - items: &447 + items: &449 type: object properties: - ref: *423 - commit_sha: &455 + ref: *425 + commit_sha: &457 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *441 + analysis_key: *443 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *443 + category: *445 error: type: string examples: @@ -72506,8 +72770,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *446 - tool: *430 + sarif_id: *448 + tool: *432 deletable: type: boolean warning: @@ -72569,7 +72833,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72619,7 +72883,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: response: summary: application/json response @@ -72673,7 +72937,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *432 + '403': *434 '404': *6 '422': description: Response if analysis could not be processed @@ -72817,7 +73081,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -72848,7 +73112,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: CodeQL Database description: A CodeQL database. type: object @@ -72960,7 +73224,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73002,7 +73266,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -73034,9 +73298,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &482 + '302': &484 description: Found - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73069,7 +73333,7 @@ paths: responses: '204': description: Response - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -73107,7 +73371,7 @@ paths: type: object additionalProperties: false properties: - language: &449 + language: &451 type: string description: The language targeted by the CodeQL query enum: @@ -73187,7 +73451,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &453 + schema: &455 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73197,7 +73461,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *449 + query_language: *451 query_pack_url: type: string description: The download url for the query pack. @@ -73245,7 +73509,7 @@ paths: items: type: object properties: - repository: &450 + repository: &452 title: Repository Identifier description: Repository Identifier type: object @@ -73287,7 +73551,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &454 + analysis_status: &456 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73319,7 +73583,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &451 + access_mismatch_repos: &453 type: object properties: repository_count: @@ -73334,7 +73598,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *450 + items: *452 required: - repository_count - repositories @@ -73357,8 +73621,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *451 - over_limit_repos: *451 + no_codeql_db_repos: *453 + over_limit_repos: *453 required: - access_mismatch_repos - not_found_repos @@ -73374,7 +73638,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &452 + value: &454 summary: Default response value: id: 1 @@ -73520,10 +73784,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *452 + value: *454 repository_lists: summary: Response for a successful variant analysis submission - value: *452 + value: *454 '404': *6 '422': description: Unable to process variant analysis submission @@ -73564,9 +73828,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *452 + default: *454 '404': *6 '503': *114 x-github: @@ -73624,7 +73888,7 @@ paths: type: object properties: repository: *65 - analysis_status: *454 + analysis_status: *456 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73843,7 +74107,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73959,7 +74223,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *438 + '403': *440 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74039,7 +74303,7 @@ paths: schema: type: object properties: - commit_sha: *455 + commit_sha: *457 ref: type: string description: |- @@ -74099,7 +74363,7 @@ paths: schema: type: object properties: - id: *446 + id: *448 url: type: string description: The REST API URL for checking the status of the upload. @@ -74113,7 +74377,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *438 + '403': *440 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74185,7 +74449,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *432 + '403': *434 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -74803,7 +75067,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74811,7 +75075,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '400': *14 '401': *23 '403': *27 @@ -74943,9 +75207,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: &674 + default: &681 value: total_count: 2 machines: @@ -75162,7 +75426,7 @@ paths: type: integer secrets: type: array - items: &461 + items: &463 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75183,7 +75447,7 @@ paths: - created_at - updated_at examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -75213,9 +75477,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75243,9 +75507,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75388,7 +75652,7 @@ paths: application/json: schema: type: array - items: &463 + items: &465 title: Collaborator description: Collaborator type: object @@ -75657,7 +75921,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &532 + schema: &534 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75940,7 +76204,7 @@ paths: user: anyOf: - type: 'null' - - *463 + - *465 required: - permission - role_name @@ -76005,7 +76269,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Commit Comment description: Commit Comment type: object @@ -76063,7 +76327,7 @@ paths: - created_at - updated_at examples: - default: &469 + default: &471 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76130,9 +76394,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &470 + default: &472 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76213,7 +76477,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -76315,7 +76579,7 @@ paths: application/json: schema: type: array - items: &465 + items: &467 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -76359,7 +76623,7 @@ paths: - content - created_at examples: - default: &536 + default: &538 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76438,9 +76702,9 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: &466 + default: &468 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76469,9 +76733,9 @@ paths: description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -76496,7 +76760,7 @@ paths: - *337 - *338 - *96 - - &537 + - &539 name: reaction_id description: The unique identifier of the reaction. in: path @@ -76608,9 +76872,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: &584 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76706,7 +76970,7 @@ paths: parameters: - *337 - *338 - - &468 + - &470 name: commit_sha description: The SHA of the commit. in: path @@ -76780,7 +77044,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -76790,9 +77054,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *469 + default: *471 headers: Link: *66 x-github: @@ -76822,7 +77086,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 requestBody: required: true content: @@ -76857,9 +77121,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *470 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76889,7 +77153,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -76899,9 +77163,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: &576 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77442,7 +77706,7 @@ paths: - *338 - *19 - *17 - - &472 + - &474 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -77457,9 +77721,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &564 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77547,7 +77811,7 @@ paths: schema: type: string examples: - default: &479 + default: &481 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -77560,7 +77824,7 @@ paths: schema: type: string examples: - default: &480 + default: &482 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -77615,9 +77879,9 @@ paths: parameters: - *337 - *338 - - *472 - - *473 - *474 + - *475 + - *476 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77653,7 +77917,7 @@ paths: type: array items: *414 examples: - default: *475 + default: *477 headers: Link: *66 x-github: @@ -77680,7 +77944,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77688,7 +77952,7 @@ paths: schema: type: integer example: 1 - - *473 + - *475 - *17 - *19 responses: @@ -77908,7 +78172,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -78112,7 +78376,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -78122,7 +78386,7 @@ paths: application/json: schema: type: array - items: &654 + items: &661 title: Status description: The status of a commit. type: object @@ -78265,11 +78529,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *476 + - *478 code_of_conduct_file: anyOf: - type: 'null' - - &477 + - &479 title: Community Health File type: object properties: @@ -78289,19 +78553,19 @@ paths: contributing: anyOf: - type: 'null' - - *477 + - *479 readme: anyOf: - type: 'null' - - *477 + - *479 issue_template: anyOf: - type: 'null' - - *477 + - *479 pull_request_template: anyOf: - type: 'null' - - *477 + - *479 required: - code_of_conduct - code_of_conduct_file @@ -78479,8 +78743,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *467 - merge_base_commit: *467 + base_commit: *469 + merge_base_commit: *469 status: type: string enum: @@ -78504,10 +78768,10 @@ paths: - 6 commits: type: array - items: *467 + items: *469 files: type: array - items: *478 + items: *480 required: - url - html_url @@ -78753,12 +79017,12 @@ paths: schema: type: string examples: - default: *479 + default: *481 application/vnd.github.patch: schema: type: string examples: - default: *480 + default: *482 '404': *6 '500': *53 '503': *114 @@ -78974,7 +79238,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &481 + response-if-content-is-a-file-github-object: &483 summary: Response if content is a file value: type: file @@ -79111,7 +79375,7 @@ paths: - size - type - url - - &589 + - &596 title: Content File description: Content File type: object @@ -79329,7 +79593,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *481 + response-if-content-is-a-file: *483 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79398,7 +79662,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *482 + '302': *484 '304': *35 x-github: githubCloudOnly: false @@ -79517,7 +79781,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &485 title: File Commit description: File Commit type: object @@ -79673,7 +79937,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: example-for-creating-a-file: value: @@ -79727,7 +79991,7 @@ paths: schema: oneOf: - *3 - - &513 + - &515 description: Repository rule violation was detected type: object properties: @@ -79748,7 +80012,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &653 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79842,7 +80106,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -80176,7 +80440,7 @@ paths: schema: type: string - *207 - - *484 + - *486 - *208 - *209 - *210 @@ -80191,7 +80455,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 type: object description: A Dependabot alert. properties: @@ -80242,7 +80506,7 @@ paths: - transitive - inconclusive - - security_advisory: *485 + security_advisory: *487 security_vulnerability: *64 url: *183 html_url: *184 @@ -80273,8 +80537,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *486 - dismissal_request: *487 + auto_dismissed_at: *488 + dismissal_request: *489 assignees: type: array description: The users assigned to this alert. @@ -80531,7 +80795,7 @@ paths: parameters: - *337 - *338 - - &489 + - &491 name: alert_number in: path description: |- @@ -80546,7 +80810,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -80680,7 +80944,7 @@ paths: parameters: - *337 - *338 - - *489 + - *491 requestBody: required: true content: @@ -80737,7 +81001,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -80886,7 +81150,7 @@ paths: type: integer secrets: type: array - items: &492 + items: &494 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80947,9 +81211,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80977,7 +81241,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -81531,7 +81795,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *493 + Location: *495 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -81675,7 +81939,7 @@ paths: - version - url additionalProperties: false - metadata: &494 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81714,7 +81978,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *494 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -81728,7 +81992,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *494 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -81903,9 +82167,9 @@ paths: application/json: schema: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *66 x-github: @@ -82054,7 +82318,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: simple-example: summary: Simple example @@ -82129,7 +82393,7 @@ paths: parameters: - *337 - *338 - - &497 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -82141,7 +82405,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -82208,7 +82472,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 responses: '204': description: Response @@ -82232,7 +82496,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - *17 - *19 responses: @@ -82242,7 +82506,7 @@ paths: application/json: schema: type: array - items: &498 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -82408,7 +82672,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 requestBody: required: true content: @@ -82483,9 +82747,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82543,7 +82807,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - name: status_id in: path required: true @@ -82554,9 +82818,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -82658,7 +82922,7 @@ paths: - 5 environments: type: array - items: &501 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -82720,7 +82984,7 @@ paths: type: string examples: - wait_timer - wait_timer: &503 + wait_timer: &505 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -82762,7 +83026,7 @@ paths: items: type: object properties: - type: *500 + type: *502 reviewer: anyOf: - *4 @@ -82789,7 +83053,7 @@ paths: - id - node_id - type - deployment_branch_policy: &504 + deployment_branch_policy: &506 type: - object - 'null' @@ -82908,7 +83172,7 @@ paths: parameters: - *337 - *338 - - &502 + - &504 name: environment_name in: path required: true @@ -82921,9 +83185,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &505 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83009,7 +83273,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: false content: @@ -83019,7 +83283,7 @@ paths: - object - 'null' properties: - wait_timer: *503 + wait_timer: *505 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -83038,14 +83302,14 @@ paths: items: type: object properties: - type: *500 + type: *502 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *504 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -83065,9 +83329,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *505 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83093,7 +83357,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '204': description: Default response @@ -83120,7 +83384,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -83139,7 +83403,7 @@ paths: - 2 branch_policies: type: array - items: &506 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83202,7 +83466,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -83250,9 +83514,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - example-wildcard: &507 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83296,8 +83560,8 @@ paths: parameters: - *337 - *338 - - *502 - - &508 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -83309,9 +83573,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83332,8 +83596,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 requestBody: required: true content: @@ -83362,9 +83626,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83385,8 +83649,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 responses: '204': description: Response @@ -83411,7 +83675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *502 + - *504 - *338 - *337 responses: @@ -83430,7 +83694,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &509 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -83452,7 +83716,7 @@ paths: for the environment. examples: - true - app: &510 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83555,7 +83819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *502 + - *504 - *338 - *337 requestBody: @@ -83578,9 +83842,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *509 + schema: *511 examples: - default: &511 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83615,7 +83879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - *19 @@ -83637,7 +83901,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *510 + items: *512 examples: default: value: @@ -83674,8 +83938,8 @@ paths: parameters: - *337 - *338 - - *502 - - &512 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83687,9 +83951,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83710,10 +83974,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - - *512 + - *514 responses: '204': description: Response @@ -83741,7 +84005,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -83788,7 +84052,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '200': description: Response @@ -83820,7 +84084,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '200': @@ -83853,7 +84117,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 requestBody: required: true @@ -83913,7 +84177,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '204': @@ -83941,7 +84205,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *172 - *19 responses: @@ -83986,7 +84250,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -84040,7 +84304,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *166 responses: '200': @@ -84073,7 +84337,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 requestBody: required: true content: @@ -84118,7 +84382,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 responses: '204': description: Response @@ -84487,7 +84751,7 @@ paths: schema: oneOf: - *124 - - *513 + - *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84723,7 +84987,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84952,13 +85216,13 @@ paths: parameters: - *337 - *338 - - *468 + - *470 responses: '200': description: Response content: application/json: - schema: *514 + schema: *516 examples: default: value: @@ -85016,7 +85280,7 @@ paths: parameters: - *337 - *338 - - &515 + - &517 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -85033,7 +85297,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Git Reference description: Git references within a repository type: object @@ -85111,15 +85375,15 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85178,9 +85442,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85208,7 +85472,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 requestBody: required: true content: @@ -85237,9 +85501,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 '422': *15 '409': *52 x-github: @@ -85259,7 +85523,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '204': description: Response @@ -85382,7 +85646,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &521 title: Git Tag description: Metadata for a Git tag type: object @@ -85438,7 +85702,7 @@ paths: - sha - type - url - verification: *518 + verification: *520 required: - sha - url @@ -85448,7 +85712,7 @@ paths: - tag - message examples: - default: &520 + default: &522 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85533,9 +85797,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 '404': *6 '409': *52 x-github: @@ -85634,7 +85898,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &523 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85760,7 +86024,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default-response: summary: Default response @@ -85874,7 +86138,7 @@ paths: application/json: schema: type: array - items: &522 + items: &524 title: Webhook description: Webhooks for repositories. type: object @@ -85937,7 +86201,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &768 title: Hook Response type: object properties: @@ -86068,9 +86332,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: &523 + default: &525 value: type: Repository id: 12345678 @@ -86126,9 +86390,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -86195,9 +86459,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '422': *15 '404': *6 x-github: @@ -86595,7 +86859,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 title: Import description: A repository import from an external source. type: object @@ -86702,7 +86966,7 @@ paths: - html_url - authors_url examples: - default: &527 + default: &529 value: vcs: subversion use_lfs: true @@ -86718,7 +86982,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &525 + '503': &527 description: Unavailable due to service under maintenance. content: application/json: @@ -86796,7 +87060,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -86821,7 +87085,7 @@ paths: type: string '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86902,7 +87166,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: example-1: summary: Example 1 @@ -86950,7 +87214,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86978,7 +87242,7 @@ paths: responses: '204': description: Response - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87006,7 +87270,7 @@ paths: parameters: - *337 - *338 - - &695 + - &702 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87020,7 +87284,7 @@ paths: application/json: schema: type: array - items: &526 + items: &528 title: Porter Author description: Porter Author type: object @@ -87074,7 +87338,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87130,7 +87394,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -87143,7 +87407,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87209,7 +87473,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87265,11 +87529,11 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *527 + default: *529 '422': *15 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87301,7 +87565,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 '301': *341 '404': *6 x-github: @@ -87336,7 +87600,7 @@ paths: properties: {} additionalProperties: false examples: - default: &530 + default: &532 value: limit: collaborators_only origin: repository @@ -87367,7 +87631,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: summary: Example request body @@ -87381,7 +87645,7 @@ paths: application/json: schema: *237 examples: - default: *530 + default: *532 '409': description: Response x-github: @@ -87492,7 +87756,7 @@ paths: required: true content: application/json: - schema: &531 + schema: &533 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -87548,7 +87812,7 @@ paths: required: true content: application/json: - schema: *531 + schema: *533 examples: default: summary: Example request body @@ -87589,9 +87853,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &688 + default: &695 value: - id: 1 repository: @@ -87753,7 +88017,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: default: value: @@ -87920,7 +88184,7 @@ paths: type: array items: *245 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -88037,7 +88301,7 @@ paths: type: array items: *82 examples: - default: &542 + default: &545 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88333,7 +88597,7 @@ paths: application/json: schema: *82 examples: - default: &539 + default: &542 value: id: 1 node_id: MDU6SXNzdWUx @@ -88490,7 +88754,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -88542,7 +88806,7 @@ paths: type: array items: *83 examples: - default: &541 + default: &544 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88572,6 +88836,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: headers: Link: *66 '422': *15 @@ -88610,7 +88875,7 @@ paths: application/json: schema: *83 examples: - default: &535 + default: &537 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88641,6 +88906,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: '404': *6 x-github: githubCloudOnly: false @@ -88691,7 +88957,7 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 '422': *15 x-github: githubCloudOnly: false @@ -88803,7 +89069,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -88829,7 +89095,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '503': *114 x-github: githubCloudOnly: false @@ -88875,9 +89141,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -88932,16 +89198,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -88966,7 +89232,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -88997,7 +89263,7 @@ paths: application/json: schema: type: array - items: &538 + items: &541 title: Issue Event description: Issue Event type: object @@ -89144,6 +89410,38 @@ paths: required: - from - to + issue_type: &540 + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name + prev_issue_type: *540 author_association: *79 lock_reason: type: @@ -89349,7 +89647,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *541 examples: default: value: @@ -89542,7 +89840,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *534 + '410': *536 '403': *27 x-github: githubCloudOnly: false @@ -89578,7 +89876,7 @@ paths: parameters: - *337 - *338 - - &540 + - &543 name: issue_number description: The number that identifies the issue. in: path @@ -89594,7 +89892,7 @@ paths: examples: default: summary: Issue - value: *539 + value: *542 pinned_comment: summary: Issue with pinned comment value: @@ -89795,7 +90093,7 @@ paths: state_reason: completed '301': *341 '404': *6 - '410': *534 + '410': *536 '304': *35 x-github: githubCloudOnly: false @@ -89822,7 +90120,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -89965,15 +90263,19 @@ paths: description: Response content: application/json: - schema: *82 + schema: + allOf: + - *82 + - type: object + properties: {} examples: - default: *539 + default: *542 '422': *15 '503': *114 '403': *27 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89993,7 +90295,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -90021,7 +90323,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90039,7 +90341,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: content: application/json: @@ -90066,7 +90368,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90090,7 +90392,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: assignee in: path required: true @@ -90132,7 +90434,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *87 - *17 - *19 @@ -90145,11 +90447,11 @@ paths: type: array items: *83 examples: - default: *541 + default: *544 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90180,7 +90482,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -90204,14 +90506,14 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -90241,7 +90543,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -90253,12 +90555,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90288,7 +90590,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -90312,7 +90614,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -90320,7 +90622,7 @@ paths: type: string '301': *341 '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -90353,7 +90655,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90367,13 +90669,13 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -90401,7 +90703,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -90413,12 +90715,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90437,7 +90739,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -90451,7 +90753,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &546 + - &549 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90500,7 +90802,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &550 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90628,7 +90930,7 @@ paths: - performed_via_github_app - assignee - assigner - - &548 + - &551 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90674,7 +90976,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &552 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90720,7 +91022,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &553 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90769,7 +91071,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &554 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90811,7 +91113,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &555 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90853,7 +91155,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &556 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90909,7 +91211,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &557 title: Locked Issue Event description: Locked Issue Event type: object @@ -90954,7 +91256,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91015,7 +91317,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &559 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91076,7 +91378,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91137,7 +91439,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91195,6 +91497,128 @@ paths: - commit_url - created_at - performed_via_github_app + - &564 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &565 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + prev_issue_type: *540 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &566 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + prev_issue_type: *540 + 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: @@ -91230,7 +91654,7 @@ paths: color: red headers: Link: *66 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91249,7 +91673,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91259,15 +91683,17 @@ paths: application/json: schema: type: array - items: *543 + items: *546 examples: - default: &544 + default: &547 value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -91276,14 +91702,17 @@ paths: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -91298,7 +91727,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91329,7 +91758,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91401,9 +91830,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -91441,7 +91870,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91508,9 +91937,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -91543,7 +91972,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *244 responses: '204': @@ -91571,7 +92000,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91583,7 +92012,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &548 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91603,7 +92032,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91621,7 +92050,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91666,10 +92095,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -91688,7 +92117,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91750,10 +92179,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -91772,13 +92201,13 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91799,7 +92228,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: name in: path required: true @@ -91825,7 +92254,7 @@ paths: default: true '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91847,7 +92276,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91876,7 +92305,7 @@ paths: '204': description: Response '403': *27 - '410': *534 + '410': *536 '404': *6 '422': *15 x-github: @@ -91896,7 +92325,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response @@ -91928,7 +92357,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '200': description: Response @@ -91936,10 +92365,10 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91958,7 +92387,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - 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. @@ -91984,13 +92413,13 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92010,7 +92439,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92042,16 +92471,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -92075,8 +92504,8 @@ paths: parameters: - *337 - *338 - - *540 - - *537 + - *543 + - *539 responses: '204': description: Response @@ -92107,7 +92536,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92131,7 +92560,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92166,7 +92595,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -92178,11 +92607,11 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92212,7 +92641,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92241,14 +92670,14 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -92270,7 +92699,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92303,7 +92732,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '403': *27 '404': *6 '422': *7 @@ -92327,7 +92756,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -92342,9 +92771,6 @@ paths: description: Timeline Event type: object anyOf: - - *546 - - *547 - - *548 - *549 - *550 - *551 @@ -92355,6 +92781,9 @@ paths: - *556 - *557 - *558 + - *559 + - *560 + - *561 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92411,7 +92840,11 @@ paths: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - event - actor @@ -92687,7 +93120,7 @@ paths: type: string comments: type: array - items: &578 + items: &585 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92928,7 +93361,7 @@ paths: type: string comments: type: array - items: *464 + items: *466 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93048,6 +93481,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *564 + - *565 + - *566 examples: default: value: @@ -93203,7 +93639,7 @@ paths: headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93231,7 +93667,7 @@ paths: application/json: schema: type: array - items: &560 + items: &567 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93336,9 +93772,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: &561 + default: &568 value: id: 1 key: ssh-rsa AAA... @@ -93374,7 +93810,7 @@ paths: parameters: - *337 - *338 - - &562 + - &569 name: key_id description: The unique identifier of the key. in: path @@ -93386,9 +93822,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: *561 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -93408,7 +93844,7 @@ paths: parameters: - *337 - *338 - - *562 + - *569 responses: '204': description: Response @@ -93441,7 +93877,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 '404': *6 @@ -93501,7 +93937,7 @@ paths: application/json: schema: *81 examples: - default: &563 + default: &570 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93547,7 +93983,7 @@ paths: application/json: schema: *81 examples: - default: *563 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -93699,7 +94135,7 @@ paths: parameters: - *337 - *338 - - *439 + - *441 responses: '200': description: Response @@ -93947,9 +94383,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *467 + schema: *469 examples: - default: *564 + default: *571 '204': description: Response when already merged '404': @@ -94115,7 +94551,7 @@ paths: application/json: schema: *281 examples: - default: &565 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94176,7 +94612,7 @@ paths: parameters: - *337 - *338 - - &566 + - &573 name: milestone_number description: The number that identifies the milestone. in: path @@ -94190,7 +94626,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -94209,7 +94645,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 requestBody: required: false content: @@ -94249,7 +94685,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94267,7 +94703,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 responses: '204': description: Response @@ -94290,7 +94726,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 - *17 - *19 responses: @@ -94302,7 +94738,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 x-github: @@ -94323,10 +94759,10 @@ paths: parameters: - *337 - *338 - - *567 - - *568 + - *574 + - *575 - *87 - - *569 + - *576 - *17 - *19 responses: @@ -94338,7 +94774,7 @@ paths: type: array items: *107 examples: - default: *570 + default: *577 headers: Link: *66 x-github: @@ -94428,7 +94864,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &578 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94572,7 +95008,7 @@ paths: - custom_404 - public examples: - default: &572 + default: &579 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94669,9 +95105,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *578 examples: - default: *572 + default: *579 '422': *15 '409': *52 x-github: @@ -94833,7 +95269,7 @@ paths: application/json: schema: type: array - items: &573 + items: &580 title: Page Build description: Page Build type: object @@ -94980,9 +95416,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: &574 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95042,9 +95478,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: *574 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95175,7 +95611,7 @@ paths: parameters: - *337 - *338 - - &575 + - &582 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95235,7 +95671,7 @@ paths: parameters: - *337 - *338 - - *575 + - *582 responses: '204': *59 '404': *6 @@ -95805,9 +96241,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *576 + default: *583 headers: Link: *66 '304': *35 @@ -95907,7 +96343,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &587 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96141,7 +96577,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *577 + auto_merge: *584 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -96243,7 +96679,7 @@ paths: - merged_by - review_comments examples: - default: &581 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96800,9 +97236,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: &583 + default: &590 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96887,9 +97323,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: &579 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96988,9 +97424,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: *579 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97057,9 +97493,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -97114,16 +97550,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -97148,7 +97584,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -97193,7 +97629,7 @@ paths: parameters: - *337 - *338 - - &582 + - &589 name: pull_number description: The number that identifies the pull request. in: path @@ -97206,9 +97642,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '304': *35 '404': *6 '406': @@ -97245,7 +97681,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -97287,9 +97723,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '422': *15 '403': *27 x-github: @@ -97313,7 +97749,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -97376,7 +97812,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97384,7 +97820,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -97416,7 +97852,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -97437,9 +97873,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: *583 + default: *590 headers: Link: *66 x-github: @@ -97474,7 +97910,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -97580,7 +98016,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: example-for-a-multi-line-comment: value: @@ -97670,7 +98106,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *96 requestBody: required: true @@ -97693,7 +98129,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: default: value: @@ -97781,7 +98217,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -97791,9 +98227,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: *584 + default: *591 headers: Link: *66 x-github: @@ -97825,7 +98261,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -97835,7 +98271,7 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: default: value: @@ -97875,7 +98311,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '204': description: Response if pull request has been merged @@ -97900,7 +98336,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98014,7 +98450,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '200': description: Response @@ -98091,7 +98527,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98128,7 +98564,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -98666,7 +99102,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -98700,7 +99136,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -99207,7 +99643,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -99217,7 +99653,7 @@ paths: application/json: schema: type: array - items: &585 + items: &592 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99375,7 +99811,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -99465,9 +99901,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &587 + default: &594 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99532,8 +99968,8 @@ paths: parameters: - *337 - *338 - - *582 - - &586 + - *589 + - &593 name: review_id description: The unique identifier of the review. in: path @@ -99545,9 +99981,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &588 + default: &595 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99608,8 +100044,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -99632,7 +100068,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -99696,16 +100132,16 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 responses: '200': description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *587 + default: *594 '422': *7 '404': *6 x-github: @@ -99734,8 +100170,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 - *17 - *19 responses: @@ -99995,8 +100431,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -100025,7 +100461,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -100090,8 +100526,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -100126,9 +100562,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *588 + default: *595 '404': *6 '422': *7 '403': *27 @@ -100152,7 +100588,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -100230,9 +100666,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: &590 + default: &597 value: type: file encoding: base64 @@ -100295,9 +100731,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: *590 + default: *597 '404': *6 '422': *15 x-github: @@ -100330,7 +100766,7 @@ paths: application/json: schema: type: array - items: *591 + items: *598 examples: default: value: @@ -100501,9 +100937,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: &595 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100610,7 +101046,7 @@ paths: parameters: - *337 - *338 - - &593 + - &600 name: asset_id description: The unique identifier of the asset. in: path @@ -100622,9 +101058,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: &594 + default: &601 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 @@ -100659,7 +101095,7 @@ paths: type: User site_admin: false '404': *6 - '302': *482 + '302': *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100677,7 +101113,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 requestBody: required: false content: @@ -100706,9 +101142,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: *594 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100726,7 +101162,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 responses: '204': description: Response @@ -100845,9 +101281,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -100879,9 +101315,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -100905,7 +101341,7 @@ paths: parameters: - *337 - *338 - - &596 + - &603 name: release_id description: The unique identifier of the release. in: path @@ -100919,9 +101355,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: *591 + schema: *598 examples: - default: *595 + default: *602 '401': description: Unauthorized x-github: @@ -100941,7 +101377,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: false content: @@ -101005,9 +101441,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': description: Not Found if the discussion category name is invalid content: @@ -101030,7 +101466,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 responses: '204': description: Response @@ -101053,7 +101489,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - *17 - *19 responses: @@ -101063,7 +101499,7 @@ paths: application/json: schema: type: array - items: *592 + items: *599 examples: default: value: @@ -101146,7 +101582,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - name: name in: query required: true @@ -101172,7 +101608,7 @@ paths: description: Response for successful upload content: application/json: - schema: *592 + schema: *599 examples: response-for-successful-upload: value: @@ -101229,7 +101665,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - 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. @@ -101253,9 +101689,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -101278,7 +101714,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: true content: @@ -101308,16 +101744,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -101341,8 +101777,8 @@ paths: parameters: - *337 - *338 - - *596 - - *537 + - *603 + - *539 responses: '204': description: Response @@ -101385,7 +101821,7 @@ paths: oneOf: - allOf: - *302 - - &597 + - &604 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101406,67 +101842,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *597 + - *604 - allOf: - *304 - - *597 + - *604 - allOf: - *305 - - *597 + - *604 - allOf: - - *598 - - *597 + - *605 + - *604 - allOf: - *306 - - *597 + - *604 - allOf: - *307 - - *597 + - *604 - allOf: - *308 - - *597 + - *604 - allOf: - *309 - - *597 + - *604 - allOf: - *310 - - *597 + - *604 - allOf: - *311 - - *597 + - *604 - allOf: - *312 - - *597 + - *604 - allOf: - *313 - - *597 + - *604 - allOf: - *314 - - *597 + - *604 - allOf: - *315 - - *597 + - *604 - allOf: - *320 - - *597 + - *604 - allOf: - *321 - - *597 + - *604 - allOf: - *322 - - *597 + - *604 - allOf: - *316 - - *597 + - *604 - allOf: - *317 - - *597 + - *604 - allOf: - *318 - - *597 + - *604 - allOf: - *319 - - *597 + - *604 examples: default: value: @@ -101517,7 +101953,7 @@ paths: schema: type: boolean default: true - - *599 + - *606 responses: '200': description: Response @@ -101602,7 +102038,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *600 + items: *607 required: - name - enforcement @@ -101635,7 +102071,7 @@ paths: application/json: schema: *323 examples: - default: &611 + default: &618 value: id: 42 name: super cool ruleset @@ -101685,11 +102121,11 @@ paths: parameters: - *337 - *338 - - *601 - - *602 - - *603 - - *604 - - *605 + - *608 + - *609 + - *610 + - *611 + - *612 - *17 - *19 responses: @@ -101697,9 +102133,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *613 examples: - default: *607 + default: *614 '404': *6 '500': *53 x-github: @@ -101722,15 +102158,15 @@ paths: parameters: - *337 - *338 - - *608 + - *615 responses: '200': description: Response content: application/json: - schema: *609 + schema: *616 examples: - default: *610 + default: *617 '404': *6 '500': *53 x-github: @@ -101781,7 +102217,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '500': *53 put: @@ -101834,7 +102270,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *600 + items: *607 examples: default: value: @@ -101864,7 +102300,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '422': *15 '500': *53 @@ -101926,7 +102362,7 @@ paths: type: array items: *326 examples: - default: *612 + default: *619 '404': *6 '500': *53 x-github: @@ -101964,7 +102400,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *620 examples: default: value: @@ -102021,17 +102457,7 @@ paths: parameters: - *337 - *338 - - *614 - - *615 - - *616 - - *617 - - *618 - - *619 - - *620 - *621 - - *60 - - *19 - - *17 - *622 - *623 - *624 @@ -102039,6 +102465,16 @@ paths: - *626 - *627 - *628 + - *60 + - *19 + - *17 + - *629 + - *630 + - *631 + - *632 + - *633 + - *634 + - *635 responses: '200': description: Response @@ -102046,7 +102482,7 @@ paths: application/json: schema: type: array - items: &632 + items: &639 type: object properties: number: *180 @@ -102062,8 +102498,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolved_at: type: - string @@ -102169,7 +102605,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *631 + - *638 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -102330,14 +102766,14 @@ paths: parameters: - *337 - *338 - - *433 - - *627 + - *435 + - *634 responses: '200': description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -102393,7 +102829,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -102401,8 +102837,8 @@ paths: schema: type: object properties: - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102450,7 +102886,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -102551,7 +102987,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 responses: @@ -102562,7 +102998,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &781 + items: &788 type: object properties: type: @@ -102589,19 +103025,19 @@ paths: - commit details: oneOf: - - *633 - - *634 - - *635 - - *636 - - *637 - - *638 - - *639 - *640 - *641 - *642 - *643 - *644 - *645 + - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 examples: default: value: @@ -102696,14 +103132,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &654 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *653 required: - reason - placeholder_id @@ -102720,7 +103156,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *654 expire_at: type: - string @@ -102783,7 +103219,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &655 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102816,15 +103252,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *648 + items: *655 backfill_scans: type: array - items: *648 + items: *655 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *655 - type: object properties: pattern_name: @@ -102837,7 +103273,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *648 + items: *655 examples: default: value: @@ -102947,9 +103383,9 @@ paths: application/json: schema: type: array - items: *649 + items: *656 examples: - default: *650 + default: *657 '400': *14 '404': *6 x-github: @@ -103143,9 +103579,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: &652 + default: &659 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103492,7 +103928,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: default: value: @@ -103641,15 +104077,15 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '200': description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 + default: *659 '403': *27 '404': *6 x-github: @@ -103675,7 +104111,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 requestBody: required: true content: @@ -103846,10 +104282,10 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 - add_credit: *652 + default: *659 + add_credit: *659 '403': *27 '404': *6 '422': @@ -103889,7 +104325,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': *37 '400': *14 @@ -103918,7 +104354,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': description: Response @@ -104059,7 +104495,7 @@ paths: application/json: schema: type: array - items: &653 + items: &660 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104432,7 +104868,7 @@ paths: application/json: schema: type: array - items: *653 + items: *660 examples: default: value: @@ -104522,7 +104958,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *661 examples: default: value: @@ -104616,7 +105052,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &662 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104716,7 +105152,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *662 examples: default: value: @@ -104926,7 +105362,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &663 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104938,7 +105374,7 @@ paths: required: - names examples: - default: &657 + default: &664 value: names: - octocat @@ -104993,9 +105429,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *663 examples: - default: *657 + default: *664 '404': *6 '422': *7 x-github: @@ -105018,7 +105454,7 @@ paths: parameters: - *337 - *338 - - &658 + - &665 name: per description: The time frame to display results for. in: query @@ -105049,7 +105485,7 @@ paths: - 128 clones: type: array - items: &659 + items: &666 title: Traffic type: object properties: @@ -105297,7 +105733,7 @@ paths: parameters: - *337 - *338 - - *658 + - *665 responses: '200': description: Response @@ -105318,7 +105754,7 @@ paths: - 3782 views: type: array - items: *659 + items: *666 required: - uniques - count @@ -106091,7 +106527,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &660 + text_matches: &667 title: Search Result Text Matches type: array items: @@ -106254,7 +106690,7 @@ paths: enum: - author-date - committer-date - - &661 + - &668 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 @@ -106342,7 +106778,7 @@ paths: url: type: string format: uri - verification: *518 + verification: *520 required: - author - committer @@ -106374,7 +106810,7 @@ paths: type: number node_id: type: string - text_matches: *660 + text_matches: *667 required: - sha - node_id @@ -106566,7 +107002,7 @@ paths: - interactions - created - updated - - *661 + - *668 - *17 - *19 - name: advanced_search @@ -106680,11 +107116,11 @@ paths: type: - string - 'null' - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: type: string state_reason: @@ -106712,7 +107148,7 @@ paths: - string - 'null' format: date-time - text_matches: *660 + text_matches: *667 pull_request: type: object properties: @@ -106988,7 +107424,7 @@ paths: enum: - created - updated - - *661 + - *668 - *17 - *19 responses: @@ -107033,7 +107469,7 @@ paths: - 'null' score: type: number - text_matches: *660 + text_matches: *667 required: - id - node_id @@ -107118,7 +107554,7 @@ paths: - forks - help-wanted-issues - updated - - *661 + - *668 - *17 - *19 responses: @@ -107364,7 +107800,7 @@ paths: - admin - pull - push - text_matches: *660 + text_matches: *667 temp_clone_token: type: string allow_merge_commit: @@ -107672,7 +108108,7 @@ paths: - string - 'null' format: uri - text_matches: *660 + text_matches: *667 related: type: - array @@ -107865,7 +108301,7 @@ paths: - followers - repositories - joined - - *661 + - *668 - *17 - *19 responses: @@ -107975,7 +108411,7 @@ paths: type: - boolean - 'null' - text_matches: *660 + text_matches: *667 blog: type: - string @@ -108057,7 +108493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &664 + - &671 name: team_id description: The unique identifier of the team. in: path @@ -108098,7 +108534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *664 + - *671 requestBody: required: true content: @@ -108199,7 +108635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *664 + - *671 responses: '204': description: Response @@ -108228,7 +108664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -108266,7 +108702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *664 + - *671 - name: role description: Filters members returned by their role in the team. in: query @@ -108317,7 +108753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -108354,7 +108790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -108394,7 +108830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -108431,7 +108867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '200': @@ -108440,7 +108876,7 @@ paths: application/json: schema: *336 examples: - response-if-user-is-a-team-maintainer: *665 + response-if-user-is-a-team-maintainer: *672 '404': *6 x-github: githubCloudOnly: false @@ -108473,7 +108909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 requestBody: required: false @@ -108501,7 +108937,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *666 + response-if-users-membership-with-team-is-now-pending: *673 '403': description: Forbidden if team synchronization is set up '422': @@ -108535,7 +108971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -108563,7 +108999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -108605,7 +109041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -108613,7 +109049,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *667 + schema: *674 examples: alternative-response-with-extra-repository-information: value: @@ -108764,7 +109200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *664 + - *671 - *337 - *338 requestBody: @@ -108816,7 +109252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -108843,7 +109279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -108855,7 +109291,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *668 + response-if-child-teams-exist: *675 headers: Link: *66 '404': *6 @@ -108888,7 +109324,7 @@ paths: application/json: schema: oneOf: - - &670 + - &677 title: Private User description: Private User type: object @@ -109138,7 +109574,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *669 + - *676 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -109298,7 +109734,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *677 examples: default: value: @@ -109644,7 +110080,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -109652,7 +110088,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -109696,7 +110132,7 @@ paths: type: integer secrets: type: array - items: &671 + items: &678 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109738,7 +110174,7 @@ paths: - visibility - selected_repositories_url examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -109816,7 +110252,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *678 examples: default: value: @@ -110114,7 +110550,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '401': *23 @@ -110172,7 +110608,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -110229,7 +110665,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &679 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110282,7 +110718,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &673 + default: &680 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110327,9 +110763,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *679 examples: - default: *673 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -110366,9 +110802,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: *674 + default: *681 '304': *35 '500': *53 '401': *23 @@ -110457,7 +110893,7 @@ paths: machine: anyOf: - type: 'null' - - *457 + - *459 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -111262,7 +111698,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '400': *14 @@ -111302,7 +111738,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '500': *53 '401': *23 '403': *27 @@ -111334,7 +111770,7 @@ paths: type: array items: *262 examples: - default: &685 + default: &692 value: - id: 197 name: hello_docker @@ -111435,7 +111871,7 @@ paths: application/json: schema: type: array - items: &675 + items: &682 title: Email description: Email type: object @@ -111505,9 +111941,9 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: - default: &687 + default: &694 value: - email: octocat@github.com verified: true @@ -111584,7 +112020,7 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: default: value: @@ -111842,7 +112278,7 @@ paths: application/json: schema: type: array - items: &676 + items: &683 title: GPG Key description: A unique encryption key type: object @@ -111987,7 +112423,7 @@ paths: - subkeys - revoked examples: - default: &704 + default: &711 value: - id: 3 name: Octocat's GPG Key @@ -112072,9 +112508,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *683 examples: - default: &677 + default: &684 value: id: 3 name: Octocat's GPG Key @@ -112131,7 +112567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &678 + - &685 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -112143,9 +112579,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *683 examples: - default: *677 + default: *684 '404': *6 '304': *35 '403': *27 @@ -112168,7 +112604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *678 + - *685 responses: '204': description: Response @@ -112485,7 +112921,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -112635,7 +113071,7 @@ paths: application/json: schema: type: array - items: &679 + items: &686 title: Key description: Key type: object @@ -112738,9 +113174,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *686 examples: - default: &680 + default: &687 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112773,15 +113209,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '200': description: Response content: application/json: - schema: *679 + schema: *686 examples: - default: *680 + default: *687 '404': *6 '304': *35 '403': *27 @@ -112804,7 +113240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '204': description: Response @@ -112837,7 +113273,7 @@ paths: application/json: schema: type: array - items: &681 + items: &688 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112916,7 +113352,7 @@ paths: - account - plan examples: - default: &682 + default: &689 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112978,9 +113414,9 @@ paths: application/json: schema: type: array - items: *681 + items: *688 examples: - default: *682 + default: *689 headers: Link: *66 '304': *35 @@ -113998,7 +114434,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *683 + - *690 responses: '204': description: Response @@ -114113,7 +114549,7 @@ paths: - docker - nuget - container - - *684 + - *691 - *19 - *17 responses: @@ -114125,8 +114561,8 @@ paths: type: array items: *262 examples: - default: *685 - '400': *686 + default: *692 + '400': *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114155,7 +114591,7 @@ paths: application/json: schema: *262 examples: - default: &705 + default: &712 value: id: 40201 name: octo-name @@ -114517,9 +114953,9 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: - default: *687 + default: *694 headers: Link: *66 '304': *35 @@ -114632,7 +115068,7 @@ paths: type: array items: *78 examples: - default: &694 + default: &701 summary: Default response value: - id: 1296269 @@ -114990,9 +115426,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: *688 + default: *695 headers: Link: *66 '304': *35 @@ -115071,7 +115507,7 @@ paths: application/json: schema: type: array - items: &689 + items: &696 title: Social account description: Social media account type: object @@ -115088,7 +115524,7 @@ paths: - provider - url examples: - default: &690 + default: &697 value: - provider: twitter url: https://twitter.com/github @@ -115151,9 +115587,9 @@ paths: application/json: schema: type: array - items: *689 + items: *696 examples: - default: *690 + default: *697 '422': *15 '304': *35 '404': *6 @@ -115241,7 +115677,7 @@ paths: application/json: schema: type: array - items: &691 + items: &698 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115261,7 +115697,7 @@ paths: - title - created_at examples: - default: &722 + default: &729 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115326,9 +115762,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *698 examples: - default: &692 + default: &699 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -115358,7 +115794,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: - - &693 + - &700 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115370,9 +115806,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *698 examples: - default: *692 + default: *699 '404': *6 '304': *35 '403': *27 @@ -115395,7 +115831,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: - - *693 + - *700 responses: '204': description: Response @@ -115424,7 +115860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &723 + - &730 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 @@ -115449,11 +115885,11 @@ paths: type: array items: *78 examples: - default-response: *694 + default-response: *701 application/vnd.github.v3.star+json: schema: type: array - items: &724 + items: &731 title: Starred Repository description: Starred Repository type: object @@ -115822,10 +116258,10 @@ paths: application/json: schema: oneOf: - - *670 - - *669 + - *677 + - *676 examples: - default-response: &698 + default-response: &705 summary: Default response value: login: octocat @@ -115860,7 +116296,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &699 + response-with-git-hub-plan-information: &706 summary: Response with GitHub plan information value: login: octocat @@ -115917,7 +116353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &696 + - &703 name: user_id description: The unique identifier of the user. in: path @@ -115983,7 +116419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *695 + - *702 - *17 responses: '200': @@ -116018,7 +116454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *696 + - *703 - *280 requestBody: required: true @@ -116093,7 +116529,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *697 + schema: *704 examples: table_view: summary: Response for creating a table view @@ -116145,11 +116581,11 @@ paths: application/json: schema: oneOf: - - *670 - - *669 + - *677 + - *676 examples: - default-response: *698 - response-with-git-hub-plan-information: *699 + default-response: *705 + response-with-git-hub-plan-information: *706 '404': *6 x-github: githubCloudOnly: false @@ -116199,8 +116635,8 @@ paths: required: - subject_digests examples: - default: *700 - withPredicateType: *701 + default: *707 + withPredicateType: *708 responses: '200': description: Response @@ -116254,7 +116690,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *702 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116743,7 +117179,7 @@ paths: application/json: schema: *196 examples: - default: &703 + default: &710 summary: Example response for a user copilot space value: id: 42 @@ -116844,7 +117280,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 x-github: @@ -116970,7 +117406,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 '422': *15 @@ -117738,7 +118174,7 @@ paths: type: array items: *262 examples: - default: *685 + default: *692 '403': *27 '401': *23 x-github: @@ -118122,9 +118558,9 @@ paths: application/json: schema: type: array - items: *676 + items: *683 examples: - default: *704 + default: *711 headers: Link: *66 x-github: @@ -118228,7 +118664,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118353,7 +118789,7 @@ paths: - docker - nuget - container - - *684 + - *691 - *70 - *19 - *17 @@ -118366,10 +118802,10 @@ paths: type: array items: *262 examples: - default: *685 + default: *692 '403': *27 '401': *23 - '400': *686 + '400': *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118399,7 +118835,7 @@ paths: application/json: schema: *262 examples: - default: *705 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118748,7 +119184,7 @@ paths: type: array items: *283 examples: - default: *706 + default: *713 headers: Link: *66 '304': *35 @@ -118808,7 +119244,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *707 + items: *714 required: - name - data_type @@ -118824,7 +119260,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *708 + iteration_configuration: *715 required: - name - data_type @@ -118846,8 +119282,8 @@ paths: value: name: Due date data_type: date - single_select_field: *709 - iteration_field: *710 + single_select_field: *716 + iteration_field: *717 responses: '201': description: Response @@ -118855,11 +119291,11 @@ paths: application/json: schema: *283 examples: - text_field: *711 - number_field: *712 - date_field: *713 - single_select_field: *714 - iteration_field: *715 + text_field: *718 + number_field: *719 + date_field: *720 + single_select_field: *721 + iteration_field: *722 '304': *35 '403': *27 '401': *23 @@ -118881,7 +119317,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *716 + - *723 - *70 responses: '200': @@ -118890,7 +119326,7 @@ paths: application/json: schema: *283 examples: - default: *717 + default: *724 headers: Link: *66 '304': *35 @@ -119247,7 +119683,7 @@ paths: parameters: - *280 - *70 - - *718 + - *725 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -119786,7 +120222,7 @@ paths: parameters: - *70 - *116 - - *719 + - *726 - *118 responses: '200': @@ -119885,9 +120321,9 @@ paths: - *116 - *117 - *118 - - *720 + - *727 - *121 - - *721 + - *728 responses: '200': description: Response when getting a billing usage summary @@ -120021,9 +120457,9 @@ paths: application/json: schema: type: array - items: *689 + items: *696 examples: - default: *690 + default: *697 headers: Link: *66 x-github: @@ -120053,9 +120489,9 @@ paths: application/json: schema: type: array - items: *691 + items: *698 examples: - default: *722 + default: *729 headers: Link: *66 x-github: @@ -120080,7 +120516,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *723 + - *730 - *60 - *17 - *19 @@ -120092,11 +120528,11 @@ paths: schema: anyOf: - type: array - items: *724 + items: *731 - type: array items: *78 examples: - default-response: *694 + default-response: *701 headers: Link: *66 x-github: @@ -120256,7 +120692,7 @@ webhooks: type: string enum: - disabled - enterprise: &725 + enterprise: &732 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120325,7 +120761,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &726 + installation: &733 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120346,7 +120782,7 @@ webhooks: required: - id - node_id - organization: &727 + organization: &734 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120419,7 +120855,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &728 + repository: &735 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -121345,10 +121781,10 @@ webhooks: type: string enum: - enabled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -121424,11 +121860,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: &729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: &736 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) @@ -121651,11 +122087,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -121843,11 +122279,11 @@ webhooks: - everyone required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -121931,7 +122367,7 @@ webhooks: type: string enum: - completed - check_run: &731 + check_run: &738 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122041,7 +122477,7 @@ webhooks: - examples: - neutral - deployment: *730 + deployment: *737 details_url: type: string examples: @@ -122139,10 +122575,10 @@ webhooks: - output - app - pull_requests - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -122533,11 +122969,11 @@ webhooks: type: string enum: - created - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -122931,11 +123367,11 @@ webhooks: type: string enum: - requested_action - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 requested_action: description: The action requested by the user. type: object @@ -123338,11 +123774,11 @@ webhooks: type: string enum: - rerequested - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -124327,10 +124763,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -125044,10 +125480,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -125755,10 +126191,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -125927,7 +126363,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126079,20 +126515,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &732 + commit_oid: &739 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: *725 - installation: *726 - organization: *727 - ref: &733 + enterprise: *732 + installation: *733 + organization: *734 + ref: &740 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: *728 + repository: *735 sender: *4 required: - action @@ -126259,7 +126695,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126500,12 +126936,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -126603,7 +127039,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126788,12 +127224,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -126962,7 +127398,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127139,12 +127575,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -127245,7 +127681,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127434,9 +127870,9 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -127444,7 +127880,7 @@ webhooks: type: - string - 'null' - repository: *728 + repository: *735 sender: *4 required: - action @@ -127543,7 +127979,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127690,12 +128126,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -127864,7 +128300,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128016,10 +128452,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -128279,10 +128715,10 @@ webhooks: - updated_at - author_association - body - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -128363,18 +128799,18 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *727 - pusher_type: &734 + organization: *734 + pusher_type: &741 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &735 + ref: &742 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -128384,7 +128820,7 @@ webhooks: enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -128467,9 +128903,9 @@ webhooks: enum: - created definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128554,9 +128990,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128634,9 +129070,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128714,9 +129150,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128793,10 +129229,10 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - repository: *728 - organization: *727 + enterprise: *732 + installation: *733 + repository: *735 + organization: *734 sender: *4 new_property_values: type: array @@ -128881,18 +129317,18 @@ webhooks: title: delete event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - pusher_type: *734 - ref: *735 + enterprise: *732 + installation: *733 + organization: *734 + pusher_type: *741 + ref: *742 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -128972,11 +129408,11 @@ webhooks: type: string enum: - assignees_changed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129056,11 +129492,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129141,11 +129577,11 @@ webhooks: type: string enum: - auto_reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129226,11 +129662,11 @@ webhooks: type: string enum: - created - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129309,11 +129745,11 @@ webhooks: type: string enum: - dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129392,11 +129828,11 @@ webhooks: type: string enum: - fixed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129476,11 +129912,11 @@ webhooks: type: string enum: - reintroduced - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129559,11 +129995,11 @@ webhooks: type: string enum: - reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129640,9 +130076,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - key: &736 + enterprise: *732 + installation: *733 + key: &743 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129680,8 +130116,8 @@ webhooks: - verified - created_at - read_only - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -129758,11 +130194,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - key: *736 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + key: *743 + organization: *734 + repository: *735 sender: *4 required: - action @@ -130329,12 +130765,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: &740 + workflow: &747 title: Workflow type: - object @@ -131085,13 +131521,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *495 + - *497 pull_requests: type: array - items: *580 - repository: *728 - organization: *727 - installation: *726 + items: *587 + repository: *735 + organization: *734 + installation: *733 sender: *4 responses: '200': @@ -131162,7 +131598,7 @@ webhooks: type: string enum: - approved - approver: &737 + approver: &744 type: object properties: avatar_url: @@ -131205,11 +131641,11 @@ webhooks: type: string comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: &738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: &745 type: array items: type: object @@ -131290,7 +131726,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &739 + workflow_job_run: &746 type: object properties: conclusion: @@ -132036,18 +132472,18 @@ webhooks: type: string enum: - rejected - approver: *737 + approver: *744 comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: *738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: *745 sender: *4 since: type: string - workflow_job_run: *739 + workflow_job_run: *746 workflow_job_runs: type: array items: @@ -132764,13 +133200,13 @@ webhooks: type: string enum: - requested - enterprise: *725 + enterprise: *732 environment: type: string - installation: *726 - organization: *727 - repository: *728 - requestor: &745 + installation: *733 + organization: *734 + repository: *735 + requestor: &752 title: User type: - object @@ -134703,12 +135139,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Deployment Workflow Run type: @@ -135399,7 +135835,7 @@ webhooks: type: string enum: - answered - answer: &743 + answer: &750 type: object properties: author_association: @@ -135559,11 +135995,11 @@ webhooks: - created_at - updated_at - body - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135690,11 +136126,11 @@ webhooks: - from required: - category - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135777,11 +136213,11 @@ webhooks: type: string enum: - closed - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135863,7 +136299,7 @@ webhooks: type: string enum: - created - comment: &742 + comment: &749 type: object properties: author_association: @@ -136023,11 +136459,11 @@ webhooks: - updated_at - body - reactions - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136110,12 +136546,12 @@ webhooks: type: string enum: - deleted - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136210,12 +136646,12 @@ webhooks: - from required: - body - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136299,11 +136735,11 @@ webhooks: type: string enum: - created - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136385,11 +136821,11 @@ webhooks: type: string enum: - deleted - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136489,11 +136925,11 @@ webhooks: type: string required: - from - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136575,10 +137011,10 @@ webhooks: type: string enum: - labeled - discussion: *741 - enterprise: *725 - installation: *726 - label: &744 + discussion: *748 + enterprise: *732 + installation: *733 + label: &751 title: Label type: object properties: @@ -136611,8 +137047,8 @@ webhooks: - color - default - description - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136695,11 +137131,11 @@ webhooks: type: string enum: - locked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136781,11 +137217,11 @@ webhooks: type: string enum: - pinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136867,11 +137303,11 @@ webhooks: type: string enum: - reopened - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136956,16 +137392,16 @@ webhooks: changes: type: object properties: - new_discussion: *741 - new_repository: *728 + new_discussion: *748 + new_repository: *735 required: - new_discussion - new_repository - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137048,10 +137484,10 @@ webhooks: type: string enum: - unanswered - discussion: *741 - old_answer: *743 - organization: *727 - repository: *728 + discussion: *748 + old_answer: *750 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137133,12 +137569,12 @@ webhooks: type: string enum: - unlabeled - discussion: *741 - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137221,11 +137657,11 @@ webhooks: type: string enum: - unlocked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137307,11 +137743,11 @@ webhooks: type: string enum: - unpinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137384,7 +137820,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *725 + enterprise: *732 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -138062,9 +138498,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - forkee @@ -138210,9 +138646,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pages: description: The pages that were updated. type: array @@ -138250,7 +138686,7 @@ webhooks: - action - sha - html_url - repository: *728 + repository: *735 sender: *4 required: - pages @@ -138326,10 +138762,10 @@ webhooks: type: string enum: - created - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: &746 + organization: *734 + repositories: &753 description: An array of repository objects that the installation can access. type: array @@ -138355,8 +138791,8 @@ webhooks: - name - full_name - private - repository: *728 - requester: *745 + repository: *735 + requester: *752 sender: *4 required: - action @@ -138431,11 +138867,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138512,11 +138948,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138593,10 +139029,10 @@ webhooks: type: string enum: - added - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: &747 + organization: *734 + repositories_added: &754 description: An array of repository objects, which were added to the installation. type: array @@ -138642,15 +139078,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *728 - repository_selection: &748 + repository: *735 + repository_selection: &755 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *745 + requester: *752 sender: *4 required: - action @@ -138729,10 +139165,10 @@ webhooks: type: string enum: - removed - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: *747 + organization: *734 + repositories_added: *754 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -138759,9 +139195,9 @@ webhooks: - name - full_name - private - repository: *728 - repository_selection: *748 - requester: *745 + repository: *735 + repository_selection: *755 + requester: *752 sender: *4 required: - action @@ -138840,11 +139276,11 @@ webhooks: type: string enum: - suspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -139026,10 +139462,10 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 target_type: type: string @@ -139108,11 +139544,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -139278,7 +139714,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 user: title: User type: @@ -139364,8 +139804,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140177,8 +140617,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140539,8 +140979,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -140620,7 +141060,7 @@ webhooks: type: string enum: - deleted - comment: &749 + comment: &756 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -140777,7 +141217,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - url - html_url @@ -140791,8 +141235,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141600,8 +142044,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141964,8 +142408,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -142045,7 +142489,7 @@ webhooks: type: string enum: - edited - changes: &773 + changes: &780 description: The changes to the comment. type: object properties: @@ -142057,9 +142501,9 @@ webhooks: type: string required: - from - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142870,8 +143314,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143232,8 +143676,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -143314,9 +143758,9 @@ webhooks: type: string enum: - pinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144129,8 +144573,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144493,8 +144937,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -144574,9 +145018,9 @@ webhooks: type: string enum: - unpinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145389,8 +145833,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145753,8 +146197,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145843,9 +146287,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145934,9 +146378,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146024,9 +146468,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146115,9 +146559,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146197,10 +146641,10 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - issue: &750 + assignee: *752 + enterprise: *732 + installation: *733 + issue: &757 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147011,11 +147455,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147135,8 +147579,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -147216,8 +147660,8 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148033,11 +148477,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148300,8 +148744,8 @@ webhooks: required: - state - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -148380,8 +148824,8 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149188,11 +149632,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149311,8 +149755,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -149391,8 +149835,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150222,11 +150666,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150324,7 +150768,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &751 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150467,8 +150911,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -150567,8 +151011,8 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151379,11 +151823,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151503,9 +151947,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151585,9 +152029,9 @@ webhooks: type: string enum: - field_added - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was set or updated on the @@ -151753,8 +152197,8 @@ webhooks: - id required: - from - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151834,9 +152278,9 @@ webhooks: type: string enum: - field_removed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -151923,8 +152367,8 @@ webhooks: - 'null' required: - id - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -152004,8 +152448,8 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152815,11 +153259,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152939,9 +153383,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -153021,8 +153465,8 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153857,11 +154301,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153958,8 +154402,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -154038,8 +154482,8 @@ webhooks: type: string enum: - milestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154868,11 +155312,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154969,9 +155413,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *751 - organization: *727 - repository: *728 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -155858,11 +156302,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156454,8 +156898,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157262,11 +157706,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157389,8 +157833,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -157470,9 +157914,9 @@ webhooks: type: string enum: - pinned - enterprise: *725 - installation: *726 - issue: &752 + enterprise: *732 + installation: *733 + issue: &759 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -158277,11 +158721,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158400,8 +158844,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -158480,8 +158924,8 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159314,11 +159758,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159416,8 +159860,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -160305,11 +160749,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160919,11 +161363,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161003,12 +161447,12 @@ webhooks: type: string enum: - typed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161089,7 +161533,7 @@ webhooks: type: string enum: - unassigned - assignee: &776 + assignee: &783 title: User type: - object @@ -161161,11 +161605,11 @@ webhooks: required: - login - id - enterprise: *725 - installation: *726 - issue: *750 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161244,12 +161688,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - issue: *750 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161329,8 +161773,8 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162163,11 +162607,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162264,8 +162708,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162345,11 +162789,11 @@ webhooks: type: string enum: - unpinned - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162428,12 +162872,12 @@ webhooks: type: string enum: - untyped - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162513,11 +162957,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162595,11 +163039,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162709,11 +163153,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162795,9 +163239,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: &753 + enterprise: *732 + installation: *733 + marketplace_purchase: &760 title: Marketplace Purchase type: object required: @@ -162885,8 +163329,8 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: &754 + organization: *734 + previous_marketplace_purchase: &761 title: Marketplace Purchase type: object properties: @@ -162970,7 +163414,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -163050,10 +163494,10 @@ webhooks: - changed effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163141,7 +163585,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -163223,10 +163667,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163312,7 +163756,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -163393,8 +163837,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 marketplace_purchase: title: Marketplace Purchase type: object @@ -163480,9 +163924,9 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -163562,12 +164006,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -163669,11 +164113,11 @@ webhooks: type: string required: - to - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163775,11 +164219,11 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163858,11 +164302,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163940,11 +164384,11 @@ webhooks: type: string enum: - added - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164022,7 +164466,7 @@ webhooks: required: - login - id - team: &755 + team: &762 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164252,11 +164696,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164335,7 +164779,7 @@ webhooks: required: - login - id - team: *755 + team: *762 required: - action - scope @@ -164417,8 +164861,8 @@ webhooks: type: string enum: - checks_requested - installation: *726 - merge_group: &756 + installation: *733 + merge_group: &763 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164444,8 +164888,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164531,10 +164975,10 @@ webhooks: - merged - invalidated - dequeued - installation: *726 - merge_group: *756 - organization: *727 - repository: *728 + installation: *733 + merge_group: *763 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164607,7 +165051,7 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164716,12 +165160,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *726 - organization: *727 + installation: *733 + organization: *734 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -164801,11 +165245,11 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164884,9 +165328,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - milestone: &757 + enterprise: *732 + installation: *733 + milestone: &764 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165028,8 +165472,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165108,11 +165552,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165222,11 +165666,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165306,11 +165750,11 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - milestone: *757 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *764 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165389,11 +165833,11 @@ webhooks: type: string enum: - blocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165472,11 +165916,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165555,9 +165999,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - membership: &758 + enterprise: *732 + installation: *733 + membership: &765 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165667,8 +166111,8 @@ webhooks: - role - organization_url - user - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165746,11 +166190,11 @@ webhooks: type: string enum: - member_added - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165829,8 +166273,8 @@ webhooks: type: string enum: - member_invited - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165952,10 +166396,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 - user: *745 + user: *752 required: - action - invitation @@ -166033,11 +166477,11 @@ webhooks: type: string enum: - member_removed - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166124,11 +166568,11 @@ webhooks: properties: from: type: string - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166205,9 +166649,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -166730,7 +167174,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &766 title: Ruby Gems metadata type: object properties: @@ -166827,7 +167271,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -166903,9 +167347,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -167267,7 +167711,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 source_url: type: string format: uri @@ -167338,7 +167782,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -167518,12 +167962,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *725 + enterprise: *732 id: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - id @@ -167600,7 +168044,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &767 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167750,10 +168194,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *725 - organization: *727 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167830,11 +168274,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167910,11 +168354,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167989,11 +168433,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *727 - enterprise: *725 + personal_access_token_request: *767 + organization: *734 + enterprise: *732 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -168098,7 +168542,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *768 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168130,8 +168574,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 zen: description: Random string of GitHub zen. @@ -168376,10 +168820,10 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: &762 + enterprise: *732 + installation: *733 + organization: *734 + project_card: &769 title: Project Card type: object properties: @@ -168502,7 +168946,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -168583,11 +169027,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -168667,9 +169111,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: title: Project Card type: object @@ -168799,7 +169243,7 @@ webhooks: repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -168893,11 +169337,11 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -168991,9 +169435,9 @@ webhooks: - from required: - column_id - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: allOf: - title: Project Card @@ -169190,7 +169634,7 @@ webhooks: type: string required: - after_id - repository: *728 + repository: *735 sender: *4 required: - action @@ -169270,10 +169714,10 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - organization: *727 - project: &764 + enterprise: *732 + installation: *733 + organization: *734 + project: &771 title: Project type: object properties: @@ -169400,7 +169844,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -169480,10 +169924,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_column: &763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: &770 title: Project Column type: object properties: @@ -169523,7 +169967,7 @@ webhooks: - name - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -169602,14 +170046,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -169698,11 +170142,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -169782,11 +170226,11 @@ webhooks: type: string enum: - moved - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -169866,11 +170310,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -169950,14 +170394,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project: *764 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -170058,11 +170502,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -170141,11 +170585,11 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -170226,8 +170670,8 @@ webhooks: type: string enum: - closed - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170309,8 +170753,8 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170392,8 +170836,8 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170515,8 +170959,8 @@ webhooks: type: string to: type: string - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170600,7 +171044,7 @@ webhooks: type: string enum: - archived - changes: &768 + changes: &775 type: object properties: archived_at: @@ -170616,9 +171060,9 @@ webhooks: - string - 'null' format: date-time - installation: *726 - organization: *727 - projects_v2_item: &765 + installation: *733 + organization: *734 + projects_v2_item: &772 title: Projects v2 Item description: An item belonging to a project type: object @@ -170758,9 +171202,9 @@ webhooks: - 'null' to: type: string - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170842,9 +171286,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170925,9 +171369,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171032,7 +171476,7 @@ webhooks: oneOf: - type: string - type: integer - - &766 + - &773 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171056,7 +171500,7 @@ webhooks: required: - id - name - - &767 + - &774 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171096,8 +171540,8 @@ webhooks: oneOf: - type: string - type: integer - - *766 - - *767 + - *773 + - *774 type: - 'null' - string @@ -171120,9 +171564,9 @@ webhooks: - 'null' required: - body - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171219,9 +171663,9 @@ webhooks: type: - string - 'null' - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171304,10 +171748,10 @@ webhooks: type: string enum: - restored - changes: *768 - installation: *726 - organization: *727 - projects_v2_item: *765 + changes: *775 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171389,8 +171833,8 @@ webhooks: type: string enum: - reopened - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171472,9 +171916,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171555,9 +171999,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171703,9 +172147,9 @@ webhooks: - string - 'null' format: date - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171776,10 +172220,10 @@ webhooks: title: public event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - repository @@ -171856,13 +172300,13 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - number: &770 + assignee: *752 + enterprise: *732 + installation: *733 + number: &777 description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -174233,7 +174677,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -174315,11 +174759,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -176683,7 +177127,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -176765,11 +177209,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -179133,7 +179577,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -179215,13 +179659,13 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: &771 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: &778 allOf: - - *580 + - *587 - type: object properties: allow_auto_merge: @@ -179283,7 +179727,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *728 + repository: *735 sender: *4 required: - action @@ -179364,12 +179808,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -179449,11 +179893,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: &772 + number: *777 + organization: *734 + pull_request: &779 title: Pull Request type: object properties: @@ -181802,7 +182246,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -181881,11 +182325,11 @@ webhooks: type: string enum: - dequeued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -184253,7 +184697,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *728 + repository: *735 sender: *4 required: - action @@ -184377,12 +184821,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -184462,11 +184906,11 @@ webhooks: type: string enum: - enqueued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -186819,7 +187263,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -186899,11 +187343,11 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -189273,7 +189717,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -189354,10 +189798,10 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -191725,7 +192169,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -191805,12 +192249,12 @@ webhooks: type: string enum: - milestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: *772 - repository: *728 + number: *777 + organization: *734 + pull_request: *779 + repository: *735 sender: *4 required: - action @@ -191889,12 +192333,12 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -191975,12 +192419,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -192060,12 +192504,12 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -192440,9 +192884,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -194694,7 +195138,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -194774,7 +195218,7 @@ webhooks: type: string enum: - deleted - comment: &774 + comment: &781 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195067,9 +195511,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -197309,7 +197753,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -197389,11 +197833,11 @@ webhooks: type: string enum: - edited - changes: *773 - comment: *774 - enterprise: *725 - installation: *726 - organization: *727 + changes: *780 + comment: *781 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -199636,7 +200080,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -199717,9 +200161,9 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -201974,7 +202418,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 review: description: The review that was affected. type: object @@ -202225,9 +202669,9 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -204341,8 +204785,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: &775 + repository: *735 + review: &782 description: The review that was affected. type: object properties: @@ -204580,12 +205024,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -206954,7 +207398,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -207040,12 +207484,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -209421,7 +209865,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209616,12 +210060,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -211992,7 +212436,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -212079,12 +212523,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -214446,7 +214890,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214630,9 +215074,9 @@ webhooks: type: string enum: - submitted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -216890,8 +217334,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: *775 + repository: *735 + review: *782 sender: *4 required: - action @@ -216971,9 +217415,9 @@ webhooks: type: string enum: - resolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -219126,7 +219570,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -219523,9 +219967,9 @@ webhooks: type: string enum: - unresolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -221661,7 +222105,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -222060,10 +222504,10 @@ webhooks: type: string before: type: string - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -224420,7 +224864,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -224502,11 +224946,11 @@ webhooks: type: string enum: - unassigned - assignee: *776 - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + assignee: *783 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -226878,7 +227322,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -226957,11 +227401,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -229322,7 +229766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -229403,10 +229847,10 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -231757,7 +232201,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -231960,7 +232404,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *725 + enterprise: *732 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232055,8 +232499,8 @@ webhooks: - url - author - committer - installation: *726 - organization: *727 + installation: *733 + organization: *734 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232655,9 +233099,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -233134,7 +233578,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -233190,7 +233634,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -233268,9 +233712,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -233582,7 +234026,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -233632,7 +234076,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -233709,10 +234153,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - release: &777 + enterprise: *732 + installation: *733 + organization: *734 + release: &784 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234043,7 +234487,7 @@ webhooks: - updated_at - zipball_url - body - repository: *728 + repository: *735 sender: *4 required: - action @@ -234120,11 +234564,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -234241,11 +234685,11 @@ webhooks: type: boolean required: - to - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -234323,9 +234767,9 @@ webhooks: type: string enum: - prereleased - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -234661,7 +235105,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -234737,10 +235181,10 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - release: &778 + enterprise: *732 + installation: *733 + organization: *734 + release: &785 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235073,7 +235517,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -235149,11 +235593,11 @@ webhooks: type: string enum: - released - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -235229,11 +235673,11 @@ webhooks: type: string enum: - unpublished - enterprise: *725 - installation: *726 - organization: *727 - release: *778 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *785 + repository: *735 sender: *4 required: - action @@ -235309,11 +235753,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -235389,11 +235833,11 @@ webhooks: type: string enum: - reported - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -235469,10 +235913,10 @@ webhooks: type: string enum: - archived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235549,10 +235993,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235630,10 +236074,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235718,10 +236162,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235836,10 +236280,10 @@ webhooks: - 'null' items: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235911,10 +236355,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 status: type: string @@ -235995,10 +236439,10 @@ webhooks: type: string enum: - privatized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236075,10 +236519,10 @@ webhooks: type: string enum: - publicized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236172,10 +236616,10 @@ webhooks: - name required: - repository - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236255,10 +236699,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -236337,10 +236781,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -236419,10 +236863,10 @@ webhooks: type: string enum: - edited - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 changes: type: object @@ -236484,16 +236928,16 @@ webhooks: properties: added: type: array - items: *600 + items: *607 deleted: type: array - items: *600 + items: *607 updated: type: array items: type: object properties: - rule: *600 + rule: *607 changes: type: object properties: @@ -236730,10 +237174,10 @@ webhooks: - from required: - owner - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236811,10 +237255,10 @@ webhooks: type: string enum: - unarchived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236892,7 +237336,7 @@ webhooks: type: string enum: - create - alert: &779 + alert: &786 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -237017,10 +237461,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237230,10 +237674,10 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237311,11 +237755,11 @@ webhooks: type: string enum: - reopen - alert: *779 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *786 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237517,10 +237961,10 @@ webhooks: enum: - fixed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237598,7 +238042,7 @@ webhooks: type: string enum: - assigned - alert: &780 + alert: &787 type: object properties: number: *180 @@ -237738,10 +238182,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237819,11 +238263,11 @@ webhooks: type: string enum: - created - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237904,11 +238348,11 @@ webhooks: type: string enum: - created - alert: *780 - installation: *726 - location: *781 - organization: *727 - repository: *728 + alert: *787 + installation: *733 + location: *788 + organization: *734 + repository: *735 sender: *4 required: - location @@ -238146,11 +238590,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238228,11 +238672,11 @@ webhooks: type: string enum: - reopened - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238310,11 +238754,11 @@ webhooks: type: string enum: - resolved - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238392,12 +238836,12 @@ webhooks: type: string enum: - unassigned - alert: *780 + alert: *787 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238475,11 +238919,11 @@ webhooks: type: string enum: - validated - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238609,10 +239053,10 @@ webhooks: - organization - enterprise - - repository: *728 - enterprise: *725 - installation: *726 - organization: *727 + repository: *735 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -238690,11 +239134,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: &782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: &789 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238880,11 +239324,11 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: *782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: *789 sender: *4 required: - action @@ -238957,10 +239401,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -239147,9 +239591,9 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: *340 sender: *4 required: @@ -239228,12 +239672,12 @@ webhooks: type: string enum: - cancelled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: &783 + sponsorship: &790 type: object properties: created_at: @@ -239538,12 +239982,12 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -239631,12 +240075,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -239713,17 +240157,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &784 + effective_date: &791 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: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -239797,7 +240241,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &785 + changes: &792 type: object properties: tier: @@ -239841,13 +240285,13 @@ webhooks: - from required: - tier - effective_date: *784 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + effective_date: *791 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -239924,13 +240368,13 @@ webhooks: type: string enum: - tier_changed - changes: *785 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + changes: *792 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -240004,10 +240448,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240091,10 +240535,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240528,15 +240972,15 @@ webhooks: type: - string - 'null' - enterprise: *725 + enterprise: *732 id: description: The unique identifier of the status. type: integer - installation: *726 + installation: *733 name: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 sha: description: The Commit SHA. @@ -240652,9 +241096,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240743,9 +241187,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240834,9 +241278,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240925,9 +241369,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -241003,12 +241447,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - team: &786 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -241238,9 +241682,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -241710,7 +242154,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -241786,9 +242230,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -242258,7 +242702,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -242335,9 +242779,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -242807,7 +243251,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -242951,9 +243395,9 @@ webhooks: - from required: - permissions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -243423,7 +243867,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - changes @@ -243501,9 +243945,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -243973,7 +244417,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -244049,10 +244493,10 @@ webhooks: type: string enum: - started - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -244125,17 +244569,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *725 + enterprise: *732 inputs: type: - object - 'null' additionalProperties: true - installation: *726 - organization: *727 + installation: *733 + organization: *734 ref: type: string - repository: *728 + repository: *735 sender: *4 workflow: type: string @@ -244217,10 +244661,10 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -244476,7 +244920,7 @@ webhooks: type: string required: - conclusion - deployment: *495 + deployment: *497 required: - action - repository @@ -244555,10 +244999,10 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -244840,7 +245284,7 @@ webhooks: required: - status - steps - deployment: *495 + deployment: *497 required: - action - repository @@ -244919,10 +245363,10 @@ webhooks: type: string enum: - queued - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -245068,7 +245512,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -245147,10 +245591,10 @@ webhooks: type: string enum: - waiting - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -245297,7 +245741,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -245377,12 +245821,12 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -246401,12 +246845,12 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -247410,12 +247854,12 @@ webhooks: type: string enum: - requested - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 6d78c6736e..8fa85a023b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -39260,6 +39260,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -39314,6 +39341,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -43464,6 +43498,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -43518,6 +43579,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -44582,6 +44650,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -62630,6 +62725,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -62684,6 +62806,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -70906,6 +71035,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -70960,6 +71116,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -75110,6 +75273,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -75164,6 +75354,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -76228,6 +76425,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -151978,6 +152202,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -152032,6 +152283,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -156182,6 +156440,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -156236,6 +156521,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -157300,6 +157592,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -174282,6 +174601,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -174336,6 +174682,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -204680,6 +205033,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -204734,6 +205114,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -215873,6 +216260,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -215927,6 +216341,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -345837,17 +346258,17 @@ } } }, - "/repos/{owner}/{repo}/code-quality/setup": { + "/repos/{owner}/{repo}/code-quality/findings": { "get": { - "summary": "Get a code quality setup configuration", - "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-quality" ], - "operationId": "code-quality/get-setup", + "operationId": "code-quality/list-findings-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" }, "parameters": [ { @@ -345867,6 +346288,60 @@ "schema": { "type": "string" } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } } ], "responses": { @@ -345875,92 +346350,669 @@ "content": { "application/json": { "schema": { - "description": "Configuration for code quality setup.", - "type": "object", - "properties": { - "state": { - "description": "Code quality setup has been configured or not.", - "type": "string", - "enum": [ - "configured", - "not-configured" - ] - }, - "languages": { - "description": "Languages to be analyzed.", - "type": "array", - "items": { + "type": "array", + "items": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", "type": "string", "enum": [ - "csharp", - "go", - "java-kotlin", - "javascript-typescript", - "python", - "ruby", - "rust" + "open", + "dismissed" ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" } }, - "runner_type": { - "description": "Runner type to be used.", - "type": [ - "string", - "null" - ], - "enum": [ - "standard", - "labeled", - null - ] - }, - "runner_label": { - "description": "Runner label to be used if the runner type is labeled.", - "type": [ - "string", - "null" - ], - "examples": [ - "code-scanning" - ] - }, - "updated_at": { - "description": "Timestamp of latest configuration update.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2023-12-06T14:20:20.000Z" - ] - }, - "schedule": { - "description": "The frequency of the periodic analysis.", - "type": [ - "string", - "null" - ], - "enum": [ - "weekly", - null - ] - } + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] } }, "examples": { "default": { - "value": { - "state": "configured", - "languages": [ - "javascript-typescript", - "python" - ], - "runner_type": "standard", - "runner_label": null, - "updated_at": "2023-01-01T00:00:00Z", - "schedule": "weekly" - } + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "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": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, + "examples": { + "default": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/setup": { + "get": { + "summary": "Get a code quality setup configuration", + "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-setup", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + }, + "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" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2023-12-06T14:20:20.000Z" + ] + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + }, + "examples": { + "default": { + "value": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + } } } } @@ -349972,7 +351024,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -411341,6 +412393,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -411395,6 +412474,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -415545,6 +416631,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -415599,6 +416712,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -416663,6 +417783,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -444376,6 +445523,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -444430,6 +445604,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -448582,6 +449763,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -448636,6 +449844,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -450200,6 +451415,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -450246,7 +451488,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -451327,6 +452570,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -451372,7 +452642,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -452393,6 +453664,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -452438,7 +453736,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -453537,6 +454836,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -458910,6 +460236,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -458964,6 +460317,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -460194,6 +461554,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -464690,6 +466130,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -464744,6 +466211,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -465974,6 +467448,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -470266,6 +471820,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -470320,6 +471901,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -471135,4404 +472723,4446 @@ "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" + "allOf": [ + { + "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" }, - { - "title": "Simple User", - "description": "A GitHub user.", + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { "type": "object", "properties": { - "name": { + "merged_at": { "type": [ "string", "null" - ] + ], + "format": "date-time", + "nullable": false }, - "email": { + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false + }, + "url": { "type": [ "string", "null" + ], + "format": "uri", + "nullable": false + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "login": { + "node_id": { "type": "string", - "examples": [ - "octocat" + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { "id": { + "description": "Unique identifier of the repository", "type": "integer", "format": "int64", "examples": [ - 1 + 42 ] }, "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "avatar_url": { + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://github.com/octocat/Hello-World" ] }, - "gravatar_id": { + "description": { "type": [ "string", "null" ], "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "This your first repo!" ] }, + "fork": { + "type": "boolean" + }, "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "html_url": { + "archive_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "followers_url": { + "assignees_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "following_url": { + "blobs_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" ] }, - "gists_url": { + "branches_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" ] }, - "starred_url": { + "collaborators_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" ] }, - "subscriptions_url": { + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "organizations_url": { + "deployments_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "http://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "repos_url": { + "downloads_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/downloads" ] }, "events_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/events" ] }, - "received_events_url": { + "forks_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/forks" ] }, - "type": { + "git_commits_url": { "type": "string", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "site_admin": { - "type": "boolean" + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] }, - "starred_at": { + "git_tags_url": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "user_view_type": { + "git_url": { "type": "string", "examples": [ - "public" + "git:github.com/octocat/Hello-World.git" ] - } - }, - "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" - ] - } - ] - }, - "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", - "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", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] - }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { + }, + "issue_comment_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" ] }, - "html_url": { + "issue_events_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" ] }, "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + "http://api.github.com/repos/octocat/Hello-World/languages" ] }, - "id": { - "type": "integer", + "merges_url": { + "type": "string", + "format": "uri", "examples": [ - 1002604 + "http://api.github.com/repos/octocat/Hello-World/merges" ] }, - "node_id": { + "milestones_url": { "type": "string", "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" ] }, - "number": { - "description": "The number of the milestone.", - "type": "integer", + "notifications_url": { + "type": "string", "examples": [ - 42 + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" ] }, - "state": { - "description": "The state of the milestone.", + "pulls_url": { "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", "examples": [ - "open" + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" ] }, - "title": { - "description": "The title of the milestone.", + "releases_url": { "type": "string", "examples": [ - "v1.0" + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" ] }, - "description": { - "type": [ - "string", - "null" - ], + "ssh_url": { + "type": "string", "examples": [ - "Tracking milestone for version 1.0" + "git@github.com:octocat/Hello-World.git" ] }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "open_issues": { - "type": "integer", + "statuses_url": { + "type": "string", "examples": [ - 4 + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "closed_issues": { - "type": "integer", + "subscribers_url": { + "type": "string", + "format": "uri", "examples": [ - 8 + "http://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "created_at": { + "subscription_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-10T20:09:31Z" + "http://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "updated_at": { + "tags_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2014-03-03T18:58:10Z" + "http://api.github.com/repos/octocat/Hello-World/tags" ] }, - "closed_at": { + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { "type": [ "string", "null" ], - "format": "date-time", + "format": "uri", "examples": [ - "2013-02-12T13:22:01Z" + "git:git.example.com/octocat/Hello-World" ] }, - "due_on": { + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { "type": [ "string", "null" ], - "format": "date-time", + "format": "uri", "examples": [ - "2012-10-09T23:39:01Z" + "https://github.com" ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "nullable": false - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { + }, + "language": { "type": [ "string", "null" ] }, - "email": { - "type": [ - "string", - "null" + "forks_count": { + "type": "integer", + "examples": [ + 9 ] }, - "login": { - "type": "string", + "stargazers_count": { + "type": "integer", "examples": [ - "octocat" + 80 ] }, - "id": { + "watchers_count": { "type": "integer", - "format": "int64", "examples": [ - 1 + 80 ] }, - "node_id": { - "type": "string", + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", "examples": [ - "MDQ6VXNlcjE=" + 108 ] }, - "avatar_url": { + "default_branch": { + "description": "The default branch of the repository.", "type": "string", - "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "master" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "open_issues_count": { + "type": "integer", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + 0 ] }, - "url": { - "type": "string", - "format": "uri", + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat" + true ] }, - "html_url": { - "type": "string", - "format": "uri", + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", "examples": [ - "https://github.com/octocat" + true ] }, - "followers_url": { - "type": "string", - "format": "uri", + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/followers" + true ] }, - "following_url": { - "type": "string", + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + true ] }, - "gists_url": { - "type": "string", + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + true ] }, - "starred_url": { - "type": "string", + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + true ] }, - "subscriptions_url": { + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", "type": "string", - "format": "uri", + "enum": [ + "all", + "collaborators_only" + ], "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "all" ] }, - "organizations_url": { - "type": "string", - "format": "uri", + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat/orgs" + "2011-01-26T19:06:43Z" ] }, - "repos_url": { - "type": "string", - "format": "uri", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat/repos" + "2011-01-26T19:01:12Z" ] }, - "events_url": { - "type": "string", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "2011-01-26T19:14:43Z" ] }, - "received_events_url": { - "type": "string", - "format": "uri", + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/received_events" + true ] }, - "type": { - "type": "string", + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "User" + true ] }, - "site_admin": { - "type": "boolean" + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] }, - "starred_at": { + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "\"2020-07-09T00:17:55Z\"" + true ] }, - "user_view_type": { + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "starred_at": { "type": "string", "examples": [ - "public" + "\"2020-07-09T00:17:42Z\"" ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" ] }, - "license": { + "performed_via_github_app": { "anyOf": [ { "type": "null" }, { - "title": "License Simple", - "description": "License Simple", - "type": "object", + "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", + "null" + ], "properties": { - "key": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", "type": "string", "examples": [ - "mit" + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", "type": "string", "examples": [ - "MIT License" + "Probot Owners" ] }, - "url": { + "description": { "type": [ "string", "null" ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", "format": "uri", "examples": [ - "https://api.github.com/licenses/mit" + "https://example.com" ] }, - "spdx_id": { - "type": [ - "string", - "null" - ], + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "MIT" + "https://github.com/apps/super-ci" ] }, - "node_id": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "MDc6TGljZW5zZW1pdA==" + "2017-07-08T16:18:44-04:00" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri" + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ - "key", + "id", + "node_id", + "owner", "name", - "url", - "spdx_id", - "node_id" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] } ] }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" - ] - }, - "homepage": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" ] }, - "updated_at": { + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", "type": [ "string", "null" ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" + "format": "uri" }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" + "pinned_comment": { + "anyOf": [ + { + "type": "null" }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" }, - "gravatar_id": { + { + "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": [ - "string", + "object", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] - }, + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] + "format": "uri" }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] + "total_count": { + "type": "integer" }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "+1": { + "type": "integer" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "-1": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "laugh": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "confused": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "heart": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "hooray": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "eyes": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" ] } - }, - "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", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, "id": { - "description": "Unique identifier of the enterprise", + "description": "Unique identifier for the option.", "type": "integer", + "format": "int64", "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + 1 ] }, "name": { - "description": "The name of the enterprise.", + "description": "The name of the option", "type": "string", "examples": [ - "Octo Business" + "High" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "color": { + "description": "The color of the option", "type": "string", "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + "red" ] - }, - "avatar_url": { - "type": "string", - "format": "uri" } }, "required": [ "id", - "node_id", "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" + "color" ] } - ] + } }, + "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" + ] + }, + { + "type": "object", + "properties": {} + } + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDU6SXNzdWUx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "number": 1347, + "state": "open", + "title": "Found a bug", + "body": "I'm having a problem with this.", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "pinned_comment": null, + "labels": [ + { + "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 + } + ], + "assignees": [ + { + "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 + } + ], + "milestone": { + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "id": 1002604, + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "state": "open", + "title": "v1.0", + "description": "Tracking milestone for version 1.0", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 4, + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "updated_at": "2014-03-03T18:58:10Z", + "closed_at": "2013-02-12T13:22:01Z", + "due_on": "2012-10-09T23:39:01Z" + }, + "locked": true, + "active_lock_reason": "too heated", + "comments": 0, + "pull_request": { + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "closed_at": null, + "created_at": "2011-04-22T13:33:48Z", + "updated_at": "2011-04-22T13:33:48Z", + "closed_by": { + "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 + }, + "author_association": "COLLABORATOR", + "state_reason": "completed" + } + } + } + } + } + }, + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "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" + } + } + } + } + } + }, + "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": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { + "post": { + "summary": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.", + "tags": [ + "issues" + ], + "operationId": "issues/add-assignees", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/assignees#add-assignees-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": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": { + "assignees": [ + "hubot", + "other_user" + ] + } + } + } + } + } + }, + "responses": { + "201": { + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { "name": { - "description": "The name of the GitHub app", + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { "type": "string", "examples": [ - "Probot Owners" + "octocat" ] }, - "description": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ "string", "null" ], "examples": [ - "The description of the app." + "41d064eb2195891e12d0413f63227ea7" ] }, - "external_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://example.com" + "https://api.github.com/users/octocat" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "https://github.com/octocat" ] }, - "created_at": { + "followers_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2017-07-08T16:18:44-04:00" + "https://api.github.com/users/octocat/followers" ] }, - "updated_at": { + "following_url": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "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" - } + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_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.", - "type": "array", - "items": { - "type": "string" - }, + "starred_url": { + "type": "string", "examples": [ - "label", - "deployment" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", + "subscriptions_url": { + "type": "string", + "format": "uri", "examples": [ - 5 + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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" - ] - }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "pinned_comment": null, - "labels": [ - { - "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 - } - ], - "assignees": [ - { - "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 - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "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 - }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - } - } - } - }, - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "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" - } - } - } - } - } - }, - "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": "issues" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { - "post": { - "summary": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.", - "tags": [ - "issues" - ], - "operationId": "issues/add-assignees", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/assignees#add-assignees-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": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "assignees": { - "type": "array", - "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "assignees": [ - "hubot", - "other_user" - ] - } - } - } - } - } - }, - "responses": { - "201": { - "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } ] @@ -478776,6 +480406,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -478830,6 +480487,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -482714,6 +484378,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -482768,6 +484459,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -484151,6 +485849,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -484197,7 +485922,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -485252,6 +486978,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -485297,7 +487050,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -489042,6 +490796,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -489096,6 +490877,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -493087,6 +494875,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -493141,6 +494956,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -497196,6 +499018,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -497250,6 +499099,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -501327,6 +503183,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -501381,6 +503264,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -513269,1165 +515159,2209 @@ "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + { + "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", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] + "type": "integer" }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } + "node_id": { + "type": "string" }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" + "url": { + "type": "string" }, - { - "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", - "examples": [ - 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" + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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", - "examples": [ - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - { - "type": "number", - "examples": [ - 42.5 - ] + "event": { + "type": "string" }, - { - "type": "integer", - "examples": [ - 1 + "commit_id": { + "type": [ + "string", + "null" ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 + }, + "commit_url": { + "type": [ + "string", + "null" ] }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", "id", - "name", - "color" + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" - } - ] - } - ] - } - } - } - } - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", - "required": [ - "code" - ], "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": { "type": [ "string", "null" ] }, - { + "email": { "type": [ - "integer", + "string", "null" ] }, - { + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - } + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ] - } - } - } - } - } - } - } - } - }, - "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", - "examples": [ - 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", - "examples": [ - "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", + "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "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": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "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" + } + } + } + }, + "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", "examples": [ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -514566,12 +517500,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -514583,18 +517519,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -514615,78 +517554,18 @@ } } } - } - }, - "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": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": [ - "string", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } + "type": "string" } } } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -514737,18 +517616,14 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -514756,76 +517631,10 @@ "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { + "url": { "type": "string" }, - "documentation_url": { + "status": { "type": "string" } } @@ -514835,25 +517644,22 @@ } }, "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).\"", + }, + "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/delete-issue-field-value", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -514882,20 +517688,386 @@ "schema": { "type": "integer" } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "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", + "examples": [ + 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", + "examples": [ + "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": { - "204": { - "description": "Issue field value deleted successfully" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, "403": { "description": "Forbidden", @@ -515053,19 +518225,17 @@ "category": "issues", "subcategory": "issue-field-values" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { - "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + }, + "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/list-labels-on-issue", + "operationId": "issues/set-issue-field-values", "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#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -515094,26 +518264,90 @@ "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 - } } ], + "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", + "examples": [ + 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", + "examples": [ + "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", @@ -515121,36 +518355,755 @@ "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", "examples": [ - 208045946 + 1 ] }, - "node_id": { + "issue_field_name": { + "description": "The human-readable name of the issue field.", "type": "string", "examples": [ - "MDU6TGFiZWwyMDgwNDU5NDY=" + "Priority" ] }, - "url": { - "description": "URL for the label", + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/labels/bug" + "IFT_GDKND" ] }, - "name": { - "description": "The name of the label.", - "type": "string", + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-labels-on-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#list-labels-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": "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", + "examples": [ + 208045946 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDU6TGFiZWwyMDgwNDU5NDY=" + ] + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/labels/bug" + ] + }, + "name": { + "description": "The name of the label.", + "type": "string", "examples": [ "bug" ] @@ -520308,6 +524261,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -520362,6 +524342,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -525486,6 +529473,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -525540,6 +529554,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -529521,6 +533542,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -529575,6 +533623,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -533544,6 +537599,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -533598,6 +537680,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -537354,847 +541443,5272 @@ "metadata": { "type": "string" }, - "contents": { - "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "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" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "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" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDU6SXNzdWUx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "number": 1347, + "state": "open", + "title": "Found a bug", + "body": "I'm having a problem with this.", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "pinned_comment": null, + "labels": [ + { + "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 + } + ], + "assignees": [ + { + "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 + } + ], + "milestone": { + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "id": 1002604, + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "state": "open", + "title": "v1.0", + "description": "Tracking milestone for version 1.0", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 4, + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "updated_at": "2014-03-03T18:58:10Z", + "closed_at": "2013-02-12T13:22:01Z", + "due_on": "2012-10-09T23:39:01Z" + }, + "locked": true, + "active_lock_reason": "too heated", + "comments": 0, + "pull_request": { + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "closed_at": null, + "created_at": "2011-04-22T13:33:48Z", + "updated_at": "2011-04-22T13:33:48Z", + "closed_by": { + "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 + }, + "author_association": "COLLABORATOR", + "state_reason": "completed" + } + } + } + } + } + }, + "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 Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "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": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { + "get": { + "summary": "List timeline events for an issue", + "description": "List all timeline events for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-events-for-timeline", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/timeline#list-timeline-events-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": "Timeline Event", + "description": "Timeline Event", + "type": "object", + "anyOf": [ + { + "title": "Labeled Issue Event", + "description": "Labeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Unlabeled Issue Event", + "description": "Unlabeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Milestoned Issue Event", + "description": "Milestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Demilestoned Issue Event", + "description": "Demilestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Renamed Issue Event", + "description": "Renamed 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "rename": { + "type": "object", + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ] + } + }, + "required": [ + "rename", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Review Requested Issue Event", + "description": "Review Requested 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "deployments": { - "type": "string" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "additionalProperties": { + "checks": { "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.", - "type": "array", - "items": { + "metadata": { "type": "string" }, - "examples": [ - "label", - "deployment" - ] + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] + "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.", + "type": "array", + "items": { + "type": "string" }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } + "examples": [ + "label", + "deployment" + ] }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { "type": "string", + "format": "uri", "examples": [ - "Sample text" + "https://github.com/orgs/rails/teams/core" ] }, - { - "type": "number", + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 42.5 + 37 ] }, - { + "enterprise_id": { "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", "examples": [ - 1 + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } ] } - ], - "type": [ - "null", - "string", - "number", - "integer" + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + "requested_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "examples": [ 1 ] }, - "name": { - "description": "The name of the option", + "node_id": { "type": "string", "examples": [ - "High" + "MDQ6VXNlcjE=" ] }, - "color": { - "description": "The color of the option", + "avatar_url": { "type": "string", + "format": "uri", "examples": [ - "red" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", - "name", - "color" + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } } }, "required": [ - "issue_field_id", + "review_requester", + "id", "node_id", - "data_type", - "value" + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] - } - } - }, - "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" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "pinned_comment": null, - "labels": [ - { - "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 - } - ], - "assignees": [ - { - "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 - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "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 }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - } - } - } - }, - "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 Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "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": "sub-issues" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { - "get": { - "summary": "List timeline events for an issue", - "description": "List all timeline events for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-events-for-timeline", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/timeline#list-timeline-events-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": "Timeline Event", - "description": "Timeline Event", - "type": "object", - "anyOf": [ { - "title": "Labeled Issue Event", - "description": "Labeled Issue Event", + "title": "Review Request Removed Issue Event", + "description": "Review Request Removed Issue Event", "type": "object", "properties": { "id": { @@ -538800,50 +547314,431 @@ } ] }, - "label": { + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", "type": "object", "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, "name": { "type": "string" }, - "color": { + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] } }, "required": [ + "id", + "node_id", + "url", + "members_url", "name", - "color" + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] - } - }, - "required": [ - "label", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Unlabeled Issue Event", - "description": "Unlabeled Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { + "requested_reviewer": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -539010,451 +547905,10 @@ "type", "url" ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "label": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "color": { - "type": "string" - } - }, - "required": [ - "name", - "color" - ] } }, "required": [ - "label", + "review_requester", "id", "node_id", "url", @@ -539467,8 +547921,8 @@ ] }, { - "title": "Milestoned Issue Event", - "description": "Milestoned Issue Event", + "title": "Review Dismissed Issue Event", + "description": "Review Dismissed Issue Event", "type": "object", "properties": { "id": { @@ -540074,20 +548528,34 @@ } ] }, - "milestone": { + "dismissed_review": { "type": "object", "properties": { - "title": { + "state": { + "type": "string" + }, + "review_id": { + "type": "integer" + }, + "dismissal_message": { + "type": [ + "string", + "null" + ] + }, + "dismissal_commit_id": { "type": "string" } }, "required": [ - "title" + "state", + "review_id", + "dismissal_message" ] } }, "required": [ - "milestone", + "dismissed_review", "id", "node_id", "url", @@ -540100,8 +548568,8 @@ ] }, { - "title": "Demilestoned Issue Event", - "description": "Demilestoned Issue Event", + "title": "Locked Issue Event", + "description": "Locked Issue Event", "type": "object", "properties": { "id": { @@ -540707,20 +549175,18 @@ } ] }, - "milestone": { - "type": "object", - "properties": { - "title": { - "type": "string" - } - }, - "required": [ - "title" + "lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"off-topic\"" ] } }, "required": [ - "milestone", + "lock_reason", "id", "node_id", "url", @@ -540733,8 +549199,8 @@ ] }, { - "title": "Renamed Issue Event", - "description": "Renamed Issue Event", + "title": "Added to Project Issue Event", + "description": "Added to Project Issue Event", "type": "object", "properties": { "id": { @@ -541340,24 +549806,40 @@ } ] }, - "rename": { + "project_card": { "type": "object", "properties": { - "from": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { "type": "string" }, - "to": { + "previous_column_name": { "type": "string" } }, "required": [ - "from", - "to" + "id", + "url", + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "rename", "id", "node_id", "url", @@ -541370,8 +549852,8 @@ ] }, { - "title": "Review Requested Issue Event", - "description": "Review Requested Issue Event", + "title": "Moved Column in Project Issue Event", + "description": "Moved Column in Project Issue Event", "type": "object", "properties": { "id": { @@ -541960,618 +550442,57 @@ 5 ] } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "review_requester": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "type" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent", - "type" - ] - }, - "requested_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] + } + ] + }, + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "project_id": { + "type": "integer" }, - "type": { + "project_url": { "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" + "format": "uri" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "column_name": { + "type": "string" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "previous_column_name": { + "type": "string" } }, "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" + "url", + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "review_requester", "id", "node_id", "url", @@ -542584,8 +550505,8 @@ ] }, { - "title": "Review Request Removed Issue Event", - "description": "Review Request Removed Issue Event", + "title": "Removed from Project Issue Event", + "description": "Removed from Project Issue Event", "type": "object", "properties": { "id": { @@ -543191,7 +551112,66 @@ } ] }, - "review_requester": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Converted Note to Issue Issue Event", + "description": "Converted Note to Issue 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", @@ -543359,118 +551339,86 @@ "url" ] }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], "properties": { "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 ] }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "probot-owners" ] }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "type": { - "description": "The ownership type of the team", + "node_id": { "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 37 + "MDExOkludGVncmF0aW9uMQ==" ] }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", + "client_id": { + "type": "string", "examples": [ - 42 + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "parent": { - "anyOf": [ - { - "type": "null" - }, + "owner": { + "oneOf": [ { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the team", "type": "integer", + "format": "int64", "examples": [ 1 ] @@ -543478,144 +551426,392 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VGVhbTE=" + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" ] }, "url": { - "description": "URL for the team", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1" + "https://api.github.com/users/octocat" ] }, - "members_url": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" + "https://github.com/octocat" ] }, - "name": { - "description": "Name of the team", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Justice League" + "https://api.github.com/users/octocat/followers" ] }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], + "following_url": { + "type": "string", "examples": [ - "A great team." + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "permission": { - "description": "Permission that the team will have for its repositories", + "gists_url": { "type": "string", "examples": [ - "admin" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "privacy": { - "description": "The level of privacy this team should have", + "starred_url": { "type": "string", "examples": [ - "closed" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "notification_setting": { - "description": "The notification setting the team has set", + "subscriptions_url": { "type": "string", + "format": "uri", "examples": [ - "notifications_enabled" + "https://api.github.com/users/octocat/subscriptions" ] }, - "html_url": { + "organizations_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "https://api.github.com/users/octocat/orgs" ] }, - "repositories_url": { + "repos_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/repos" + "https://api.github.com/users/octocat/repos" ] }, - "slug": { + "events_url": { "type": "string", "examples": [ - "justice-league" + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "received_events_url": { "type": "string", + "format": "uri", "examples": [ - "uid=example,ou=users,dc=github,dc=com" + "https://api.github.com/users/octocat/received_events" ] }, "type": { - "description": "The ownership type of the team", "type": "string", - "enum": [ - "enterprise", - "organization" + "examples": [ + "User" ] }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", "examples": [ - 37 + "\"2020-07-09T00:17:55Z\"" ] }, - "enterprise_id": { + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", "examples": [ 42 ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "url", - "members_url", "name", - "description", - "permission", - "html_url", - "repositories_url", "slug", - "type" + "html_url", + "created_at", + "updated_at", + "avatar_url" ] } ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ "id", "node_id", - "url", - "members_url", + "owner", "name", "description", - "permission", + "external_url", "html_url", - "repositories_url", - "slug", - "parent", - "type" + "created_at", + "updated_at", + "permissions", + "events" ] }, - "requested_reviewer": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Timeline Comment Event", + "description": "Timeline Comment Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -543782,36 +551978,43 @@ "type", "url" ] - } - }, - "required": [ - "review_requester", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Review Dismissed Issue Event", - "description": "Review Dismissed Issue Event", - "type": "object", - "properties": { + }, "id": { - "type": "integer" + "description": "Unique identifier of the issue comment", + "type": "integer", + "examples": [ + 42 + ] }, "node_id": { "type": "string" }, "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { "type": "string" }, - "actor": { + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -543979,23 +552182,41 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "commit_url": { - "type": [ - "string", - "null" + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "created_at": { - "type": "string" + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] }, "performed_via_github_app": { "anyOf": [ @@ -544405,286 +552626,77 @@ } ] }, - "dismissed_review": { - "type": "object", - "properties": { - "state": { - "type": "string" - }, - "review_id": { - "type": "integer" - }, - "dismissal_message": { - "type": [ - "string", - "null" - ] - }, - "dismissal_commit_id": { - "type": "string" - } - }, - "required": [ - "state", - "review_id", - "dismissal_message" - ] - } - }, - "required": [ - "dismissed_review", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Locked Issue Event", - "description": "Locked Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { + "pin": { "anyOf": [ { "type": "null" }, { - "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", - "null" - ], + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { + "pinned_at": { "type": "string", + "format": "date-time", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "2011-04-14T16:00:49Z" ] }, - "owner": { - "oneOf": [ + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -544852,241 +552864,65 @@ "type", "url" ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", "type": [ "string", "null" ], "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 + "low-quality" ] } }, "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "reason" ] } ] - }, - "lock_reason": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"off-topic\"" - ] } }, "required": [ - "lock_reason", + "event", + "actor", "id", "node_id", + "html_url", + "issue_url", + "author_association", + "user", "url", - "actor", - "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at" ] }, { - "title": "Added to Project Issue Event", - "description": "Added to Project Issue Event", + "title": "Timeline Cross Referenced Event", + "description": "Timeline Cross Referenced Event", "type": "object", "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { + "event": { "type": "string" }, "actor": { @@ -545257,65 +553093,112 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - { - "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", - "null" - ], + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", "properties": { "id": { - "description": "Unique identifier of the GitHub app", "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", "examples": [ - 37 + "https://api.github.com/repositories/42/issues/1" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "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", + "type": "integer", "examples": [ - "probot-owners" + 42 ] }, - "node_id": { + "state": { + "description": "State of the issue; either 'open' or 'closed'", "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "open" ] }, - "client_id": { + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", "type": "string", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "Widget creation fails in Safari on OS X 10.8" ] }, - "owner": { - "oneOf": [ + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -545483,492 +553366,636 @@ "type", "url" ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/enterprises/octo-business" + "https://github.com/octocat/Hello-World/milestones/v1.0" ] }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] }, "id": { - "description": "Unique identifier of the enterprise", "type": "integer", "examples": [ - 42 + 1002604 ] }, "node_id": { "type": "string", "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "MDk6TWlsZXN0b25lMTAwMjYwNA==" ] }, - "name": { - "description": "The name of the enterprise.", + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", "examples": [ - "Octo Business" + "open" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "title": { + "description": "The title of the milestone.", "type": "string", "examples": [ - "octo-business" + "v1.0" ] }, - "created_at": { + "description": { "type": [ "string", "null" ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", "format": "date-time", "examples": [ - "2019-01-26T19:01:12Z" + "2011-04-10T20:09:31Z" ] }, "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { "type": [ "string", "null" ], "format": "date-time", "examples": [ - "2019-01-26T19:14:43Z" + "2013-02-12T13:22:01Z" ] }, - "avatar_url": { - "type": "string", - "format": "uri" + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] } }, "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", "id", "node_id", - "name", - "slug", + "labels_url", "html_url", + "number", + "open_issues", + "state", + "title", + "url", "created_at", - "updated_at", - "avatar_url" + "updated_at" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] + "locked": { + "type": "boolean" }, - "description": { + "active_lock_reason": { "type": [ "string", "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" ] }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] + "comments": { + "type": "integer" }, - "permissions": { - "description": "The set of permissions for the GitHub app", + "pull_request": { "type": "object", "properties": { - "issues": { - "type": "string" + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "nullable": false }, - "checks": { - "type": "string" + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false }, - "metadata": { - "type": "string" + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false }, - "contents": { - "type": "string" + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false }, - "deployments": { - "type": "string" + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "nullable": false } }, - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Moved Column in Project Issue Event", - "description": "Moved Column in Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" }, - "slug": { - "description": "The slug name of the GitHub app", + "created_at": { "type": "string", - "examples": [ - "probot-owners" - ] + "format": "date-time" }, - "node_id": { + "updated_at": { "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] + "format": "date-time" }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "draft": { + "type": "boolean" }, - "owner": { - "oneOf": [ + "closed_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -546136,1559 +554163,2924 @@ "type", "url" ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { "type": [ "string", "null" ] }, - "html_url": { + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/enterprises/octo-business" + "https://github.com/images/error/octocat_happy.gif" ] }, - "website_url": { - "description": "The enterprise's website URL.", + "gravatar_id": { "type": [ "string", "null" ], - "format": "uri" + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", + "url": { + "type": "string", + "format": "uri", "examples": [ - 42 + "https://api.github.com/users/octocat" ] }, - "node_id": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "https://github.com/octocat" ] }, - "name": { - "description": "The name of the enterprise.", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Octo Business" + "https://api.github.com/users/octocat/followers" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "following_url": { "type": "string", "examples": [ - "octo-business" + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "gists_url": { + "type": "string", "examples": [ - "2019-01-26T19:01:12Z" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "starred_url": { + "type": "string", "examples": [ - "2019-01-26T19:14:43Z" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "avatar_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - } - ] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" }, - "metadata": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] }, - "contents": { + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ], + "examples": [ + "all" + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", "type": "string" }, - "deployments": { + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Removed from Project Issue Event", - "description": "Removed from Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" ] }, - "owner": { - "oneOf": [ + "performed_via_github_app": { + "anyOf": [ { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", + "type": "null" + }, + { + "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", + "null" + ], "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 ] }, - "login": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", "examples": [ - "octocat" + "probot-owners" ] }, - "id": { - "type": "integer", - "format": "int64", + "node_id": { + "type": "string", "examples": [ - 1 + "MDExOkludGVncmF0aW9uMQ==" ] }, - "node_id": { + "client_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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" + ] + } ] }, - "avatar_url": { + "name": { + "description": "The name of the GitHub app", "type": "string", - "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "Probot Owners" ] }, - "gravatar_id": { + "description": { "type": [ "string", "null" ], "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "The description of the app." ] }, - "url": { + "external_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://example.com" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://github.com/apps/super-ci" ] }, - "received_events_url": { + "created_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat/received_events" + "2017-07-08T16:18:44-04:00" ] }, - "type": { + "updated_at": { "type": "string", + "format": "date-time", "examples": [ - "User" + "2017-07-08T16:18:44-04:00" ] }, - "site_admin": { - "type": "boolean" + "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" + } }, - "starred_at": { - "type": "string", + "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.", + "type": "array", + "items": { + "type": "string" + }, "examples": [ - "\"2020-07-09T00:17:55Z\"" + "label", + "deployment" ] }, - "user_view_type": { - "type": "string", + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", "examples": [ - "public" + 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" + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, "id": { - "description": "Unique identifier of the enterprise", + "description": "Unique identifier of the issue comment", "type": "integer", + "format": "int64", "examples": [ 42 ] }, "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", "type": "string", + "format": "uri", "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "https://api.github.com/repositories/42/issues/comments/1" ] }, - "name": { - "description": "The name of the enterprise.", + "body": { + "description": "Contents of the issue comment", "type": "string", "examples": [ - "Octo Business" + "What version of Safari were you using when you observed this bug?" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { "type": "string", - "examples": [ - "octo-business" + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } ] }, "created_at": { - "type": [ - "string", - "null" - ], + "type": "string", "format": "date-time", "examples": [ - "2019-01-26T19:01:12Z" + "2011-04-14T16:00:49Z" ] }, "updated_at": { - "type": [ - "string", - "null" - ], + "type": "string", "format": "date-time", "examples": [ - "2019-01-26T19:14:43Z" + "2011-04-14T16:00:49Z" ] }, - "avatar_url": { + "issue_url": { "type": "string", "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "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" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ "id", "node_id", - "name", - "slug", "html_url", + "issue_url", + "user", + "url", "created_at", - "updated_at", - "avatar_url" + "updated_at" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", "type": "object", "properties": { - "issues": { - "type": "string" - }, - "checks": { - "type": "string" + "blocked_by": { + "type": "integer" }, - "metadata": { - "type": "string" + "blocking": { + "type": "integer" }, - "contents": { - "type": "string" + "total_blocked_by": { + "type": "integer" }, - "deployments": { - "type": "string" + "total_blocking": { + "type": "integer" } }, - "additionalProperties": { - "type": "string" - }, - "example": { - "issues": "read", - "deployments": "write" - } + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] }, - "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.", + "issue_field_values": { "type": "array", "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } } }, "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", "created_at", - "updated_at", - "permissions", - "events" + "updated_at" ] } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] + } } }, "required": [ - "id", - "node_id", - "url", - "actor", "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at", + "source" ] }, { - "title": "Converted Note to Issue Issue Event", - "description": "Converted Note to Issue Issue Event", + "title": "Timeline Committed Event", + "description": "Timeline Committed 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, "event": { "type": "string" }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" ] }, - "created_at": { + "node_id": { "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", - "null" - ], + "url": { + "type": "string", + "format": "uri" + }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", + "date": { + "description": "Timestamp of the commit", + "format": "date-time", "type": "string", "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." + "2014-08-09T08:02:04+12:00" ] }, - "external_url": { + "email": { "type": "string", - "format": "uri", + "description": "Git email address of the user", "examples": [ - "https://example.com" + "monalisa.octocat@example.com" ] }, - "html_url": { + "name": { + "description": "Name of the git user", "type": "string", - "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "Monalisa Octocat" ] - }, - "created_at": { - "type": "string", + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "2014-08-09T08:02:04+12: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.", - "type": "array", - "items": { - "type": "string" - }, + "email": { + "type": "string", + "description": "Git email address of the user", "examples": [ - "label", - "deployment" + "monalisa.octocat@example.com" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", + "name": { + "description": "Name of the git user", + "type": "string", "examples": [ - 5 + "Monalisa Octocat" ] } }, "required": [ - "id", - "node_id", - "owner", + "email", "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "date" ] }, - "project_card": { + "message": { + "description": "Message describing the purpose of the commit", + "type": "string", + "examples": [ + "Fix #42" + ] + }, + "tree": { "type": "object", "properties": { - "id": { - "type": "integer" + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] }, "url": { "type": "string", "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { + "type": "boolean" }, - "column_name": { + "reason": { "type": "string" }, - "previous_column_name": { - "type": "string" + "signature": { + "type": [ + "string", + "null" + ] + }, + "payload": { + "type": [ + "string", + "null" + ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] } }, "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" + "verified", + "reason", + "signature", + "payload", + "verified_at" ] + }, + "html_url": { + "type": "string", + "format": "uri" } }, "required": [ - "id", + "sha", "node_id", "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" ] }, { - "title": "Timeline Comment Event", - "description": "Timeline Comment Event", + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", "type": "object", "properties": { "event": { "type": "string" }, - "actor": { + "id": { + "description": "Unique identifier of the review", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + ] + }, + "user": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -547856,226 +557248,90 @@ "url" ] }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", + "body": { + "description": "The text of the review.", + "type": [ + "string", + "null" + ], "examples": [ - 42 + "This looks great." ] }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", + "state": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "CHANGES_REQUESTED" ] }, - "body": { - "description": "Contents of the issue comment", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "What version of Safari were you using when you observed this bug?" + "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" ] }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string" - }, - "html_url": { + "pull_request_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/12" + ] }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", + "_links": { "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + "html": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" ] } }, "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" + "html", + "pull_request" ] }, - "created_at": { + "submitted_at": { "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] + "format": "date-time" }, "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", "type": "string", - "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "54bb654c9e6025347f57900a4a5c2313a96b8035" ] }, - "issue_url": { - "type": "string", - "format": "uri" + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" }, "author_association": { "title": "author_association", @@ -548094,1183 +557350,620 @@ "examples": [ "OWNER" ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] } }, "required": [ "event", - "actor", "id", "node_id", - "html_url", - "issue_url", - "author_association", "user", - "url", - "created_at", - "updated_at" + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" ] }, { - "title": "Timeline Cross Referenced Event", - "description": "Timeline Cross Referenced Event", + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", "type": "object", "properties": { "event": { "type": "string" }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "node_id": { + "type": "string" }, - "source": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "issue": { - "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } + "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", + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": [ + "integer", + "null" + ], + "format": "int64", + "examples": [ + 42 + ] + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "examples": [ + "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + ] + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "examples": [ + "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + ] + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string", + "examples": [ + "config/database.yaml" + ] + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "type": "integer", + "examples": [ + 1 + ] + }, + "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.", + "type": "integer", + "examples": [ + 4 + ] + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string", + "examples": [ + "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" + ] + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer", + "examples": [ + 8 + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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" - ] - } - ] - }, - "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", - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" + "email": { + "type": [ + "string", + "null" + ] }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "description": "The text of the comment.", + "type": "string", + "examples": [ + "We should probably include a check for null values here." + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + ] + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] } + }, + "required": [ + "href" ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "original_start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "start_side": { + "type": [ + "string", + "null" + ], + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "default": "RIGHT" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "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" }, - "examples": [ - "bug", - "registration" - ] + "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" + } }, - "assignees": { - "type": "array", - "items": { + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "examples": [ + "\"

comment body

\"" + ] + }, + "body_text": { + "type": "string", + "examples": [ + "\"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", + "null" + ] + }, + "position": { + "type": [ + "integer", + "null" + ] + }, + "line": { + "type": [ + "integer", + "null" + ] + }, + "commit_id": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -549438,784 +558131,345 @@ "url" ] } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] - }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", - "examples": [ - "open" - ] - }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": [ - "v1.0" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] - }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2013-02-12T13:22:01Z" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2012-10-09T23:39:01Z" - ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "nullable": false - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "nullable": false - } + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] + "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" + } }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "created_at": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "date-time" + "examples": [ + "probot-owners" + ] }, - "updated_at": { + "node_id": { "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" ] }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { + "client_id": { "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - }, - "license": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "License Simple", - "description": "License Simple", - "type": "object", - "properties": { - "key": { - "type": "string", - "examples": [ - "mit" - ] - }, - "name": { - "type": "string", - "examples": [ - "MIT License" - ] - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://api.github.com/licenses/mit" - ] - }, - "spdx_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "MIT" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6TGljZW5zZW1pdA==" - ] - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "key", - "name", - "url", - "spdx_id", - "node_id" - ] - } - ] - }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" - ] - }, - "owner": { + "owner": { + "oneOf": [ + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -550289,2614 +558543,1090 @@ ] }, "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" - ] - }, - "homepage": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", + "type": "string", "examples": [ - 37 + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "gists_url": { "type": "string", "examples": [ - "probot-owners" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "node_id": { + "starred_url": { "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "client_id": { + "subscriptions_url": { "type": "string", + "format": "uri", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "https://api.github.com/users/octocat/subscriptions" ] }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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" - ] - } + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" ] }, - "name": { - "description": "The name of the GitHub app", + "repos_url": { "type": "string", + "format": "uri", "examples": [ - "Probot Owners" + "https://api.github.com/users/octocat/repos" ] }, - "description": { - "type": [ - "string", - "null" - ], + "events_url": { + "type": "string", "examples": [ - "The description of the app." + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "external_url": { + "received_events_url": { "type": "string", "format": "uri", "examples": [ - "https://example.com" + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "https://github.com/enterprises/octo-business" ] }, - "created_at": { + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "updated_at": { + "name": { + "description": "The name of the enterprise.", "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "Octo Business" ] }, - "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" - } + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] }, - "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.", - "type": "array", - "items": { - "type": "string" - }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "label", - "deployment" + "2019-01-26T19:01:12Z" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - 5 + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "owner", "name", - "description", - "external_url", + "slug", "html_url", "created_at", "updated_at", - "permissions", - "events" + "avatar_url" ] } ] }, - "author_association": { - "title": "author_association", + "name": { + "description": "The name of the GitHub app", "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" ], "examples": [ - "OWNER" + "The description of the app." ] }, - "reactions": { - "title": "Reaction Rollup", + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" + "issues": { + "type": "string" }, - "heart": { - "type": "integer" + "checks": { + "type": "string" }, - "hooray": { - "type": "integer" + "metadata": { + "type": "string" }, - "eyes": { - "type": "integer" + "contents": { + "type": "string" }, - "rocket": { - "type": "integer" + "deployments": { + "type": "string" } }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } + "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.", + "type": "array", + "items": { + "type": "string" }, - "required": [ - "total", - "completed", - "percent_completed" + "examples": [ + "label", + "deployment" ] }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the issue comment", "type": "integer", "format": "int64", "examples": [ - 42 + 1 ] }, "node_id": { - "type": "string" + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, "url": { - "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/users/octocat" ] }, - "body": { - "description": "Contents of the issue comment", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "What version of Safari were you using when you observed this bug?" + "https://github.com/octocat" ] }, - "body_text": { - "type": "string" + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] }, - "body_html": { - "type": "string" + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] }, - "html_url": { + "gists_url": { "type": "string", - "format": "uri" + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "created_at": { + "subscriptions_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/subscriptions" ] }, - "updated_at": { + "organizations_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/orgs" ] }, - "issue_url": { + "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] }, - "author_association": { - "title": "author_association", + "events_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], "examples": [ - "OWNER" + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_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" + "type": { + "type": "string", + "examples": [ + "User" ] }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", + "name", + "slug", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" + "updated_at", + "avatar_url" ] } ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "issues": { + "type": "string" }, - "blocking": { - "type": "integer" + "checks": { + "type": "string" }, - "total_blocked_by": { - "type": "integer" + "metadata": { + "type": "string" }, - "total_blocking": { - "type": "integer" + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" } }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "issue_field_values": { + "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.", "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "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", + "owner", + "name", + "description", + "external_url", + "html_url", "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", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": [ - "Fix #42" - ] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "null" - ] - }, - "payload": { - "type": [ - "string", - "null" - ] - }, - "verified_at": { - "type": [ - "string", - "null" + "updated_at", + "permissions", + "events" ] } - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "user": { + "assignee": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -553063,990 +559793,24 @@ "type", "url" ] - }, - "body": { - "description": "The text of the review.", - "type": [ - "string", - "null" - ], - "examples": [ - "This looks great." - ] - }, - "state": { - "type": "string", - "examples": [ - "CHANGES_REQUESTED" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "null" - ], - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string", - "examples": [ - "54bb654c9e6025347f57900a4a5c2313a96b8035" - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] } }, "required": [ - "event", "id", "node_id", - "user", - "body", - "state", + "url", + "actor", + "event", "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "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", - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": [ - "integer", - "null" - ], - "format": "int64", - "examples": [ - 42 - ] - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "examples": [ - "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - ] - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string", - "examples": [ - "config/database.yaml" - ] - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "type": "integer", - "examples": [ - 1 - ] - }, - "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.", - "type": "integer", - "examples": [ - 4 - ] - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string", - "examples": [ - "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" - ] - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer", - "examples": [ - 8 - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string", - "examples": [ - "We should probably include a check for null values here." - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - } - }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "original_start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "start_side": { - "type": [ - "string", - "null" - ], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "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", - "examples": [ - "\"

comment body

\"" - ] - }, - "body_text": { - "type": "string", - "examples": [ - "\"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", - "null" - ] - }, - "position": { - "type": [ - "integer", - "null" - ] - }, - "line": { - "type": [ - "integer", - "null" - ] - }, - "commit_id": { - "type": "string" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { "id": { @@ -554652,7 +560416,40 @@ } ] }, - "assignee": { + "state_reason": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "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": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -554819,9 +560616,476 @@ "type", "url" ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -554830,13 +561094,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": { @@ -555442,176 +561705,49 @@ } ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": [ "string", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] } }, "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", @@ -555620,13 +561756,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": { @@ -556232,14 +562367,90 @@ } ] }, - "state_reason": { + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": [ - "string", + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", @@ -669816,6 +676027,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -672758,6 +678976,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -718700,6 +724945,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -718754,6 +725026,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -750112,6 +756391,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -750166,6 +756472,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -769801,6 +776114,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -769855,6 +776195,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -774005,6 +780352,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -774059,6 +780433,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -775123,6 +781504,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -782519,6 +788927,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -782573,6 +789008,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -786723,6 +793165,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -786777,6 +793246,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -787841,6 +794317,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -795247,6 +801750,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -795301,6 +801831,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -799451,6 +805988,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -799505,6 +806069,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -800569,6 +807140,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -819248,6 +825846,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -819302,6 +825927,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -835243,6 +841875,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -835297,6 +841956,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -839447,6 +846113,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -839501,6 +846194,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -840565,6 +847265,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -847957,6 +854684,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -848011,6 +854765,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -852161,6 +858922,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -852215,6 +859003,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -853279,6 +860074,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1058837,6 +1065659,33 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + }, "user": { "title": "User", "type": [ @@ -1063443,6 +1070292,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1067967,6 +1074843,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1072474,6 +1079377,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1076987,6 +1083917,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1084202,6 +1091159,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1084256,6 +1091240,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1087917,6 +1094908,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1087971,6 +1094989,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1094474,6 +1101499,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1094528,6 +1101580,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1098189,6 +1105248,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1098243,6 +1105329,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1104746,6 +1111839,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1104800,6 +1111920,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1109410,6 +1116537,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1109464,6 +1116618,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1115018,6 +1122179,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1115072,6 +1122260,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1119682,6 +1126877,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1119736,6 +1126958,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1123996,6 +1131225,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1124070,6 +1131326,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1128410,6 +1135673,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1128484,6 +1135774,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1133032,6 +1140329,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1133106,6 +1140430,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1137458,6 +1144789,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1137532,6 +1144890,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1142065,6 +1149430,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1142139,6 +1149531,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1146518,6 +1153917,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1146592,6 +1154018,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1151151,6 +1158584,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1151225,6 +1158685,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1155677,6 +1163144,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1155751,6 +1163245,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1160155,6 +1167656,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1160229,6 +1167757,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1164557,6 +1172092,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1164631,6 +1172193,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1168167,6 +1175736,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1169244,6 +1176820,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1171333,6 +1178936,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1172477,6 +1180087,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1176589,6 +1184226,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1176663,6 +1184327,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1181018,6 +1188689,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1181092,6 +1188790,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1185286,6 +1192991,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1185360,6 +1193092,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1188468,6 +1196207,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1188542,6 +1196308,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1192877,6 +1200650,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1192951,6 +1200751,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1197455,6 +1205262,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1197529,6 +1205363,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1201864,6 +1209705,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1201938,6 +1209806,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1206340,6 +1214215,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1206414,6 +1214316,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1210719,6 +1218628,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1210793,6 +1218729,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1215127,6 +1223070,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1215201,6 +1223171,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1639582,6 +1647559,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1639636,6 +1647640,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1644246,6 +1652257,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1644300,6 +1652338,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1649855,6 +1657900,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1649909,6 +1657981,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1654519,6 +1662598,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1654573,6 +1662679,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1660128,6 +1668241,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1660182,6 +1668322,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1664792,6 +1672939,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1664846,6 +1673020,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1670401,6 +1678582,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1670455,6 +1678663,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1675065,6 +1683280,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1675119,6 +1683361,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index baffc46e48..abe80db889 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -1048,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &651 + - &658 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12340,7 +12340,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &484 + - &486 name: has in: query description: |- @@ -12470,7 +12470,7 @@ paths: - transitive - inconclusive - - security_advisory: &485 + security_advisory: &487 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12722,7 +12722,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &486 + auto_dismissed_at: &488 type: - string - 'null' @@ -12730,7 +12730,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &487 + dismissal_request: &489 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14449,7 +14449,7 @@ paths: properties: action: type: string - discussion: &741 + discussion: &748 title: Discussion description: A Discussion in a repository. type: object @@ -15236,7 +15236,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &662 + sub_issues_summary: &669 title: Sub-issues Summary type: object properties: @@ -15320,7 +15320,7 @@ paths: pin: anyOf: - type: 'null' - - &559 + - &562 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15338,6 +15338,25 @@ paths: required: - pinned_at - pinned_by + minimized: + anyOf: + - type: 'null' + - &563 + title: Minimized Issue Comment + description: Details about why an issue comment + was minimized. + type: object + properties: + reason: + description: The reason the comment was + minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason required: - id - node_id @@ -15347,7 +15366,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &663 + issue_dependencies_summary: &670 title: Issue Dependencies Summary type: object properties: @@ -15366,7 +15385,7 @@ paths: - total_blocking issue_field_values: type: array - items: &543 + items: &546 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15378,6 +15397,12 @@ paths: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the + issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -16176,7 +16201,7 @@ paths: type: string release: allOf: - - &591 + - &598 title: Release description: A release. type: object @@ -16258,7 +16283,7 @@ paths: author: *4 assets: type: array - items: &592 + items: &599 title: Release Asset description: Data related to a release. type: object @@ -20080,7 +20105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &567 + - &574 name: all description: If `true`, show notifications marked as read. in: query @@ -20088,7 +20113,7 @@ paths: schema: type: boolean default: false - - &568 + - &575 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20098,7 +20123,7 @@ paths: type: boolean default: false - *87 - - &569 + - &576 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: @@ -20689,7 +20714,7 @@ paths: - url - subscription_url examples: - default: &570 + default: &577 value: - id: '1' repository: @@ -22607,7 +22632,7 @@ paths: parameters: - *74 - *116 - - &719 + - &726 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 @@ -22719,7 +22744,7 @@ paths: - *116 - *117 - *118 - - &720 + - &727 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22727,7 +22752,7 @@ paths: schema: type: string - *121 - - &721 + - &728 name: sku description: The SKU to query for usage. in: query @@ -30401,12 +30426,12 @@ paths: required: - subject_digests examples: - default: &700 + default: &707 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &701 + withPredicateType: &708 value: subject_digests: - sha256:abc123 @@ -30451,7 +30476,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &702 + default: &709 value: attestations_subject_digests: - sha256:abc: @@ -31740,7 +31765,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &421 + - &423 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -31750,7 +31775,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &422 + - &424 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -31774,7 +31799,7 @@ paths: be returned. in: query required: false - schema: &424 + schema: &426 type: string description: State of a code scanning alert. enum: @@ -31797,7 +31822,7 @@ paths: be returned. in: query required: false - schema: &425 + schema: &427 type: string description: Severity of a code scanning alert. enum: @@ -31831,7 +31856,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &426 + instances_url: &428 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -31853,7 +31878,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &427 + dismissed_reason: &429 type: - string - 'null' @@ -31864,14 +31889,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &428 + dismissed_comment: &430 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &429 + rule: &431 type: object properties: id: @@ -31932,7 +31957,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &430 + tool: &432 type: object properties: name: *187 @@ -31943,26 +31968,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &431 + most_recent_instance: &433 type: object properties: - ref: &423 + ref: &425 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &441 + analysis_key: &443 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &442 + environment: &444 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &443 + category: &445 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -31982,7 +32007,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &444 + location: &446 type: object description: Describe a region within a file for the alert. properties: @@ -32003,7 +32028,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &445 + items: &447 type: - string - 'null' @@ -33338,7 +33363,7 @@ paths: machine: anyOf: - type: 'null' - - &457 + - &459 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34290,7 +34315,7 @@ paths: - updated_at - visibility examples: - default: &458 + default: &460 value: total_count: 2 secrets: @@ -34328,7 +34353,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34363,7 +34388,7 @@ paths: - key_id - key examples: - default: &460 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34395,7 +34420,7 @@ paths: application/json: schema: *195 examples: - default: &462 + default: &464 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37957,7 +37982,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37976,7 +38001,7 @@ paths: - key_id - key examples: - default: &491 + default: &493 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39800,7 +39825,7 @@ paths: application/json: schema: *20 examples: - default: &528 + default: &530 value: id: 1 account: @@ -40028,7 +40053,7 @@ paths: required: true content: application/json: - schema: &529 + schema: &531 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -40847,7 +40872,7 @@ paths: type: array items: *245 examples: - default: &533 + default: &535 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41377,7 +41402,7 @@ paths: application/json: schema: *250 examples: - default: &456 + default: &458 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42640,7 +42665,7 @@ paths: parameters: - *74 - *257 - - &682 + - &689 name: repo_name description: repo_name parameter in: path @@ -43588,7 +43613,7 @@ paths: - nuget - container - *74 - - &683 + - &690 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43629,7 +43654,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &685 + '400': &692 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45871,7 +45896,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &769 + - &776 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46145,7 +46170,7 @@ paths: content: oneOf: - *82 - - &471 + - &473 title: Pull Request Simple description: Pull Request Simple type: object @@ -46374,7 +46399,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &577 + auto_merge: &584 title: Auto merge description: The status of auto merging a pull request. type: @@ -46757,7 +46782,7 @@ paths: - updated_at - project_url examples: - default: &706 + default: &713 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46934,7 +46959,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &707 + items: &714 type: object properties: name: @@ -46971,7 +46996,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &708 + iteration_configuration: &715 type: object description: The configuration for iteration fields. properties: @@ -47021,7 +47046,7 @@ paths: value: name: Due date data_type: date - single_select_field: &709 + single_select_field: &716 summary: Create a single select field value: name: Priority @@ -47048,7 +47073,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &710 + iteration_field: &717 summary: Create an iteration field value: name: Sprint @@ -47074,7 +47099,7 @@ paths: application/json: schema: *283 examples: - text_field: &711 + text_field: &718 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47083,7 +47108,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: &712 + number_field: &719 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47092,7 +47117,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: &713 + date_field: &720 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47101,7 +47126,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: &714 + single_select_field: &721 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47135,7 +47160,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &715 + iteration_field: &722 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47181,7 +47206,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &716 + - &723 name: field_id description: The unique identifier of the field. in: path @@ -47196,7 +47221,7 @@ paths: application/json: schema: *283 examples: - default: &717 + default: &724 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48407,7 +48432,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &697 + schema: &704 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48590,7 +48615,7 @@ paths: parameters: - *280 - *74 - - &718 + - &725 name: view_number description: The number that identifies the project view. in: path @@ -50023,7 +50048,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &476 + code_of_conduct: &478 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50658,7 +50683,7 @@ paths: - *74 - *17 - *19 - - &599 + - &606 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50945,7 +50970,7 @@ paths: - object rules: type: array - items: &600 + items: &607 title: Repository Rule type: object description: A repository rule. @@ -51007,7 +51032,7 @@ paths: type: string enum: - required_linear_history - - &598 + - &605 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51909,7 +51934,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &601 + - &608 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 @@ -51924,7 +51949,7 @@ paths: in: query schema: type: string - - &602 + - &609 name: time_period description: |- The time period to filter by. @@ -51940,14 +51965,14 @@ paths: - week - month default: day - - &603 + - &610 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 - - &604 + - &611 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51960,7 +51985,7 @@ paths: - bypass - all default: all - - &605 + - &612 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. @@ -51983,7 +52008,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &613 title: Rule Suites description: Response type: array @@ -52039,7 +52064,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &607 + default: &614 value: - id: 21 actor_id: 12 @@ -52083,7 +52108,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &608 + - &615 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52099,7 +52124,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &616 title: Rule Suite description: Response type: object @@ -52206,7 +52231,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &610 + default: &617 value: id: 21 actor_id: 12 @@ -52453,7 +52478,7 @@ paths: type: string format: date-time examples: - default: &612 + default: &619 value: - version_id: 3 actor: @@ -52506,7 +52531,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &620 allOf: - *326 - type: object @@ -52578,7 +52603,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &614 + - &621 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52589,7 +52614,7 @@ paths: enum: - open - resolved - - &615 + - &622 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52599,7 +52624,7 @@ paths: required: false schema: type: string - - &616 + - &623 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52610,7 +52635,7 @@ paths: required: false schema: type: string - - &617 + - &624 name: exclude_providers in: query description: |- @@ -52621,7 +52646,7 @@ paths: required: false schema: type: string - - &618 + - &625 name: providers in: query description: |- @@ -52632,7 +52657,7 @@ paths: required: false schema: type: string - - &619 + - &626 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52641,7 +52666,7 @@ paths: required: false schema: type: string - - &620 + - &627 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52660,7 +52685,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &621 + - &628 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. @@ -52675,7 +52700,7 @@ paths: - *60 - *19 - *17 - - &622 + - &629 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 @@ -52685,7 +52710,7 @@ paths: required: false schema: type: string - - &623 + - &630 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 @@ -52695,7 +52720,7 @@ paths: required: false schema: type: string - - &624 + - &631 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52704,7 +52729,7 @@ paths: required: false schema: type: string - - &625 + - &632 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52713,7 +52738,7 @@ paths: schema: type: boolean default: false - - &626 + - &633 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52722,7 +52747,7 @@ paths: schema: type: boolean default: false - - &627 + - &634 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52731,7 +52756,7 @@ paths: schema: type: boolean default: false - - &628 + - &635 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52765,14 +52790,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &629 + state: &636 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: &630 + resolution: &637 type: - string - 'null' @@ -52891,14 +52916,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &631 + - &638 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &633 + - &640 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52962,7 +52987,7 @@ paths: - blob_url - commit_sha - commit_url - - &634 + - &641 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. @@ -53023,7 +53048,7 @@ paths: - page_url - commit_sha - commit_url - - &635 + - &642 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53045,7 +53070,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &636 + - &643 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53067,7 +53092,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &637 + - &644 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53089,7 +53114,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &638 + - &645 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53104,7 +53129,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &639 + - &646 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53119,7 +53144,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &640 + - &647 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53134,7 +53159,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &641 + - &648 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. @@ -53156,7 +53181,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &642 + - &649 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. @@ -53178,7 +53203,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &643 + - &650 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. @@ -53200,7 +53225,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &644 + - &651 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. @@ -53222,7 +53247,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &645 + - &652 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 @@ -53743,7 +53768,7 @@ paths: application/json: schema: type: array - items: &649 + items: &656 description: A repository security advisory. type: object properties: @@ -54040,7 +54065,7 @@ paths: - private_fork additionalProperties: false examples: - default: &650 + default: &657 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56038,7 +56063,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &665 + response-if-user-is-a-team-maintainer: &672 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56103,7 +56128,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &666 + response-if-users-membership-with-team-is-now-pending: &673 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56217,7 +56242,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &667 + schema: &674 title: Team Repository description: A team's access to a repository. type: object @@ -56938,7 +56963,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &668 + response-if-child-teams-exist: &675 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58408,11 +58433,11 @@ paths: '302': description: Response headers: - Location: &493 + Location: &495 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &534 + '410': &536 description: Gone content: application/json: @@ -62594,7 +62619,7 @@ paths: items: type: object properties: - type: &500 + type: &502 type: string description: The type of reviewer. enum: @@ -62732,7 +62757,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -62844,7 +62869,7 @@ paths: - created_at - updated_at examples: - default: &496 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65694,7 +65719,7 @@ paths: properties: name: type: string - commit: &467 + commit: &469 title: Commit description: Commit type: object @@ -65779,7 +65804,7 @@ paths: required: - sha - url - verification: &518 + verification: &520 title: Verification type: object properties: @@ -65859,7 +65884,7 @@ paths: type: integer files: type: array - items: &478 + items: &480 title: Diff Entry description: Diff Entry type: object @@ -69017,7 +69042,7 @@ paths: check. type: array items: *85 - deployment: &730 + deployment: &737 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70655,14 +70680,14 @@ paths: - *337 - *338 - *420 - - &473 + - &475 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &474 + - &476 name: status description: Returns check runs with the specified `status`. in: query @@ -70703,7 +70728,7 @@ paths: type: array items: *414 examples: - default: &475 + default: &477 value: total_count: 1 check_runs: @@ -70822,6 +70847,250 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - *337 + - *338 + - *17 + - *60 + - *45 + - *46 + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &421 + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect + the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect + the finding. + type: string + help: + description: A detailed description of the rule used to + detect the finding. + type: string + severity: + description: The severity of the rule used to detect the + finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the + finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding + in markdown format. + type: string + required: + - text + - markdown + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message + examples: + default: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': &422 + description: Response if the user is not authorized to access Code quality + for this repository. + content: + application/json: + schema: *3 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - *337 + - *338 + - name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *421 + examples: + default: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': *422 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -70909,12 +71178,7 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': - description: Response if the user is not authorized to access Code quality - for this repository. - content: - application/json: - schema: *3 + '403': *422 '404': *6 '503': *114 x-github: @@ -71068,19 +71332,19 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - &439 + - &441 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *423 - - &440 + schema: *425 + - &442 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71105,13 +71369,13 @@ paths: be returned. in: query required: false - schema: *424 + schema: *426 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *425 + schema: *427 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -71135,7 +71399,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -71143,11 +71407,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 - rule: *429 - tool: *430 - most_recent_instance: *431 + dismissed_reason: *429 + dismissed_comment: *430 + rule: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -71270,7 +71534,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &432 + '403': &434 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71299,7 +71563,7 @@ paths: parameters: - *337 - *338 - - &433 + - &435 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71313,7 +71577,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &436 type: object properties: number: *180 @@ -71321,7 +71585,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -71329,8 +71593,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 rule: type: object properties: @@ -71392,8 +71656,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *430 - most_recent_instance: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -71489,7 +71753,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -71511,7 +71775,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -71526,8 +71790,8 @@ paths: enum: - open - dismissed - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71555,7 +71819,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: default: value: @@ -71631,7 +71895,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &438 + '403': &440 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -71660,13 +71924,13 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: Response content: application/json: - schema: &435 + schema: &437 type: object properties: status: @@ -71693,13 +71957,13 @@ paths: - description - started_at examples: - default: &436 + default: &438 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &437 + '400': &439 description: Bad Request content: application/json: @@ -71710,7 +71974,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -71721,7 +71985,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -71737,27 +72001,27 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: OK content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '202': description: Accepted content: application/json: - schema: *435 + schema: *437 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *437 + '400': *439 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71791,7 +72055,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: false content: @@ -71837,8 +72101,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *437 - '403': *438 + '400': *439 + '403': *440 '404': *6 '422': description: Unprocessable Entity @@ -71864,11 +72128,11 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 - - *439 - - *440 + - *441 + - *442 responses: '200': description: Response @@ -71879,10 +72143,10 @@ paths: items: type: object properties: - ref: *423 - analysis_key: *441 - environment: *442 - category: *443 + ref: *425 + analysis_key: *443 + environment: *444 + category: *445 state: type: - string @@ -71899,7 +72163,7 @@ paths: properties: text: type: string - location: *444 + location: *446 html_url: type: string classifications: @@ -71907,7 +72171,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *445 + items: *447 examples: default: value: @@ -71944,7 +72208,7 @@ paths: end_column: 50 classifications: - source - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -71980,23 +72244,23 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - *440 + - *442 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *423 + schema: *425 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &446 + schema: &448 type: string description: An identifier for the upload. examples: @@ -72018,23 +72282,23 @@ paths: application/json: schema: type: array - items: &447 + items: &449 type: object properties: - ref: *423 - commit_sha: &455 + ref: *425 + commit_sha: &457 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *441 + analysis_key: *443 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *443 + category: *445 error: type: string examples: @@ -72059,8 +72323,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *446 - tool: *430 + sarif_id: *448 + tool: *432 deletable: type: boolean warning: @@ -72122,7 +72386,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72172,7 +72436,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: response: summary: application/json response @@ -72226,7 +72490,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *432 + '403': *434 '404': *6 '422': description: Response if analysis could not be processed @@ -72370,7 +72634,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -72401,7 +72665,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: CodeQL Database description: A CodeQL database. type: object @@ -72513,7 +72777,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72555,7 +72819,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -72587,9 +72851,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &482 + '302': &484 description: Found - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72622,7 +72886,7 @@ paths: responses: '204': description: Response - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -72660,7 +72924,7 @@ paths: type: object additionalProperties: false properties: - language: &449 + language: &451 type: string description: The language targeted by the CodeQL query enum: @@ -72740,7 +73004,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &453 + schema: &455 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72750,7 +73014,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *449 + query_language: *451 query_pack_url: type: string description: The download url for the query pack. @@ -72798,7 +73062,7 @@ paths: items: type: object properties: - repository: &450 + repository: &452 title: Repository Identifier description: Repository Identifier type: object @@ -72840,7 +73104,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &454 + analysis_status: &456 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72872,7 +73136,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &451 + access_mismatch_repos: &453 type: object properties: repository_count: @@ -72887,7 +73151,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *450 + items: *452 required: - repository_count - repositories @@ -72910,8 +73174,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *451 - over_limit_repos: *451 + no_codeql_db_repos: *453 + over_limit_repos: *453 required: - access_mismatch_repos - not_found_repos @@ -72927,7 +73191,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &452 + value: &454 summary: Default response value: id: 1 @@ -73073,10 +73337,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *452 + value: *454 repository_lists: summary: Response for a successful variant analysis submission - value: *452 + value: *454 '404': *6 '422': description: Unable to process variant analysis submission @@ -73117,9 +73381,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *452 + default: *454 '404': *6 '503': *114 x-github: @@ -73177,7 +73441,7 @@ paths: type: object properties: repository: *65 - analysis_status: *454 + analysis_status: *456 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73394,7 +73658,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73510,7 +73774,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *438 + '403': *440 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73590,7 +73854,7 @@ paths: schema: type: object properties: - commit_sha: *455 + commit_sha: *457 ref: type: string description: |- @@ -73650,7 +73914,7 @@ paths: schema: type: object properties: - id: *446 + id: *448 url: type: string description: The REST API URL for checking the status of the upload. @@ -73664,7 +73928,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *438 + '403': *440 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -73736,7 +74000,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *432 + '403': *434 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -74354,7 +74618,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74362,7 +74626,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '400': *14 '401': *23 '403': *27 @@ -74494,9 +74758,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: &673 + default: &680 value: total_count: 2 machines: @@ -74713,7 +74977,7 @@ paths: type: integer secrets: type: array - items: &461 + items: &463 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74734,7 +74998,7 @@ paths: - created_at - updated_at examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -74764,9 +75028,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74794,9 +75058,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74939,7 +75203,7 @@ paths: application/json: schema: type: array - items: &463 + items: &465 title: Collaborator description: Collaborator type: object @@ -75208,7 +75472,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &532 + schema: &534 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75491,7 +75755,7 @@ paths: user: anyOf: - type: 'null' - - *463 + - *465 required: - permission - role_name @@ -75556,7 +75820,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Commit Comment description: Commit Comment type: object @@ -75614,7 +75878,7 @@ paths: - created_at - updated_at examples: - default: &469 + default: &471 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75681,9 +75945,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &470 + default: &472 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75764,7 +76028,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -75866,7 +76130,7 @@ paths: application/json: schema: type: array - items: &465 + items: &467 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75910,7 +76174,7 @@ paths: - content - created_at examples: - default: &536 + default: &538 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75989,9 +76253,9 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: &466 + default: &468 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -76020,9 +76284,9 @@ paths: description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -76047,7 +76311,7 @@ paths: - *337 - *338 - *96 - - &537 + - &539 name: reaction_id description: The unique identifier of the reaction. in: path @@ -76159,9 +76423,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: &584 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76257,7 +76521,7 @@ paths: parameters: - *337 - *338 - - &468 + - &470 name: commit_sha description: The SHA of the commit. in: path @@ -76331,7 +76595,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -76341,9 +76605,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *469 + default: *471 headers: Link: *66 x-github: @@ -76373,7 +76637,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 requestBody: required: true content: @@ -76408,9 +76672,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *470 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76440,7 +76704,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -76450,9 +76714,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: &576 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76993,7 +77257,7 @@ paths: - *338 - *19 - *17 - - &472 + - &474 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -77008,9 +77272,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &564 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77098,7 +77362,7 @@ paths: schema: type: string examples: - default: &479 + default: &481 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -77111,7 +77375,7 @@ paths: schema: type: string examples: - default: &480 + default: &482 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -77166,9 +77430,9 @@ paths: parameters: - *337 - *338 - - *472 - - *473 - *474 + - *475 + - *476 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77204,7 +77468,7 @@ paths: type: array items: *414 examples: - default: *475 + default: *477 headers: Link: *66 x-github: @@ -77231,7 +77495,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77239,7 +77503,7 @@ paths: schema: type: integer example: 1 - - *473 + - *475 - *17 - *19 responses: @@ -77459,7 +77723,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -77663,7 +77927,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -77673,7 +77937,7 @@ paths: application/json: schema: type: array - items: &654 + items: &661 title: Status description: The status of a commit. type: object @@ -77816,11 +78080,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *476 + - *478 code_of_conduct_file: anyOf: - type: 'null' - - &477 + - &479 title: Community Health File type: object properties: @@ -77840,19 +78104,19 @@ paths: contributing: anyOf: - type: 'null' - - *477 + - *479 readme: anyOf: - type: 'null' - - *477 + - *479 issue_template: anyOf: - type: 'null' - - *477 + - *479 pull_request_template: anyOf: - type: 'null' - - *477 + - *479 required: - code_of_conduct - code_of_conduct_file @@ -78030,8 +78294,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *467 - merge_base_commit: *467 + base_commit: *469 + merge_base_commit: *469 status: type: string enum: @@ -78055,10 +78319,10 @@ paths: - 6 commits: type: array - items: *467 + items: *469 files: type: array - items: *478 + items: *480 required: - url - html_url @@ -78304,12 +78568,12 @@ paths: schema: type: string examples: - default: *479 + default: *481 application/vnd.github.patch: schema: type: string examples: - default: *480 + default: *482 '404': *6 '500': *53 '503': *114 @@ -78525,7 +78789,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &481 + response-if-content-is-a-file-github-object: &483 summary: Response if content is a file value: type: file @@ -78662,7 +78926,7 @@ paths: - size - type - url - - &589 + - &596 title: Content File description: Content File type: object @@ -78880,7 +79144,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *481 + response-if-content-is-a-file: *483 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78949,7 +79213,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *482 + '302': *484 '304': *35 x-github: githubCloudOnly: false @@ -79068,7 +79332,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &485 title: File Commit description: File Commit type: object @@ -79224,7 +79488,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: example-for-creating-a-file: value: @@ -79278,7 +79542,7 @@ paths: schema: oneOf: - *3 - - &513 + - &515 description: Repository rule violation was detected type: object properties: @@ -79299,7 +79563,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &653 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79393,7 +79657,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -79727,7 +79991,7 @@ paths: schema: type: string - *207 - - *484 + - *486 - *208 - *209 - *210 @@ -79742,7 +80006,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 type: object description: A Dependabot alert. properties: @@ -79793,7 +80057,7 @@ paths: - transitive - inconclusive - - security_advisory: *485 + security_advisory: *487 security_vulnerability: *64 url: *183 html_url: *184 @@ -79824,8 +80088,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *486 - dismissal_request: *487 + auto_dismissed_at: *488 + dismissal_request: *489 assignees: type: array description: The users assigned to this alert. @@ -80082,7 +80346,7 @@ paths: parameters: - *337 - *338 - - &489 + - &491 name: alert_number in: path description: |- @@ -80097,7 +80361,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -80231,7 +80495,7 @@ paths: parameters: - *337 - *338 - - *489 + - *491 requestBody: required: true content: @@ -80288,7 +80552,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -80437,7 +80701,7 @@ paths: type: integer secrets: type: array - items: &492 + items: &494 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80498,9 +80762,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80528,7 +80792,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -81082,7 +81346,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *493 + Location: *495 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -81226,7 +81490,7 @@ paths: - version - url additionalProperties: false - metadata: &494 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81265,7 +81529,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *494 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -81279,7 +81543,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *494 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -81454,9 +81718,9 @@ paths: application/json: schema: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *66 x-github: @@ -81605,7 +81869,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: simple-example: summary: Simple example @@ -81680,7 +81944,7 @@ paths: parameters: - *337 - *338 - - &497 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -81692,7 +81956,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -81759,7 +82023,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 responses: '204': description: Response @@ -81783,7 +82047,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - *17 - *19 responses: @@ -81793,7 +82057,7 @@ paths: application/json: schema: type: array - items: &498 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -81959,7 +82223,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 requestBody: required: true content: @@ -82034,9 +82298,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82094,7 +82358,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - name: status_id in: path required: true @@ -82105,9 +82369,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -82209,7 +82473,7 @@ paths: - 5 environments: type: array - items: &501 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -82271,7 +82535,7 @@ paths: type: string examples: - wait_timer - wait_timer: &503 + wait_timer: &505 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -82313,7 +82577,7 @@ paths: items: type: object properties: - type: *500 + type: *502 reviewer: anyOf: - *4 @@ -82340,7 +82604,7 @@ paths: - id - node_id - type - deployment_branch_policy: &504 + deployment_branch_policy: &506 type: - object - 'null' @@ -82459,7 +82723,7 @@ paths: parameters: - *337 - *338 - - &502 + - &504 name: environment_name in: path required: true @@ -82472,9 +82736,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &505 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82560,7 +82824,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: false content: @@ -82570,7 +82834,7 @@ paths: - object - 'null' properties: - wait_timer: *503 + wait_timer: *505 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -82589,14 +82853,14 @@ paths: items: type: object properties: - type: *500 + type: *502 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *504 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -82616,9 +82880,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *505 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82644,7 +82908,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '204': description: Default response @@ -82671,7 +82935,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -82690,7 +82954,7 @@ paths: - 2 branch_policies: type: array - items: &506 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82753,7 +83017,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -82801,9 +83065,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - example-wildcard: &507 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82847,8 +83111,8 @@ paths: parameters: - *337 - *338 - - *502 - - &508 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -82860,9 +83124,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82883,8 +83147,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 requestBody: required: true content: @@ -82913,9 +83177,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82936,8 +83200,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 responses: '204': description: Response @@ -82962,7 +83226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *502 + - *504 - *338 - *337 responses: @@ -82981,7 +83245,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &509 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -83003,7 +83267,7 @@ paths: for the environment. examples: - true - app: &510 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83106,7 +83370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *502 + - *504 - *338 - *337 requestBody: @@ -83129,9 +83393,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *509 + schema: *511 examples: - default: &511 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83166,7 +83430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - *19 @@ -83188,7 +83452,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *510 + items: *512 examples: default: value: @@ -83225,8 +83489,8 @@ paths: parameters: - *337 - *338 - - *502 - - &512 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83238,9 +83502,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83261,10 +83525,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - - *512 + - *514 responses: '204': description: Response @@ -83292,7 +83556,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -83339,7 +83603,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '200': description: Response @@ -83371,7 +83635,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '200': @@ -83404,7 +83668,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 requestBody: required: true @@ -83464,7 +83728,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '204': @@ -83492,7 +83756,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *172 - *19 responses: @@ -83537,7 +83801,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -83591,7 +83855,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *166 responses: '200': @@ -83624,7 +83888,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 requestBody: required: true content: @@ -83669,7 +83933,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 responses: '204': description: Response @@ -84038,7 +84302,7 @@ paths: schema: oneOf: - *124 - - *513 + - *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84274,7 +84538,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84503,13 +84767,13 @@ paths: parameters: - *337 - *338 - - *468 + - *470 responses: '200': description: Response content: application/json: - schema: *514 + schema: *516 examples: default: value: @@ -84567,7 +84831,7 @@ paths: parameters: - *337 - *338 - - &515 + - &517 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -84584,7 +84848,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Git Reference description: Git references within a repository type: object @@ -84662,15 +84926,15 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84729,9 +84993,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -84759,7 +85023,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 requestBody: required: true content: @@ -84788,9 +85052,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 '422': *15 '409': *52 x-github: @@ -84810,7 +85074,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '204': description: Response @@ -84933,7 +85197,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &521 title: Git Tag description: Metadata for a Git tag type: object @@ -84989,7 +85253,7 @@ paths: - sha - type - url - verification: *518 + verification: *520 required: - sha - url @@ -84999,7 +85263,7 @@ paths: - tag - message examples: - default: &520 + default: &522 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85084,9 +85348,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 '404': *6 '409': *52 x-github: @@ -85185,7 +85449,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &523 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85311,7 +85575,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default-response: summary: Default response @@ -85425,7 +85689,7 @@ paths: application/json: schema: type: array - items: &522 + items: &524 title: Webhook description: Webhooks for repositories. type: object @@ -85488,7 +85752,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &768 title: Hook Response type: object properties: @@ -85619,9 +85883,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: &523 + default: &525 value: type: Repository id: 12345678 @@ -85677,9 +85941,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -85746,9 +86010,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '422': *15 '404': *6 x-github: @@ -86146,7 +86410,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 title: Import description: A repository import from an external source. type: object @@ -86253,7 +86517,7 @@ paths: - html_url - authors_url examples: - default: &527 + default: &529 value: vcs: subversion use_lfs: true @@ -86269,7 +86533,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &525 + '503': &527 description: Unavailable due to service under maintenance. content: application/json: @@ -86347,7 +86611,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -86372,7 +86636,7 @@ paths: type: string '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86453,7 +86717,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: example-1: summary: Example 1 @@ -86501,7 +86765,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86529,7 +86793,7 @@ paths: responses: '204': description: Response - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86557,7 +86821,7 @@ paths: parameters: - *337 - *338 - - &695 + - &702 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86571,7 +86835,7 @@ paths: application/json: schema: type: array - items: &526 + items: &528 title: Porter Author description: Porter Author type: object @@ -86625,7 +86889,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86681,7 +86945,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -86694,7 +86958,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86760,7 +87024,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86816,11 +87080,11 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *527 + default: *529 '422': *15 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86852,7 +87116,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 '301': *341 '404': *6 x-github: @@ -86887,7 +87151,7 @@ paths: properties: {} additionalProperties: false examples: - default: &530 + default: &532 value: limit: collaborators_only origin: repository @@ -86918,7 +87182,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: summary: Example request body @@ -86932,7 +87196,7 @@ paths: application/json: schema: *237 examples: - default: *530 + default: *532 '409': description: Response x-github: @@ -87043,7 +87307,7 @@ paths: required: true content: application/json: - schema: &531 + schema: &533 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -87099,7 +87363,7 @@ paths: required: true content: application/json: - schema: *531 + schema: *533 examples: default: summary: Example request body @@ -87140,9 +87404,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &687 + default: &694 value: - id: 1 repository: @@ -87304,7 +87568,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: default: value: @@ -87471,7 +87735,7 @@ paths: type: array items: *245 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -87588,7 +87852,7 @@ paths: type: array items: *82 examples: - default: &542 + default: &545 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87876,7 +88140,7 @@ paths: application/json: schema: *82 examples: - default: &539 + default: &542 value: id: 1 node_id: MDU6SXNzdWUx @@ -88014,7 +88278,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -88066,7 +88330,7 @@ paths: type: array items: *83 examples: - default: &541 + default: &544 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88096,6 +88360,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: headers: Link: *66 '422': *15 @@ -88134,7 +88399,7 @@ paths: application/json: schema: *83 examples: - default: &535 + default: &537 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88165,6 +88430,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: '404': *6 x-github: githubCloudOnly: false @@ -88215,7 +88481,7 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 '422': *15 x-github: githubCloudOnly: false @@ -88327,7 +88593,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -88353,7 +88619,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '503': *114 x-github: githubCloudOnly: false @@ -88399,9 +88665,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -88456,16 +88722,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -88490,7 +88756,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -88521,7 +88787,7 @@ paths: application/json: schema: type: array - items: &538 + items: &541 title: Issue Event description: Issue Event type: object @@ -88668,6 +88934,38 @@ paths: required: - from - to + issue_type: &540 + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name + prev_issue_type: *540 author_association: *79 lock_reason: type: @@ -88873,7 +89171,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *541 examples: default: value: @@ -89066,7 +89364,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *534 + '410': *536 '403': *27 x-github: githubCloudOnly: false @@ -89102,7 +89400,7 @@ paths: parameters: - *337 - *338 - - &540 + - &543 name: issue_number description: The number that identifies the issue. in: path @@ -89118,7 +89416,7 @@ paths: examples: default: summary: Issue - value: *539 + value: *542 pinned_comment: summary: Issue with pinned comment value: @@ -89300,7 +89598,7 @@ paths: state_reason: completed '301': *341 '404': *6 - '410': *534 + '410': *536 '304': *35 x-github: githubCloudOnly: false @@ -89327,7 +89625,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -89464,15 +89762,19 @@ paths: description: Response content: application/json: - schema: *82 + schema: + allOf: + - *82 + - type: object + properties: {} examples: - default: *539 + default: *542 '422': *15 '503': *114 '403': *27 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89492,7 +89794,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -89520,7 +89822,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89538,7 +89840,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: content: application/json: @@ -89565,7 +89867,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89589,7 +89891,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: assignee in: path required: true @@ -89631,7 +89933,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *87 - *17 - *19 @@ -89644,11 +89946,11 @@ paths: type: array items: *83 examples: - default: *541 + default: *544 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89679,7 +89981,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -89703,14 +90005,14 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -89740,7 +90042,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -89752,12 +90054,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89787,7 +90089,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -89811,7 +90113,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -89819,7 +90121,7 @@ paths: type: string '301': *341 '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -89852,7 +90154,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89866,13 +90168,13 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -89900,7 +90202,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -89912,12 +90214,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89936,7 +90238,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -89950,7 +90252,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &546 + - &549 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89999,7 +90301,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &550 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90127,7 +90429,7 @@ paths: - performed_via_github_app - assignee - assigner - - &548 + - &551 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90173,7 +90475,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &552 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90219,7 +90521,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &553 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90268,7 +90570,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &554 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90310,7 +90612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &555 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90352,7 +90654,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &556 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90408,7 +90710,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &557 title: Locked Issue Event description: Locked Issue Event type: object @@ -90453,7 +90755,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90514,7 +90816,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &559 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90575,7 +90877,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90636,7 +90938,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90694,6 +90996,128 @@ paths: - commit_url - created_at - performed_via_github_app + - &564 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &565 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + prev_issue_type: *540 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &566 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + prev_issue_type: *540 + 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: @@ -90729,7 +91153,7 @@ paths: color: red headers: Link: *66 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90748,7 +91172,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -90758,15 +91182,17 @@ paths: application/json: schema: type: array - items: *543 + items: *546 examples: - default: &544 + default: &547 value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -90775,14 +91201,17 @@ paths: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -90797,7 +91226,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90828,7 +91257,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -90900,9 +91329,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -90940,7 +91369,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91007,9 +91436,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -91042,7 +91471,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *244 responses: '204': @@ -91070,7 +91499,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91082,7 +91511,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &548 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91102,7 +91531,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91120,7 +91549,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91165,10 +91594,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -91187,7 +91616,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91249,10 +91678,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -91271,13 +91700,13 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91298,7 +91727,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: name in: path required: true @@ -91324,7 +91753,7 @@ paths: default: true '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91346,7 +91775,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -91375,7 +91804,7 @@ paths: '204': description: Response '403': *27 - '410': *534 + '410': *536 '404': *6 '422': *15 x-github: @@ -91395,7 +91824,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response @@ -91427,7 +91856,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '200': description: Response @@ -91435,10 +91864,10 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91457,7 +91886,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - 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. @@ -91483,13 +91912,13 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91509,7 +91938,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91541,16 +91970,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -91574,8 +92003,8 @@ paths: parameters: - *337 - *338 - - *540 - - *537 + - *543 + - *539 responses: '204': description: Response @@ -91606,7 +92035,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91630,7 +92059,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91665,7 +92094,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91677,11 +92106,11 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91711,7 +92140,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91740,14 +92169,14 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -91769,7 +92198,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91802,7 +92231,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '403': *27 '404': *6 '422': *7 @@ -91826,7 +92255,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91841,9 +92270,6 @@ paths: description: Timeline Event type: object anyOf: - - *546 - - *547 - - *548 - *549 - *550 - *551 @@ -91854,6 +92280,9 @@ paths: - *556 - *557 - *558 + - *559 + - *560 + - *561 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91910,7 +92339,11 @@ paths: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - event - actor @@ -92186,7 +92619,7 @@ paths: type: string comments: type: array - items: &578 + items: &585 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92427,7 +92860,7 @@ paths: type: string comments: type: array - items: *464 + items: *466 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92547,6 +92980,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *564 + - *565 + - *566 examples: default: value: @@ -92702,7 +93138,7 @@ paths: headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92730,7 +93166,7 @@ paths: application/json: schema: type: array - items: &560 + items: &567 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92835,9 +93271,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: &561 + default: &568 value: id: 1 key: ssh-rsa AAA... @@ -92873,7 +93309,7 @@ paths: parameters: - *337 - *338 - - &562 + - &569 name: key_id description: The unique identifier of the key. in: path @@ -92885,9 +93321,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: *561 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -92907,7 +93343,7 @@ paths: parameters: - *337 - *338 - - *562 + - *569 responses: '204': description: Response @@ -92940,7 +93376,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 '404': *6 @@ -93000,7 +93436,7 @@ paths: application/json: schema: *81 examples: - default: &563 + default: &570 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93046,7 +93482,7 @@ paths: application/json: schema: *81 examples: - default: *563 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -93198,7 +93634,7 @@ paths: parameters: - *337 - *338 - - *439 + - *441 responses: '200': description: Response @@ -93446,9 +93882,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *467 + schema: *469 examples: - default: *564 + default: *571 '204': description: Response when already merged '404': @@ -93614,7 +94050,7 @@ paths: application/json: schema: *281 examples: - default: &565 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93675,7 +94111,7 @@ paths: parameters: - *337 - *338 - - &566 + - &573 name: milestone_number description: The number that identifies the milestone. in: path @@ -93689,7 +94125,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -93708,7 +94144,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 requestBody: required: false content: @@ -93748,7 +94184,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93766,7 +94202,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 responses: '204': description: Response @@ -93789,7 +94225,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 - *17 - *19 responses: @@ -93801,7 +94237,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 x-github: @@ -93822,10 +94258,10 @@ paths: parameters: - *337 - *338 - - *567 - - *568 + - *574 + - *575 - *87 - - *569 + - *576 - *17 - *19 responses: @@ -93837,7 +94273,7 @@ paths: type: array items: *107 examples: - default: *570 + default: *577 headers: Link: *66 x-github: @@ -93927,7 +94363,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &578 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94071,7 +94507,7 @@ paths: - custom_404 - public examples: - default: &572 + default: &579 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94168,9 +94604,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *578 examples: - default: *572 + default: *579 '422': *15 '409': *52 x-github: @@ -94332,7 +94768,7 @@ paths: application/json: schema: type: array - items: &573 + items: &580 title: Page Build description: Page Build type: object @@ -94479,9 +94915,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: &574 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94541,9 +94977,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: *574 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94674,7 +95110,7 @@ paths: parameters: - *337 - *338 - - &575 + - &582 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94734,7 +95170,7 @@ paths: parameters: - *337 - *338 - - *575 + - *582 responses: '204': *59 '404': *6 @@ -95304,9 +95740,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *576 + default: *583 headers: Link: *66 '304': *35 @@ -95406,7 +95842,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &587 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95630,7 +96066,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *577 + auto_merge: *584 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -95730,7 +96166,7 @@ paths: - merged_by - review_comments examples: - default: &581 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96267,9 +96703,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: &583 + default: &590 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96354,9 +96790,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: &579 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96455,9 +96891,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: *579 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96524,9 +96960,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -96581,16 +97017,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -96615,7 +97051,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -96660,7 +97096,7 @@ paths: parameters: - *337 - *338 - - &582 + - &589 name: pull_number description: The number that identifies the pull request. in: path @@ -96673,9 +97109,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '304': *35 '404': *6 '406': @@ -96712,7 +97148,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -96754,9 +97190,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '422': *15 '403': *27 x-github: @@ -96780,7 +97216,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -96843,7 +97279,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96851,7 +97287,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -96883,7 +97319,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -96904,9 +97340,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: *583 + default: *590 headers: Link: *66 x-github: @@ -96941,7 +97377,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -97047,7 +97483,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: example-for-a-multi-line-comment: value: @@ -97137,7 +97573,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *96 requestBody: required: true @@ -97160,7 +97596,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: default: value: @@ -97248,7 +97684,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -97258,9 +97694,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: *584 + default: *591 headers: Link: *66 x-github: @@ -97292,7 +97728,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -97302,7 +97738,7 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: default: value: @@ -97342,7 +97778,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '204': description: Response if pull request has been merged @@ -97367,7 +97803,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -97481,7 +97917,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '200': description: Response @@ -97558,7 +97994,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -97595,7 +98031,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -98133,7 +98569,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -98167,7 +98603,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -98654,7 +99090,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -98664,7 +99100,7 @@ paths: application/json: schema: type: array - items: &585 + items: &592 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98822,7 +99258,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98912,9 +99348,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &587 + default: &594 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98979,8 +99415,8 @@ paths: parameters: - *337 - *338 - - *582 - - &586 + - *589 + - &593 name: review_id description: The unique identifier of the review. in: path @@ -98992,9 +99428,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &588 + default: &595 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99055,8 +99491,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -99079,7 +99515,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -99143,16 +99579,16 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 responses: '200': description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *587 + default: *594 '422': *7 '404': *6 x-github: @@ -99181,8 +99617,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 - *17 - *19 responses: @@ -99442,8 +99878,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -99472,7 +99908,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -99537,8 +99973,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -99573,9 +100009,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *588 + default: *595 '404': *6 '422': *7 '403': *27 @@ -99599,7 +100035,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -99677,9 +100113,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: &590 + default: &597 value: type: file encoding: base64 @@ -99742,9 +100178,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: *590 + default: *597 '404': *6 '422': *15 x-github: @@ -99777,7 +100213,7 @@ paths: application/json: schema: type: array - items: *591 + items: *598 examples: default: value: @@ -99948,9 +100384,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: &595 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100057,7 +100493,7 @@ paths: parameters: - *337 - *338 - - &593 + - &600 name: asset_id description: The unique identifier of the asset. in: path @@ -100069,9 +100505,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: &594 + default: &601 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 @@ -100106,7 +100542,7 @@ paths: type: User site_admin: false '404': *6 - '302': *482 + '302': *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100124,7 +100560,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 requestBody: required: false content: @@ -100153,9 +100589,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: *594 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100173,7 +100609,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 responses: '204': description: Response @@ -100292,9 +100728,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -100326,9 +100762,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -100352,7 +100788,7 @@ paths: parameters: - *337 - *338 - - &596 + - &603 name: release_id description: The unique identifier of the release. in: path @@ -100366,9 +100802,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: *591 + schema: *598 examples: - default: *595 + default: *602 '401': description: Unauthorized x-github: @@ -100388,7 +100824,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: false content: @@ -100452,9 +100888,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': description: Not Found if the discussion category name is invalid content: @@ -100477,7 +100913,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 responses: '204': description: Response @@ -100500,7 +100936,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - *17 - *19 responses: @@ -100510,7 +100946,7 @@ paths: application/json: schema: type: array - items: *592 + items: *599 examples: default: value: @@ -100593,7 +101029,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - name: name in: query required: true @@ -100619,7 +101055,7 @@ paths: description: Response for successful upload content: application/json: - schema: *592 + schema: *599 examples: response-for-successful-upload: value: @@ -100676,7 +101112,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - 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. @@ -100700,9 +101136,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -100725,7 +101161,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: true content: @@ -100755,16 +101191,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -100788,8 +101224,8 @@ paths: parameters: - *337 - *338 - - *596 - - *537 + - *603 + - *539 responses: '204': description: Response @@ -100832,7 +101268,7 @@ paths: oneOf: - allOf: - *302 - - &597 + - &604 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100853,67 +101289,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *597 + - *604 - allOf: - *304 - - *597 + - *604 - allOf: - *305 - - *597 + - *604 - allOf: - - *598 - - *597 + - *605 + - *604 - allOf: - *306 - - *597 + - *604 - allOf: - *307 - - *597 + - *604 - allOf: - *308 - - *597 + - *604 - allOf: - *309 - - *597 + - *604 - allOf: - *310 - - *597 + - *604 - allOf: - *311 - - *597 + - *604 - allOf: - *312 - - *597 + - *604 - allOf: - *313 - - *597 + - *604 - allOf: - *314 - - *597 + - *604 - allOf: - *315 - - *597 + - *604 - allOf: - *320 - - *597 + - *604 - allOf: - *321 - - *597 + - *604 - allOf: - *322 - - *597 + - *604 - allOf: - *316 - - *597 + - *604 - allOf: - *317 - - *597 + - *604 - allOf: - *318 - - *597 + - *604 - allOf: - *319 - - *597 + - *604 examples: default: value: @@ -100964,7 +101400,7 @@ paths: schema: type: boolean default: true - - *599 + - *606 responses: '200': description: Response @@ -101049,7 +101485,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *600 + items: *607 required: - name - enforcement @@ -101082,7 +101518,7 @@ paths: application/json: schema: *323 examples: - default: &611 + default: &618 value: id: 42 name: super cool ruleset @@ -101132,11 +101568,11 @@ paths: parameters: - *337 - *338 - - *601 - - *602 - - *603 - - *604 - - *605 + - *608 + - *609 + - *610 + - *611 + - *612 - *17 - *19 responses: @@ -101144,9 +101580,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *613 examples: - default: *607 + default: *614 '404': *6 '500': *53 x-github: @@ -101169,15 +101605,15 @@ paths: parameters: - *337 - *338 - - *608 + - *615 responses: '200': description: Response content: application/json: - schema: *609 + schema: *616 examples: - default: *610 + default: *617 '404': *6 '500': *53 x-github: @@ -101228,7 +101664,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '500': *53 put: @@ -101281,7 +101717,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *600 + items: *607 examples: default: value: @@ -101311,7 +101747,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '422': *15 '500': *53 @@ -101373,7 +101809,7 @@ paths: type: array items: *326 examples: - default: *612 + default: *619 '404': *6 '500': *53 x-github: @@ -101411,7 +101847,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *620 examples: default: value: @@ -101468,17 +101904,7 @@ paths: parameters: - *337 - *338 - - *614 - - *615 - - *616 - - *617 - - *618 - - *619 - - *620 - *621 - - *60 - - *19 - - *17 - *622 - *623 - *624 @@ -101486,6 +101912,16 @@ paths: - *626 - *627 - *628 + - *60 + - *19 + - *17 + - *629 + - *630 + - *631 + - *632 + - *633 + - *634 + - *635 responses: '200': description: Response @@ -101493,7 +101929,7 @@ paths: application/json: schema: type: array - items: &632 + items: &639 type: object properties: number: *180 @@ -101509,8 +101945,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolved_at: type: - string @@ -101616,7 +102052,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *631 + - *638 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -101777,14 +102213,14 @@ paths: parameters: - *337 - *338 - - *433 - - *627 + - *435 + - *634 responses: '200': description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -101840,7 +102276,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -101848,8 +102284,8 @@ paths: schema: type: object properties: - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101897,7 +102333,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -101998,7 +102434,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 responses: @@ -102009,7 +102445,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &781 + items: &788 type: object properties: type: @@ -102036,19 +102472,19 @@ paths: - commit details: oneOf: - - *633 - - *634 - - *635 - - *636 - - *637 - - *638 - - *639 - *640 - *641 - *642 - *643 - *644 - *645 + - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 examples: default: value: @@ -102143,14 +102579,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &654 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *653 required: - reason - placeholder_id @@ -102167,7 +102603,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *654 expire_at: type: - string @@ -102230,7 +102666,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &655 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102263,15 +102699,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *648 + items: *655 backfill_scans: type: array - items: *648 + items: *655 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *655 - type: object properties: pattern_name: @@ -102284,7 +102720,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *648 + items: *655 examples: default: value: @@ -102394,9 +102830,9 @@ paths: application/json: schema: type: array - items: *649 + items: *656 examples: - default: *650 + default: *657 '400': *14 '404': *6 x-github: @@ -102590,9 +103026,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: &652 + default: &659 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102936,7 +103372,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: default: value: @@ -103084,15 +103520,15 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '200': description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 + default: *659 '403': *27 '404': *6 x-github: @@ -103118,7 +103554,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 requestBody: required: true content: @@ -103289,10 +103725,10 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 - add_credit: *652 + default: *659 + add_credit: *659 '403': *27 '404': *6 '422': @@ -103332,7 +103768,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': *37 '400': *14 @@ -103361,7 +103797,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': description: Response @@ -103502,7 +103938,7 @@ paths: application/json: schema: type: array - items: &653 + items: &660 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103875,7 +104311,7 @@ paths: application/json: schema: type: array - items: *653 + items: *660 examples: default: value: @@ -103965,7 +104401,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *661 examples: default: value: @@ -104059,7 +104495,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &662 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104159,7 +104595,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *662 examples: default: value: @@ -104369,7 +104805,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &663 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104381,7 +104817,7 @@ paths: required: - names examples: - default: &657 + default: &664 value: names: - octocat @@ -104436,9 +104872,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *663 examples: - default: *657 + default: *664 '404': *6 '422': *7 x-github: @@ -104461,7 +104897,7 @@ paths: parameters: - *337 - *338 - - &658 + - &665 name: per description: The time frame to display results for. in: query @@ -104492,7 +104928,7 @@ paths: - 128 clones: type: array - items: &659 + items: &666 title: Traffic type: object properties: @@ -104740,7 +105176,7 @@ paths: parameters: - *337 - *338 - - *658 + - *665 responses: '200': description: Response @@ -104761,7 +105197,7 @@ paths: - 3782 views: type: array - items: *659 + items: *666 required: - uniques - count @@ -105533,7 +105969,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &660 + text_matches: &667 title: Search Result Text Matches type: array items: @@ -105696,7 +106132,7 @@ paths: enum: - author-date - committer-date - - &661 + - &668 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 @@ -105784,7 +106220,7 @@ paths: url: type: string format: uri - verification: *518 + verification: *520 required: - author - committer @@ -105816,7 +106252,7 @@ paths: type: number node_id: type: string - text_matches: *660 + text_matches: *667 required: - sha - node_id @@ -106008,7 +106444,7 @@ paths: - interactions - created - updated - - *661 + - *668 - *17 - *19 - name: advanced_search @@ -106122,11 +106558,11 @@ paths: type: - string - 'null' - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: type: string state_reason: @@ -106150,7 +106586,7 @@ paths: - string - 'null' format: date-time - text_matches: *660 + text_matches: *667 pull_request: type: object properties: @@ -106424,7 +106860,7 @@ paths: enum: - created - updated - - *661 + - *668 - *17 - *19 responses: @@ -106469,7 +106905,7 @@ paths: - 'null' score: type: number - text_matches: *660 + text_matches: *667 required: - id - node_id @@ -106554,7 +106990,7 @@ paths: - forks - help-wanted-issues - updated - - *661 + - *668 - *17 - *19 responses: @@ -106800,7 +107236,7 @@ paths: - admin - pull - push - text_matches: *660 + text_matches: *667 temp_clone_token: type: string allow_merge_commit: @@ -107108,7 +107544,7 @@ paths: - string - 'null' format: uri - text_matches: *660 + text_matches: *667 related: type: - array @@ -107301,7 +107737,7 @@ paths: - followers - repositories - joined - - *661 + - *668 - *17 - *19 responses: @@ -107411,7 +107847,7 @@ paths: type: - boolean - 'null' - text_matches: *660 + text_matches: *667 blog: type: - string @@ -107493,7 +107929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &664 + - &671 name: team_id description: The unique identifier of the team. in: path @@ -107534,7 +107970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *664 + - *671 requestBody: required: true content: @@ -107635,7 +108071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *664 + - *671 responses: '204': description: Response @@ -107664,7 +108100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -107702,7 +108138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *664 + - *671 - name: role description: Filters members returned by their role in the team. in: query @@ -107753,7 +108189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -107790,7 +108226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -107830,7 +108266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -107867,7 +108303,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '200': @@ -107876,7 +108312,7 @@ paths: application/json: schema: *336 examples: - response-if-user-is-a-team-maintainer: *665 + response-if-user-is-a-team-maintainer: *672 '404': *6 x-github: githubCloudOnly: false @@ -107909,7 +108345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 requestBody: required: false @@ -107937,7 +108373,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *666 + response-if-users-membership-with-team-is-now-pending: *673 '403': description: Forbidden if team synchronization is set up '422': @@ -107971,7 +108407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -107999,7 +108435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -108041,7 +108477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -108049,7 +108485,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *667 + schema: *674 examples: alternative-response-with-extra-repository-information: value: @@ -108199,7 +108635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *664 + - *671 - *337 - *338 requestBody: @@ -108251,7 +108687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -108278,7 +108714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -108290,7 +108726,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *668 + response-if-child-teams-exist: *675 headers: Link: *66 '404': *6 @@ -108323,7 +108759,7 @@ paths: application/json: schema: oneOf: - - &669 + - &676 title: Private User description: Private User type: object @@ -108573,7 +109009,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &694 + - &701 title: Public User description: Public User type: object @@ -108907,7 +109343,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *676 examples: default: value: @@ -109253,7 +109689,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -109261,7 +109697,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -109305,7 +109741,7 @@ paths: type: integer secrets: type: array - items: &670 + items: &677 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109347,7 +109783,7 @@ paths: - visibility - selected_repositories_url examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -109425,7 +109861,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *677 examples: default: value: @@ -109723,7 +110159,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '401': *23 @@ -109781,7 +110217,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -109838,7 +110274,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &678 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109891,7 +110327,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &672 + default: &679 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109936,9 +110372,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *678 examples: - default: *672 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -109975,9 +110411,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: *673 + default: *680 '304': *35 '500': *53 '401': *23 @@ -110066,7 +110502,7 @@ paths: machine: anyOf: - type: 'null' - - *457 + - *459 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -110871,7 +111307,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '400': *14 @@ -110911,7 +111347,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '500': *53 '401': *23 '403': *27 @@ -110943,7 +111379,7 @@ paths: type: array items: *262 examples: - default: &684 + default: &691 value: - id: 197 name: hello_docker @@ -111044,7 +111480,7 @@ paths: application/json: schema: type: array - items: &674 + items: &681 title: Email description: Email type: object @@ -111114,9 +111550,9 @@ paths: application/json: schema: type: array - items: *674 + items: *681 examples: - default: &686 + default: &693 value: - email: octocat@github.com verified: true @@ -111193,7 +111629,7 @@ paths: application/json: schema: type: array - items: *674 + items: *681 examples: default: value: @@ -111451,7 +111887,7 @@ paths: application/json: schema: type: array - items: &675 + items: &682 title: GPG Key description: A unique encryption key type: object @@ -111596,7 +112032,7 @@ paths: - subkeys - revoked examples: - default: &704 + default: &711 value: - id: 3 name: Octocat's GPG Key @@ -111681,9 +112117,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *682 examples: - default: &676 + default: &683 value: id: 3 name: Octocat's GPG Key @@ -111740,7 +112176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &677 + - &684 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111752,9 +112188,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *682 examples: - default: *676 + default: *683 '404': *6 '304': *35 '403': *27 @@ -111777,7 +112213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *677 + - *684 responses: '204': description: Response @@ -112094,7 +112530,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -112244,7 +112680,7 @@ paths: application/json: schema: type: array - items: &678 + items: &685 title: Key description: Key type: object @@ -112347,9 +112783,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *685 examples: - default: &679 + default: &686 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112382,15 +112818,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '200': description: Response content: application/json: - schema: *678 + schema: *685 examples: - default: *679 + default: *686 '404': *6 '304': *35 '403': *27 @@ -112413,7 +112849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '204': description: Response @@ -112446,7 +112882,7 @@ paths: application/json: schema: type: array - items: &680 + items: &687 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112525,7 +112961,7 @@ paths: - account - plan examples: - default: &681 + default: &688 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112587,9 +113023,9 @@ paths: application/json: schema: type: array - items: *680 + items: *687 examples: - default: *681 + default: *688 headers: Link: *66 '304': *35 @@ -113607,7 +114043,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *682 + - *689 responses: '204': description: Response @@ -113720,7 +114156,7 @@ paths: - docker - nuget - container - - *683 + - *690 - *19 - *17 responses: @@ -113732,8 +114168,8 @@ paths: type: array items: *262 examples: - default: *684 - '400': *685 + default: *691 + '400': *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113762,7 +114198,7 @@ paths: application/json: schema: *262 examples: - default: &705 + default: &712 value: id: 40201 name: octo-name @@ -114124,9 +114560,9 @@ paths: application/json: schema: type: array - items: *674 + items: *681 examples: - default: *686 + default: *693 headers: Link: *66 '304': *35 @@ -114239,7 +114675,7 @@ paths: type: array items: *78 examples: - default: &693 + default: &700 summary: Default response value: - id: 1296269 @@ -114598,9 +115034,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: *687 + default: *694 headers: Link: *66 '304': *35 @@ -114680,7 +115116,7 @@ paths: application/json: schema: type: array - items: &688 + items: &695 title: Social account description: Social media account type: object @@ -114697,7 +115133,7 @@ paths: - provider - url examples: - default: &689 + default: &696 value: - provider: twitter url: https://twitter.com/github @@ -114760,9 +115196,9 @@ paths: application/json: schema: type: array - items: *688 + items: *695 examples: - default: *689 + default: *696 '422': *15 '304': *35 '404': *6 @@ -114850,7 +115286,7 @@ paths: application/json: schema: type: array - items: &690 + items: &697 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114870,7 +115306,7 @@ paths: - title - created_at examples: - default: &722 + default: &729 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114935,9 +115371,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *697 examples: - default: &691 + default: &698 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114967,7 +115403,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: - - &692 + - &699 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114979,9 +115415,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *697 examples: - default: *691 + default: *698 '404': *6 '304': *35 '403': *27 @@ -115004,7 +115440,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: - - *692 + - *699 responses: '204': description: Response @@ -115033,7 +115469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &723 + - &730 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 @@ -115058,11 +115494,11 @@ paths: type: array items: *78 examples: - default-response: *693 + default-response: *700 application/vnd.github.v3.star+json: schema: type: array - items: &724 + items: &731 title: Starred Repository description: Starred Repository type: object @@ -115431,10 +115867,10 @@ paths: application/json: schema: oneOf: - - *669 - - *694 + - *676 + - *701 examples: - default-response: &698 + default-response: &705 summary: Default response value: login: octocat @@ -115469,7 +115905,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &699 + response-with-git-hub-plan-information: &706 summary: Response with GitHub plan information value: login: octocat @@ -115526,7 +115962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &696 + - &703 name: user_id description: The unique identifier of the user. in: path @@ -115592,7 +116028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *695 + - *702 - *17 responses: '200': @@ -115627,7 +116063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *696 + - *703 - *280 requestBody: required: true @@ -115702,7 +116138,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *697 + schema: *704 examples: table_view: summary: Response for creating a table view @@ -115754,11 +116190,11 @@ paths: application/json: schema: oneOf: - - *669 - - *694 + - *676 + - *701 examples: - default-response: *698 - response-with-git-hub-plan-information: *699 + default-response: *705 + response-with-git-hub-plan-information: *706 '404': *6 x-github: githubCloudOnly: false @@ -115808,8 +116244,8 @@ paths: required: - subject_digests examples: - default: *700 - withPredicateType: *701 + default: *707 + withPredicateType: *708 responses: '200': description: Response @@ -115849,7 +116285,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *702 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116322,7 +116758,7 @@ paths: application/json: schema: *196 examples: - default: &703 + default: &710 summary: Example response for a user copilot space value: id: 42 @@ -116423,7 +116859,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 x-github: @@ -116549,7 +116985,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 '422': *15 @@ -117317,7 +117753,7 @@ paths: type: array items: *262 examples: - default: *684 + default: *691 '403': *27 '401': *23 x-github: @@ -117701,9 +118137,9 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: - default: *704 + default: *711 headers: Link: *66 x-github: @@ -117807,7 +118243,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117932,7 +118368,7 @@ paths: - docker - nuget - container - - *683 + - *690 - *70 - *19 - *17 @@ -117945,10 +118381,10 @@ paths: type: array items: *262 examples: - default: *684 + default: *691 '403': *27 '401': *23 - '400': *685 + '400': *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117978,7 +118414,7 @@ paths: application/json: schema: *262 examples: - default: *705 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118327,7 +118763,7 @@ paths: type: array items: *283 examples: - default: *706 + default: *713 headers: Link: *66 '304': *35 @@ -118387,7 +118823,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *707 + items: *714 required: - name - data_type @@ -118403,7 +118839,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *708 + iteration_configuration: *715 required: - name - data_type @@ -118425,8 +118861,8 @@ paths: value: name: Due date data_type: date - single_select_field: *709 - iteration_field: *710 + single_select_field: *716 + iteration_field: *717 responses: '201': description: Response @@ -118434,11 +118870,11 @@ paths: application/json: schema: *283 examples: - text_field: *711 - number_field: *712 - date_field: *713 - single_select_field: *714 - iteration_field: *715 + text_field: *718 + number_field: *719 + date_field: *720 + single_select_field: *721 + iteration_field: *722 '304': *35 '403': *27 '401': *23 @@ -118460,7 +118896,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *716 + - *723 - *70 responses: '200': @@ -118469,7 +118905,7 @@ paths: application/json: schema: *283 examples: - default: *717 + default: *724 headers: Link: *66 '304': *35 @@ -118826,7 +119262,7 @@ paths: parameters: - *280 - *70 - - *718 + - *725 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -119365,7 +119801,7 @@ paths: parameters: - *70 - *116 - - *719 + - *726 - *118 responses: '200': @@ -119464,9 +119900,9 @@ paths: - *116 - *117 - *118 - - *720 + - *727 - *121 - - *721 + - *728 responses: '200': description: Response when getting a billing usage summary @@ -119600,9 +120036,9 @@ paths: application/json: schema: type: array - items: *688 + items: *695 examples: - default: *689 + default: *696 headers: Link: *66 x-github: @@ -119632,9 +120068,9 @@ paths: application/json: schema: type: array - items: *690 + items: *697 examples: - default: *722 + default: *729 headers: Link: *66 x-github: @@ -119659,7 +120095,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *723 + - *730 - *60 - *17 - *19 @@ -119671,11 +120107,11 @@ paths: schema: anyOf: - type: array - items: *724 + items: *731 - type: array items: *78 examples: - default-response: *693 + default-response: *700 headers: Link: *66 x-github: @@ -119835,7 +120271,7 @@ webhooks: type: string enum: - disabled - enterprise: &725 + enterprise: &732 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -119904,7 +120340,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &726 + installation: &733 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -119925,7 +120361,7 @@ webhooks: required: - id - node_id - organization: &727 + organization: &734 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -119998,7 +120434,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &728 + repository: &735 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -120913,10 +121349,10 @@ webhooks: type: string enum: - enabled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -120992,11 +121428,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: &729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: &736 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) @@ -121219,11 +121655,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -121411,11 +121847,11 @@ webhooks: - everyone required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -121499,7 +121935,7 @@ webhooks: type: string enum: - completed - check_run: &731 + check_run: &738 title: CheckRun description: A check performed on the code of a given code change type: object @@ -121609,7 +122045,7 @@ webhooks: - examples: - neutral - deployment: *730 + deployment: *737 details_url: type: string examples: @@ -121707,10 +122143,10 @@ webhooks: - output - app - pull_requests - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -122101,11 +122537,11 @@ webhooks: type: string enum: - created - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -122499,11 +122935,11 @@ webhooks: type: string enum: - requested_action - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 requested_action: description: The action requested by the user. type: object @@ -122906,11 +123342,11 @@ webhooks: type: string enum: - rerequested - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -123895,10 +124331,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -124612,10 +125048,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -125323,10 +125759,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -125495,7 +125931,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -125647,20 +126083,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &732 + commit_oid: &739 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: *725 - installation: *726 - organization: *727 - ref: &733 + enterprise: *732 + installation: *733 + organization: *734 + ref: &740 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: *728 + repository: *735 sender: *4 required: - action @@ -125827,7 +126263,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126068,12 +126504,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -126171,7 +126607,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126356,12 +126792,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -126530,7 +126966,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126707,12 +127143,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -126813,7 +127249,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127002,9 +127438,9 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -127012,7 +127448,7 @@ webhooks: type: - string - 'null' - repository: *728 + repository: *735 sender: *4 required: - action @@ -127111,7 +127547,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127258,12 +127694,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -127432,7 +127868,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127584,10 +128020,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -127847,10 +128283,10 @@ webhooks: - updated_at - author_association - body - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -127931,18 +128367,18 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *727 - pusher_type: &734 + organization: *734 + pusher_type: &741 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &735 + ref: &742 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -127952,7 +128388,7 @@ webhooks: enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -128035,9 +128471,9 @@ webhooks: enum: - created definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128122,9 +128558,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128202,9 +128638,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128282,9 +128718,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -128361,10 +128797,10 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - repository: *728 - organization: *727 + enterprise: *732 + installation: *733 + repository: *735 + organization: *734 sender: *4 new_property_values: type: array @@ -128449,18 +128885,18 @@ webhooks: title: delete event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - pusher_type: *734 - ref: *735 + enterprise: *732 + installation: *733 + organization: *734 + pusher_type: *741 + ref: *742 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -128540,11 +128976,11 @@ webhooks: type: string enum: - assignees_changed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -128624,11 +129060,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -128709,11 +129145,11 @@ webhooks: type: string enum: - auto_reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -128794,11 +129230,11 @@ webhooks: type: string enum: - created - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -128877,11 +129313,11 @@ webhooks: type: string enum: - dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -128960,11 +129396,11 @@ webhooks: type: string enum: - fixed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129044,11 +129480,11 @@ webhooks: type: string enum: - reintroduced - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129127,11 +129563,11 @@ webhooks: type: string enum: - reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -129208,9 +129644,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - key: &736 + enterprise: *732 + installation: *733 + key: &743 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129248,8 +129684,8 @@ webhooks: - verified - created_at - read_only - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -129326,11 +129762,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - key: *736 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + key: *743 + organization: *734 + repository: *735 sender: *4 required: - action @@ -129897,12 +130333,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: &740 + workflow: &747 title: Workflow type: - object @@ -130653,13 +131089,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *495 + - *497 pull_requests: type: array - items: *580 - repository: *728 - organization: *727 - installation: *726 + items: *587 + repository: *735 + organization: *734 + installation: *733 sender: *4 responses: '200': @@ -130730,7 +131166,7 @@ webhooks: type: string enum: - approved - approver: &737 + approver: &744 type: object properties: avatar_url: @@ -130773,11 +131209,11 @@ webhooks: type: string comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: &738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: &745 type: array items: type: object @@ -130858,7 +131294,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &739 + workflow_job_run: &746 type: object properties: conclusion: @@ -131604,18 +132040,18 @@ webhooks: type: string enum: - rejected - approver: *737 + approver: *744 comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: *738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: *745 sender: *4 since: type: string - workflow_job_run: *739 + workflow_job_run: *746 workflow_job_runs: type: array items: @@ -132332,13 +132768,13 @@ webhooks: type: string enum: - requested - enterprise: *725 + enterprise: *732 environment: type: string - installation: *726 - organization: *727 - repository: *728 - requestor: &745 + installation: *733 + organization: *734 + repository: *735 + requestor: &752 title: User type: - object @@ -134271,12 +134707,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Deployment Workflow Run type: @@ -134967,7 +135403,7 @@ webhooks: type: string enum: - answered - answer: &743 + answer: &750 type: object properties: author_association: @@ -135127,11 +135563,11 @@ webhooks: - created_at - updated_at - body - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135258,11 +135694,11 @@ webhooks: - from required: - category - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135345,11 +135781,11 @@ webhooks: type: string enum: - closed - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135431,7 +135867,7 @@ webhooks: type: string enum: - created - comment: &742 + comment: &749 type: object properties: author_association: @@ -135591,11 +136027,11 @@ webhooks: - updated_at - body - reactions - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135678,12 +136114,12 @@ webhooks: type: string enum: - deleted - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135778,12 +136214,12 @@ webhooks: - from required: - body - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135867,11 +136303,11 @@ webhooks: type: string enum: - created - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -135953,11 +136389,11 @@ webhooks: type: string enum: - deleted - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136057,11 +136493,11 @@ webhooks: type: string required: - from - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136143,10 +136579,10 @@ webhooks: type: string enum: - labeled - discussion: *741 - enterprise: *725 - installation: *726 - label: &744 + discussion: *748 + enterprise: *732 + installation: *733 + label: &751 title: Label type: object properties: @@ -136179,8 +136615,8 @@ webhooks: - color - default - description - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136263,11 +136699,11 @@ webhooks: type: string enum: - locked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136349,11 +136785,11 @@ webhooks: type: string enum: - pinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136435,11 +136871,11 @@ webhooks: type: string enum: - reopened - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136524,16 +136960,16 @@ webhooks: changes: type: object properties: - new_discussion: *741 - new_repository: *728 + new_discussion: *748 + new_repository: *735 required: - new_discussion - new_repository - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136616,10 +137052,10 @@ webhooks: type: string enum: - unanswered - discussion: *741 - old_answer: *743 - organization: *727 - repository: *728 + discussion: *748 + old_answer: *750 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136701,12 +137137,12 @@ webhooks: type: string enum: - unlabeled - discussion: *741 - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136789,11 +137225,11 @@ webhooks: type: string enum: - unlocked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136875,11 +137311,11 @@ webhooks: type: string enum: - unpinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136952,7 +137388,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *725 + enterprise: *732 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -137630,9 +138066,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - forkee @@ -137778,9 +138214,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pages: description: The pages that were updated. type: array @@ -137818,7 +138254,7 @@ webhooks: - action - sha - html_url - repository: *728 + repository: *735 sender: *4 required: - pages @@ -137894,10 +138330,10 @@ webhooks: type: string enum: - created - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: &746 + organization: *734 + repositories: &753 description: An array of repository objects that the installation can access. type: array @@ -137923,8 +138359,8 @@ webhooks: - name - full_name - private - repository: *728 - requester: *745 + repository: *735 + requester: *752 sender: *4 required: - action @@ -137999,11 +138435,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138080,11 +138516,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138161,10 +138597,10 @@ webhooks: type: string enum: - added - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: &747 + organization: *734 + repositories_added: &754 description: An array of repository objects, which were added to the installation. type: array @@ -138210,15 +138646,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *728 - repository_selection: &748 + repository: *735 + repository_selection: &755 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *745 + requester: *752 sender: *4 required: - action @@ -138297,10 +138733,10 @@ webhooks: type: string enum: - removed - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: *747 + organization: *734 + repositories_added: *754 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -138327,9 +138763,9 @@ webhooks: - name - full_name - private - repository: *728 - repository_selection: *748 - requester: *745 + repository: *735 + repository_selection: *755 + requester: *752 sender: *4 required: - action @@ -138408,11 +138844,11 @@ webhooks: type: string enum: - suspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138594,10 +139030,10 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 target_type: type: string @@ -138676,11 +139112,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -138846,7 +139282,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 user: title: User type: @@ -138932,8 +139372,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139745,8 +140185,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140107,8 +140547,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -140188,7 +140628,7 @@ webhooks: type: string enum: - deleted - comment: &749 + comment: &756 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -140345,7 +140785,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - url - html_url @@ -140359,8 +140803,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141168,8 +141612,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141532,8 +141976,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -141613,7 +142057,7 @@ webhooks: type: string enum: - edited - changes: &773 + changes: &780 description: The changes to the comment. type: object properties: @@ -141625,9 +142069,9 @@ webhooks: type: string required: - from - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142438,8 +142882,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142800,8 +143244,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -142882,9 +143326,9 @@ webhooks: type: string enum: - pinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143697,8 +144141,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144061,8 +144505,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -144142,9 +144586,9 @@ webhooks: type: string enum: - unpinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144957,8 +145401,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145321,8 +145765,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145411,9 +145855,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145502,9 +145946,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145592,9 +146036,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145683,9 +146127,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145765,10 +146209,10 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - issue: &750 + assignee: *752 + enterprise: *732 + installation: *733 + issue: &757 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146579,11 +147023,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146703,8 +147147,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146784,8 +147228,8 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147601,11 +148045,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147868,8 +148312,8 @@ webhooks: required: - state - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -147948,8 +148392,8 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148756,11 +149200,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148879,8 +149323,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -148959,8 +149403,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149790,11 +150234,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149892,7 +150336,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &751 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150035,8 +150479,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -150135,8 +150579,8 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150947,11 +151391,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151071,9 +151515,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151153,9 +151597,9 @@ webhooks: type: string enum: - field_added - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was set or updated on the @@ -151321,8 +151765,8 @@ webhooks: - id required: - from - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151402,9 +151846,9 @@ webhooks: type: string enum: - field_removed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -151491,8 +151935,8 @@ webhooks: - 'null' required: - id - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151572,8 +152016,8 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152383,11 +152827,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152507,9 +152951,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -152589,8 +153033,8 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153425,11 +153869,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153526,8 +153970,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -153606,8 +154050,8 @@ webhooks: type: string enum: - milestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154436,11 +154880,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154537,9 +154981,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *751 - organization: *727 - repository: *728 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -155426,11 +155870,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156022,8 +156466,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156830,11 +157274,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156957,8 +157401,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -157038,9 +157482,9 @@ webhooks: type: string enum: - pinned - enterprise: *725 - installation: *726 - issue: &752 + enterprise: *732 + installation: *733 + issue: &759 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -157845,11 +158289,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157968,8 +158412,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -158048,8 +158492,8 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158882,11 +159326,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158984,8 +159428,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -159873,11 +160317,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160487,11 +160931,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -160571,12 +161015,12 @@ webhooks: type: string enum: - typed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -160657,7 +161101,7 @@ webhooks: type: string enum: - unassigned - assignee: &776 + assignee: &783 title: User type: - object @@ -160729,11 +161173,11 @@ webhooks: required: - login - id - enterprise: *725 - installation: *726 - issue: *750 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + organization: *734 + repository: *735 sender: *4 required: - action @@ -160812,12 +161256,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - issue: *750 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -160897,8 +161341,8 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161731,11 +162175,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161832,8 +162276,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161913,11 +162357,11 @@ webhooks: type: string enum: - unpinned - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161996,12 +162440,12 @@ webhooks: type: string enum: - untyped - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162081,11 +162525,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162163,11 +162607,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162277,11 +162721,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162363,9 +162807,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: &753 + enterprise: *732 + installation: *733 + marketplace_purchase: &760 title: Marketplace Purchase type: object required: @@ -162453,8 +162897,8 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: &754 + organization: *734 + previous_marketplace_purchase: &761 title: Marketplace Purchase type: object properties: @@ -162538,7 +162982,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -162618,10 +163062,10 @@ webhooks: - changed effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162709,7 +163153,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -162791,10 +163235,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162880,7 +163324,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -162961,8 +163405,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 marketplace_purchase: title: Marketplace Purchase type: object @@ -163048,9 +163492,9 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -163130,12 +163574,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -163237,11 +163681,11 @@ webhooks: type: string required: - to - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163343,11 +163787,11 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163426,11 +163870,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163508,11 +163952,11 @@ webhooks: type: string enum: - added - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163590,7 +164034,7 @@ webhooks: required: - login - id - team: &755 + team: &762 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163820,11 +164264,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163903,7 +164347,7 @@ webhooks: required: - login - id - team: *755 + team: *762 required: - action - scope @@ -163985,8 +164429,8 @@ webhooks: type: string enum: - checks_requested - installation: *726 - merge_group: &756 + installation: *733 + merge_group: &763 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164012,8 +164456,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164099,10 +164543,10 @@ webhooks: - merged - invalidated - dequeued - installation: *726 - merge_group: *756 - organization: *727 - repository: *728 + installation: *733 + merge_group: *763 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164175,7 +164619,7 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164284,12 +164728,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *726 - organization: *727 + installation: *733 + organization: *734 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -164369,11 +164813,11 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164452,9 +164896,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - milestone: &757 + enterprise: *732 + installation: *733 + milestone: &764 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164596,8 +165040,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164676,11 +165120,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164790,11 +165234,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164874,11 +165318,11 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - milestone: *757 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *764 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164957,11 +165401,11 @@ webhooks: type: string enum: - blocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165040,11 +165484,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165123,9 +165567,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - membership: &758 + enterprise: *732 + installation: *733 + membership: &765 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165235,8 +165679,8 @@ webhooks: - role - organization_url - user - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165314,11 +165758,11 @@ webhooks: type: string enum: - member_added - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165397,8 +165841,8 @@ webhooks: type: string enum: - member_invited - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165520,10 +165964,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 - user: *745 + user: *752 required: - action - invitation @@ -165601,11 +166045,11 @@ webhooks: type: string enum: - member_removed - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165692,11 +166136,11 @@ webhooks: properties: from: type: string - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165773,9 +166217,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -166298,7 +166742,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &766 title: Ruby Gems metadata type: object properties: @@ -166395,7 +166839,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -166471,9 +166915,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -166835,7 +167279,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 source_url: type: string format: uri @@ -166906,7 +167350,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -167086,12 +167530,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *725 + enterprise: *732 id: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - id @@ -167168,7 +167612,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &767 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167318,10 +167762,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *725 - organization: *727 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167398,11 +167842,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167478,11 +167922,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167557,11 +168001,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *727 - enterprise: *725 + personal_access_token_request: *767 + organization: *734 + enterprise: *732 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -167666,7 +168110,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *768 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167698,8 +168142,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 zen: description: Random string of GitHub zen. @@ -167944,10 +168388,10 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: &762 + enterprise: *732 + installation: *733 + organization: *734 + project_card: &769 title: Project Card type: object properties: @@ -168070,7 +168514,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -168151,11 +168595,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -168235,9 +168679,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: title: Project Card type: object @@ -168367,7 +168811,7 @@ webhooks: repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -168461,11 +168905,11 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -168559,9 +169003,9 @@ webhooks: - from required: - column_id - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: allOf: - title: Project Card @@ -168758,7 +169202,7 @@ webhooks: type: string required: - after_id - repository: *728 + repository: *735 sender: *4 required: - action @@ -168838,10 +169282,10 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - organization: *727 - project: &764 + enterprise: *732 + installation: *733 + organization: *734 + project: &771 title: Project type: object properties: @@ -168968,7 +169412,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -169048,10 +169492,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_column: &763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: &770 title: Project Column type: object properties: @@ -169091,7 +169535,7 @@ webhooks: - name - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -169170,14 +169614,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -169266,11 +169710,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -169350,11 +169794,11 @@ webhooks: type: string enum: - moved - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -169434,11 +169878,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -169518,14 +169962,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project: *764 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -169626,11 +170070,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -169709,11 +170153,11 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -169794,8 +170238,8 @@ webhooks: type: string enum: - closed - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -169877,8 +170321,8 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -169960,8 +170404,8 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170083,8 +170527,8 @@ webhooks: type: string to: type: string - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -170168,7 +170612,7 @@ webhooks: type: string enum: - archived - changes: &768 + changes: &775 type: object properties: archived_at: @@ -170184,9 +170628,9 @@ webhooks: - string - 'null' format: date-time - installation: *726 - organization: *727 - projects_v2_item: &765 + installation: *733 + organization: *734 + projects_v2_item: &772 title: Projects v2 Item description: An item belonging to a project type: object @@ -170326,9 +170770,9 @@ webhooks: - 'null' to: type: string - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170410,9 +170854,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170493,9 +170937,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170600,7 +171044,7 @@ webhooks: oneOf: - type: string - type: integer - - &766 + - &773 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170624,7 +171068,7 @@ webhooks: required: - id - name - - &767 + - &774 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170664,8 +171108,8 @@ webhooks: oneOf: - type: string - type: integer - - *766 - - *767 + - *773 + - *774 type: - 'null' - string @@ -170688,9 +171132,9 @@ webhooks: - 'null' required: - body - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170787,9 +171231,9 @@ webhooks: type: - string - 'null' - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170872,10 +171316,10 @@ webhooks: type: string enum: - restored - changes: *768 - installation: *726 - organization: *727 - projects_v2_item: *765 + changes: *775 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -170957,8 +171401,8 @@ webhooks: type: string enum: - reopened - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171040,9 +171484,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171123,9 +171567,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171271,9 +171715,9 @@ webhooks: - string - 'null' format: date - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -171344,10 +171788,10 @@ webhooks: title: public event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - repository @@ -171424,13 +171868,13 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - number: &770 + assignee: *752 + enterprise: *732 + installation: *733 + number: &777 description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -173782,7 +174226,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -173864,11 +174308,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -176213,7 +176657,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -176295,11 +176739,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -178644,7 +179088,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -178726,13 +179170,13 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: &771 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: &778 allOf: - - *580 + - *587 - type: object properties: allow_auto_merge: @@ -178794,7 +179238,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *728 + repository: *735 sender: *4 required: - action @@ -178875,12 +179319,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -178960,11 +179404,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: &772 + number: *777 + organization: *734 + pull_request: &779 title: Pull Request type: object properties: @@ -181308,7 +181752,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -181387,11 +181831,11 @@ webhooks: type: string enum: - dequeued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -183754,7 +184198,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *728 + repository: *735 sender: *4 required: - action @@ -183878,12 +184322,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -183963,11 +184407,11 @@ webhooks: type: string enum: - enqueued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -186315,7 +186759,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -186395,11 +186839,11 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -188750,7 +189194,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -188831,10 +189275,10 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -191183,7 +191627,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -191263,12 +191707,12 @@ webhooks: type: string enum: - milestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: *772 - repository: *728 + number: *777 + organization: *734 + pull_request: *779 + repository: *735 sender: *4 required: - action @@ -191347,12 +191791,12 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -191433,12 +191877,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -191518,12 +191962,12 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -191898,9 +192342,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -194133,7 +194577,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -194213,7 +194657,7 @@ webhooks: type: string enum: - deleted - comment: &774 + comment: &781 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -194506,9 +194950,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -196729,7 +197173,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -196809,11 +197253,11 @@ webhooks: type: string enum: - edited - changes: *773 - comment: *774 - enterprise: *725 - installation: *726 - organization: *727 + changes: *780 + comment: *781 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -199037,7 +199481,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -199118,9 +199562,9 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -201356,7 +201800,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 review: description: The review that was affected. type: object @@ -201607,9 +202051,9 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -203718,8 +204162,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: &775 + repository: *735 + review: &782 description: The review that was affected. type: object properties: @@ -203957,12 +204401,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -206312,7 +206756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -206398,12 +206842,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -208760,7 +209204,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208955,12 +209399,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -211312,7 +211756,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -211399,12 +211843,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -213747,7 +214191,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213931,9 +214375,9 @@ webhooks: type: string enum: - submitted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -216172,8 +216616,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: *775 + repository: *735 + review: *782 sender: *4 required: - action @@ -216253,9 +216697,9 @@ webhooks: type: string enum: - resolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -218403,7 +218847,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -218800,9 +219244,9 @@ webhooks: type: string enum: - unresolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -220933,7 +221377,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -221332,10 +221776,10 @@ webhooks: type: string before: type: string - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -223673,7 +224117,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -223755,11 +224199,11 @@ webhooks: type: string enum: - unassigned - assignee: *776 - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + assignee: *783 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -226112,7 +226556,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -226191,11 +226635,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -228537,7 +228981,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -228618,10 +229062,10 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -230953,7 +231397,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -231156,7 +231600,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *725 + enterprise: *732 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -231251,8 +231695,8 @@ webhooks: - url - author - committer - installation: *726 - organization: *727 + installation: *733 + organization: *734 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -231851,9 +232295,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -232330,7 +232774,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -232386,7 +232830,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -232464,9 +232908,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -232778,7 +233222,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -232828,7 +233272,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -232905,10 +233349,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - release: &777 + enterprise: *732 + installation: *733 + organization: *734 + release: &784 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -233239,7 +233683,7 @@ webhooks: - updated_at - zipball_url - body - repository: *728 + repository: *735 sender: *4 required: - action @@ -233316,11 +233760,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -233437,11 +233881,11 @@ webhooks: type: boolean required: - to - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -233519,9 +233963,9 @@ webhooks: type: string enum: - prereleased - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -233857,7 +234301,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -233933,10 +234377,10 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - release: &778 + enterprise: *732 + installation: *733 + organization: *734 + release: &785 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234269,7 +234713,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -234345,11 +234789,11 @@ webhooks: type: string enum: - released - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -234425,11 +234869,11 @@ webhooks: type: string enum: - unpublished - enterprise: *725 - installation: *726 - organization: *727 - release: *778 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *785 + repository: *735 sender: *4 required: - action @@ -234505,11 +234949,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -234585,11 +235029,11 @@ webhooks: type: string enum: - reported - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -234665,10 +235109,10 @@ webhooks: type: string enum: - archived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -234745,10 +235189,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -234826,10 +235270,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -234914,10 +235358,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235032,10 +235476,10 @@ webhooks: - 'null' items: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235107,10 +235551,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 status: type: string @@ -235191,10 +235635,10 @@ webhooks: type: string enum: - privatized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235271,10 +235715,10 @@ webhooks: type: string enum: - publicized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235368,10 +235812,10 @@ webhooks: - name required: - repository - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -235451,10 +235895,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -235533,10 +235977,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -235615,10 +236059,10 @@ webhooks: type: string enum: - edited - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 changes: type: object @@ -235680,16 +236124,16 @@ webhooks: properties: added: type: array - items: *600 + items: *607 deleted: type: array - items: *600 + items: *607 updated: type: array items: type: object properties: - rule: *600 + rule: *607 changes: type: object properties: @@ -235926,10 +236370,10 @@ webhooks: - from required: - owner - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236007,10 +236451,10 @@ webhooks: type: string enum: - unarchived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236088,7 +236532,7 @@ webhooks: type: string enum: - create - alert: &779 + alert: &786 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236213,10 +236657,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236426,10 +236870,10 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236507,11 +236951,11 @@ webhooks: type: string enum: - reopen - alert: *779 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *786 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236713,10 +237157,10 @@ webhooks: enum: - fixed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236794,7 +237238,7 @@ webhooks: type: string enum: - assigned - alert: &780 + alert: &787 type: object properties: number: *180 @@ -236934,10 +237378,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237015,11 +237459,11 @@ webhooks: type: string enum: - created - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237100,11 +237544,11 @@ webhooks: type: string enum: - created - alert: *780 - installation: *726 - location: *781 - organization: *727 - repository: *728 + alert: *787 + installation: *733 + location: *788 + organization: *734 + repository: *735 sender: *4 required: - location @@ -237342,11 +237786,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237424,11 +237868,11 @@ webhooks: type: string enum: - reopened - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237506,11 +237950,11 @@ webhooks: type: string enum: - resolved - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237588,12 +238032,12 @@ webhooks: type: string enum: - unassigned - alert: *780 + alert: *787 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237671,11 +238115,11 @@ webhooks: type: string enum: - validated - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237805,10 +238249,10 @@ webhooks: - organization - enterprise - - repository: *728 - enterprise: *725 - installation: *726 - organization: *727 + repository: *735 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -237886,11 +238330,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: &782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: &789 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238063,11 +238507,11 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: *782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: *789 sender: *4 required: - action @@ -238140,10 +238584,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238317,9 +238761,9 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: *340 sender: *4 required: @@ -238398,12 +238842,12 @@ webhooks: type: string enum: - cancelled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: &783 + sponsorship: &790 type: object properties: created_at: @@ -238708,12 +239152,12 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -238801,12 +239245,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -238883,17 +239327,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &784 + effective_date: &791 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: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -238967,7 +239411,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &785 + changes: &792 type: object properties: tier: @@ -239011,13 +239455,13 @@ webhooks: - from required: - tier - effective_date: *784 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + effective_date: *791 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -239094,13 +239538,13 @@ webhooks: type: string enum: - tier_changed - changes: *785 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + changes: *792 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -239174,10 +239618,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239261,10 +239705,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239698,15 +240142,15 @@ webhooks: type: - string - 'null' - enterprise: *725 + enterprise: *732 id: description: The unique identifier of the status. type: integer - installation: *726 + installation: *733 name: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 sha: description: The Commit SHA. @@ -239822,9 +240266,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239913,9 +240357,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240004,9 +240448,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240095,9 +240539,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -240173,12 +240617,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - team: &786 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240408,9 +240852,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -240880,7 +241324,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -240956,9 +241400,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -241428,7 +241872,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -241505,9 +241949,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -241977,7 +242421,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -242121,9 +242565,9 @@ webhooks: - from required: - permissions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -242593,7 +243037,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - changes @@ -242671,9 +243115,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -243143,7 +243587,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -243219,10 +243663,10 @@ webhooks: type: string enum: - started - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -243295,17 +243739,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *725 + enterprise: *732 inputs: type: - object - 'null' additionalProperties: true - installation: *726 - organization: *727 + installation: *733 + organization: *734 ref: type: string - repository: *728 + repository: *735 sender: *4 workflow: type: string @@ -243387,10 +243831,10 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -243646,7 +244090,7 @@ webhooks: type: string required: - conclusion - deployment: *495 + deployment: *497 required: - action - repository @@ -243725,10 +244169,10 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -244010,7 +244454,7 @@ webhooks: required: - status - steps - deployment: *495 + deployment: *497 required: - action - repository @@ -244089,10 +244533,10 @@ webhooks: type: string enum: - queued - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -244238,7 +244682,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -244317,10 +244761,10 @@ webhooks: type: string enum: - waiting - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -244467,7 +244911,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -244547,12 +244991,12 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -245571,12 +246015,12 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -246580,12 +247024,12 @@ webhooks: type: string enum: - requested - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index c07a0dc1ba..1c08ea5297 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -39941,6 +39941,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -39995,6 +40022,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -44498,6 +44532,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -44552,6 +44613,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -45677,6 +45745,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -67535,6 +67630,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -67589,6 +67711,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -76164,6 +76293,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -76218,6 +76374,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -80721,6 +80884,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -80775,6 +80965,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -81900,6 +82097,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -158867,6 +159091,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -158921,6 +159172,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -163424,6 +163682,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -163478,6 +163763,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -164603,6 +164895,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -181877,6 +182196,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -181931,6 +182277,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -217095,6 +217448,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -217149,6 +217529,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -229154,6 +229541,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -229208,6 +229622,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -361724,17 +362145,17 @@ } } }, - "/repos/{owner}/{repo}/code-quality/setup": { + "/repos/{owner}/{repo}/code-quality/findings": { "get": { - "summary": "Get a code quality setup configuration", - "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-quality" ], - "operationId": "code-quality/get-setup", + "operationId": "code-quality/list-findings-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + "url": "https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" }, "parameters": [ { @@ -361754,6 +362175,60 @@ "schema": { "type": "string" } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } } ], "responses": { @@ -361762,92 +362237,669 @@ "content": { "application/json": { "schema": { - "description": "Configuration for code quality setup.", - "type": "object", - "properties": { - "state": { - "description": "Code quality setup has been configured or not.", - "type": "string", - "enum": [ - "configured", - "not-configured" - ] - }, - "languages": { - "description": "Languages to be analyzed.", - "type": "array", - "items": { + "type": "array", + "items": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", "type": "string", "enum": [ - "csharp", - "go", - "java-kotlin", - "javascript-typescript", - "python", - "ruby", - "rust" + "open", + "dismissed" ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" } }, - "runner_type": { - "description": "Runner type to be used.", - "type": [ - "string", - "null" - ], - "enum": [ - "standard", - "labeled", - null - ] - }, - "runner_label": { - "description": "Runner label to be used if the runner type is labeled.", - "type": [ - "string", - "null" - ], - "examples": [ - "code-scanning" - ] - }, - "updated_at": { - "description": "Timestamp of latest configuration update.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2023-12-06T14:20:20.000Z" - ] - }, - "schedule": { - "description": "The frequency of the periodic analysis.", - "type": [ - "string", - "null" - ], - "enum": [ - "weekly", - null - ] - } + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] } }, "examples": { "default": { - "value": { - "state": "configured", - "languages": [ - "javascript-typescript", - "python" - ], - "runner_type": "standard", - "runner_label": null, - "updated_at": "2023-01-01T00:00:00Z", - "schedule": "weekly" - } + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "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": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, + "examples": { + "default": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/setup": { + "get": { + "summary": "Get a code quality setup configuration", + "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-setup", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + }, + "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" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2023-12-06T14:20:20.000Z" + ] + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + }, + "examples": { + "default": { + "value": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + } } } } @@ -365859,7 +366911,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -428312,6 +429364,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -428366,6 +429445,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -432869,6 +433955,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -432923,6 +434036,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -434048,6 +435168,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -462506,6 +463653,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -462560,6 +463734,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -467072,6 +468253,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -467126,6 +468334,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -468802,6 +470017,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -468848,7 +470090,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -469929,6 +471172,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -469974,7 +471244,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -470995,6 +472266,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -471040,7 +472338,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -472139,6 +473438,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -477804,6 +479130,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -477858,6 +479211,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -479149,6 +480509,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -483937,6 +485377,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -483991,6 +485458,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -485282,6 +486756,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -489866,6 +491420,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -489920,6 +491501,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -490867,4066 +492455,4108 @@ "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" + "allOf": [ + { + "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" }, - { - "title": "Simple User", - "description": "A GitHub user.", + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { "type": "object", "properties": { - "name": { + "merged_at": { "type": [ "string", "null" - ] + ], + "format": "date-time" }, - "email": { + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { "type": [ "string", "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "login": { + "node_id": { "type": "string", - "examples": [ - "octocat" + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { "id": { + "description": "Unique identifier of the repository", "type": "integer", "format": "int64", "examples": [ - 1 + 42 ] }, "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "avatar_url": { + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://github.com/octocat/Hello-World" ] }, - "gravatar_id": { + "description": { "type": [ "string", "null" ], "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "This your first repo!" ] }, + "fork": { + "type": "boolean" + }, "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "html_url": { + "archive_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "followers_url": { + "assignees_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "following_url": { + "blobs_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" ] }, - "gists_url": { + "branches_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" ] }, - "starred_url": { + "collaborators_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" ] }, - "subscriptions_url": { + "comments_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" ] }, - "organizations_url": { + "commits_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" ] }, - "repos_url": { + "compare_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" ] }, - "events_url": { + "contents_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" ] }, - "received_events_url": { + "contributors_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "type": { + "deployments_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "site_admin": { - "type": "boolean" + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] }, - "starred_at": { + "events_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/events" ] }, - "user_view_type": { + "forks_url": { "type": "string", + "format": "uri", "examples": [ - "public" + "http://api.github.com/repos/octocat/Hello-World/forks" ] - } - }, - "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" - ] - } - ] - }, - "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", - "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", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] - }, - "assignee": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "email": { - "type": [ - "string", - "null" + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" ] }, - "login": { + "git_tags_url": { "type": "string", "examples": [ - "octocat" + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "id": { - "type": "integer", - "format": "int64", + "git_url": { + "type": "string", "examples": [ - 1 + "git:github.com/octocat/Hello-World.git" ] }, - "node_id": { + "issue_comment_url": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" ] }, - "avatar_url": { + "issue_events_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "issues_url": { + "type": "string", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" ] }, - "url": { + "keys_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" ] }, - "html_url": { + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/languages" ] }, - "followers_url": { + "merges_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/merges" ] }, - "following_url": { + "milestones_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" ] }, - "gists_url": { + "notifications_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" ] }, - "starred_url": { + "pulls_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" ] }, - "subscriptions_url": { + "releases_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" ] }, - "organizations_url": { + "ssh_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "git@github.com:octocat/Hello-World.git" ] }, - "repos_url": { + "stargazers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "events_url": { + "statuses_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "received_events_url": { + "subscribers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "type": { + "subscription_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "tags_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/tags" ] }, - "user_view_type": { + "teams_url": { "type": "string", + "format": "uri", "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" + "http://api.github.com/repos/octocat/Hello-World/teams" ] }, - "html_url": { + "trees_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" ] }, - "labels_url": { + "clone_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + "https://github.com/octocat/Hello-World.git" ] }, - "id": { - "type": "integer", + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - 1002604 + "git:git.example.com/octocat/Hello-World" ] }, - "node_id": { + "hooks_url": { "type": "string", + "format": "uri", "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 + "http://api.github.com/repos/octocat/Hello-World/hooks" ] }, - "state": { - "description": "The state of the milestone.", + "svn_url": { "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", + "format": "uri", "examples": [ - "open" + "https://svn.github.com/octocat/Hello-World" ] }, - "title": { - "description": "The title of the milestone.", - "type": "string", + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - "v1.0" + "https://github.com" ] }, - "description": { + "language": { "type": [ "string", "null" - ], + ] + }, + "forks_count": { + "type": "integer", "examples": [ - "Tracking milestone for version 1.0" + 9 ] }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "stargazers_count": { + "type": "integer", + "examples": [ + 80 ] }, - "open_issues": { + "watchers_count": { "type": "integer", "examples": [ - 4 + 80 ] }, - "closed_issues": { + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", "type": "integer", "examples": [ - 8 + 108 ] }, - "created_at": { + "default_branch": { + "description": "The default branch of the repository.", "type": "string", - "format": "date-time", "examples": [ - "2011-04-10T20:09:31Z" + "master" ] }, - "updated_at": { - "type": "string", - "format": "date-time", + "open_issues_count": { + "type": "integer", "examples": [ - "2014-03-03T18:58:10Z" + 0 ] }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", "examples": [ - "2013-02-12T13:22:01Z" + true ] }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", "examples": [ - "2012-10-09T23:39:01Z" + true ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "email": { - "type": [ - "string", - "null" + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "login": { - "type": "string", + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, "examples": [ - "octocat" + true ] }, - "id": { - "type": "integer", - "format": "int64", + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", "examples": [ - 1 + true ] }, - "node_id": { - "type": "string", + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", "examples": [ - "MDQ6VXNlcjE=" + true ] }, - "avatar_url": { + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", "type": "string", - "format": "uri", + "enum": [ + "all", + "collaborators_only" + ], "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "all" ] }, - "gravatar_id": { + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { "type": [ "string", "null" ], + "format": "date-time", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "2011-01-26T19:06:43Z" ] }, - "url": { - "type": "string", - "format": "uri", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat" + "2011-01-26T19:01:12Z" ] }, - "html_url": { - "type": "string", - "format": "uri", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://github.com/octocat" + "2011-01-26T19:14:43Z" ] }, - "followers_url": { - "type": "string", - "format": "uri", + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/followers" + true ] }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] + "temp_clone_token": { + "type": "string" }, - "gists_url": { - "type": "string", + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + true ] }, - "starred_url": { - "type": "string", + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + false ] }, - "subscriptions_url": { - "type": "string", - "format": "uri", + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + false ] }, - "organizations_url": { - "type": "string", - "format": "uri", + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/orgs" + false ] }, - "repos_url": { + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." }, - "events_url": { + "squash_merge_commit_message": { "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." }, - "received_events_url": { + "merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." }, - "type": { + "merge_commit_message": { "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "User" + true ] }, - "site_admin": { + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, "type": "boolean" }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, "starred_at": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "\"2020-07-09T00:17:42Z\"" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + }, + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "version": "2026-03-10" + } ] }, - "license": { + "performed_via_github_app": { "anyOf": [ { "type": "null" }, { - "title": "License Simple", - "description": "License Simple", - "type": "object", + "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", + "null" + ], "properties": { - "key": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", "type": "string", "examples": [ - "mit" + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", "type": "string", "examples": [ - "MIT License" + "Probot Owners" ] }, - "url": { + "description": { "type": [ "string", "null" ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", "format": "uri", "examples": [ - "https://api.github.com/licenses/mit" + "https://example.com" ] }, - "spdx_id": { - "type": [ - "string", - "null" - ], + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "MIT" + "https://github.com/apps/super-ci" ] }, - "node_id": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "MDc6TGljZW5zZW1pdA==" + "2017-07-08T16:18:44-04:00" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri" + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ - "key", + "id", + "node_id", + "owner", "name", - "url", - "spdx_id", - "node_id" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] } ] }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" ] }, - "mirror_url": { + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", "type": [ "string", "null" ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] + "format": "uri" }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" - ] - }, - "homepage": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" - }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [ - true - ] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "master_branch": { - "type": "string" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ], - "x-github-breaking-changes": [ - { - "changeset": "remove_use_squash_pr_title_as_default", - "patch": { - "properties": { - "use_squash_pr_title_as_default": null - } - }, - "version": "2026-03-10" - }, - { - "changeset": "deprecate_beta_media_type", - "patch": { - "properties": { - "master_branch": null - } - }, - "version": "2026-03-10" - }, - { - "changeset": "remove_has_downloads", - "patch": { - "properties": { - "has_downloads": null - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "version": "2026-03-10" - } - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "pinned_comment": { + "anyOf": [ + { + "type": "null" }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" }, - "gravatar_id": { + { + "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": [ - "string", + "object", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] - }, + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] + "format": "uri" }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] + "total_count": { + "type": "integer" }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "+1": { + "type": "integer" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "-1": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "laugh": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "confused": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "heart": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "hooray": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "eyes": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" ] } - }, - "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", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, "id": { - "description": "Unique identifier of the enterprise", + "description": "Unique identifier for the option.", "type": "integer", + "format": "int64", "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + 1 ] }, "name": { - "description": "The name of the enterprise.", + "description": "The name of the option", "type": "string", "examples": [ - "Octo Business" + "High" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "color": { + "description": "The color of the option", "type": "string", "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + "red" ] - }, - "avatar_url": { - "type": "string", - "format": "uri" } }, "required": [ "id", - "node_id", "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" + "color" ] } - ] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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": [ + "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", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" + "user", + "created_at", + "updated_at" ], - "format": "uri" - }, - "pinned_comment": { - "anyOf": [ + "x-github-breaking-changes": [ { - "type": "null" + "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" }, { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } + "changeset": "remove_singular_assignee_from_issues_and_pull_requests", + "patch": { + "properties": { + "assignee": null }, "required": [ + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", - "name", - "color" + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" ] }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" } - }, - "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" + "type": "object", + "properties": {} } ] }, @@ -499204,6 +500834,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -499258,6 +500915,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -503527,6 +505191,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -503581,6 +505272,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -505057,6 +506755,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -505103,7 +506828,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -506158,6 +507884,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -506203,7 +507956,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -510240,6 +511994,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -510294,6 +512075,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -514638,6 +516426,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -514692,6 +516507,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -519132,6 +520954,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -519186,6 +521035,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -523648,6 +525504,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -523702,6 +525585,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -535651,1144 +537541,2182 @@ "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + { + "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", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] + "type": "integer" }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } + "node_id": { + "type": "string" }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" + "url": { + "type": "string" }, - { - "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", - "examples": [ - 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" + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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", - "examples": [ - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - { - "type": "number", - "examples": [ - 42.5 - ] + "event": { + "type": "string" }, - { - "type": "integer", - "examples": [ - 1 + "commit_id": { + "type": [ + "string", + "null" ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 + }, + "commit_url": { + "type": [ + "string", + "null" ] }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", "id", - "name", - "color" + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" - } - ] - } - ] - } - } - } - } - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", - "required": [ - "code" - ], "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": { "type": [ "string", "null" ] }, - { + "email": { "type": [ - "integer", + "string", "null" ] }, - { + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - } + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ] - } - } - } - } - } - } - } - } - }, - "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", - "examples": [ - 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", - "examples": [ - "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" + "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "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": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "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" + } + } + } + }, + "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", @@ -536796,7 +539724,6 @@ "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", @@ -536810,6 +539737,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -536948,12 +539882,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -536965,18 +539901,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -536997,78 +539936,18 @@ } } } - } - }, - "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": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": [ - "string", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } + "type": "string" } } } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -537119,18 +539998,14 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -537138,76 +540013,10 @@ "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { + "url": { "type": "string" }, - "documentation_url": { + "status": { "type": "string" } } @@ -537217,25 +540026,22 @@ } }, "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).\"", + }, + "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/delete-issue-field-value", + "operationId": "issues/add-issue-field-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue" + "url": "https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -537264,20 +540070,386 @@ "schema": { "type": "integer" } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "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", + "examples": [ + 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", + "examples": [ + "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": { - "204": { - "description": "Issue field value deleted successfully" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, "403": { "description": "Forbidden", @@ -537435,19 +540607,17 @@ "category": "issues", "subcategory": "issue-field-values" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { - "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + }, + "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/list-labels-on-issue", + "operationId": "issues/set-issue-field-values", "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#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -537476,26 +540646,90 @@ "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 - } } ], + "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", + "examples": [ + 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", + "examples": [ + "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", @@ -537503,54 +540737,773 @@ "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", "examples": [ - 208045946 + 1 ] }, - "node_id": { + "issue_field_name": { + "description": "The human-readable name of the issue field.", "type": "string", "examples": [ - "MDU6TGFiZWwyMDgwNDU5NDY=" + "Priority" ] }, - "url": { - "description": "URL for the label", + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/labels/bug" + "IFT_GDKND" ] }, - "name": { - "description": "The name of the label.", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "examples": [ - "bug" - ] - }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": [ - "string", - "null" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" ], "examples": [ - "Something isn't working" + "text" ] }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string", - "examples": [ + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-labels-on-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/labels#list-labels-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": "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", + "examples": [ + 208045946 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDU6TGFiZWwyMDgwNDU5NDY=" + ] + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/labels/bug" + ] + }, + "name": { + "description": "The name of the label.", + "type": "string", + "examples": [ + "bug" + ] + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": [ + "string", + "null" + ], + "examples": [ + "Something isn't working" + ] + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string", + "examples": [ "FFFFFF" ] }, @@ -542982,6 +546935,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -543036,6 +547016,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -548545,6 +552532,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -548599,6 +552613,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -552965,6 +556986,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -553019,6 +557067,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -557341,6 +561396,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -557395,6 +561477,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -561834,6 +565923,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -561888,6 +566004,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -573026,6 +577149,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -575910,1621 +580060,4201 @@ } ] }, - "name": { - "description": "The name of the GitHub app", + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "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" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "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", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "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", + "format": "date-time", + "type": "string", + "examples": [ + "2014-08-09T08:02:04+12:00" + ] + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "examples": [ + "monalisa.octocat@example.com" + ] + }, + "name": { + "description": "Name of the git user", + "type": "string", + "examples": [ + "Monalisa Octocat" + ] + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "format": "date-time", + "type": "string", + "examples": [ + "2014-08-09T08:02:04+12:00" + ] + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "examples": [ + "monalisa.octocat@example.com" + ] + }, + "name": { + "description": "Name of the git user", + "type": "string", + "examples": [ + "Monalisa Octocat" + ] + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "type": "string", + "examples": [ + "Fix #42" + ] + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "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", + "null" + ] + }, + "payload": { + "type": [ + "string", + "null" + ] + }, + "verified_at": { + "type": [ + "string", + "null" + ] + } + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + ] + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "body": { + "description": "The text of the review.", + "type": [ + "string", + "null" + ], + "examples": [ + "This looks great." + ] + }, + "state": { + "type": "string", + "examples": [ + "CHANGES_REQUESTED" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + ] + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "examples": [ + "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", + "null" + ], + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string", + "examples": [ + "54bb654c9e6025347f57900a4a5c2313a96b8035" + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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", + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": [ + "integer", + "null" + ], + "format": "int64", + "examples": [ + 42 + ] + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "examples": [ + "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + ] + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "examples": [ + "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + ] + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string", + "examples": [ + "config/database.yaml" + ] + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "type": "integer", + "examples": [ + 1 + ] + }, + "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.", + "type": "integer", + "examples": [ + 4 + ] + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string", + "examples": [ + "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" + ] + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer", + "examples": [ + 8 + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "description": "The text of the comment.", + "type": "string", + "examples": [ + "We should probably include a check for null values here." + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + } + }, + "required": [ + "href" + ] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + ] + } + }, + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "original_start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "start_side": { + "type": [ + "string", + "null" + ], + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "default": "RIGHT" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "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", + "examples": [ + "\"

comment body

\"" + ] + }, + "body_text": { + "type": "string", + "examples": [ + "\"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", + "null" + ] + }, + "position": { + "type": [ + "integer", + "null" + ] + }, + "line": { + "type": [ + "integer", + "null" + ] + }, + "commit_id": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { "type": "string", "examples": [ - "Probot Owners" + "octocat" ] }, - "description": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ "string", "null" ], "examples": [ - "The description of the app." + "41d064eb2195891e12d0413f63227ea7" ] }, - "external_url": { + "url": { "type": "string", "format": "uri", "examples": [ - "https://example.com" + "https://api.github.com/users/octocat" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "https://github.com/octocat" ] }, - "created_at": { + "followers_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2017-07-08T16:18:44-04:00" + "https://api.github.com/users/octocat/followers" ] }, - "updated_at": { + "following_url": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "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" - } + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_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.", - "type": "array", - "items": { - "type": "string" - }, + "starred_url": { + "type": "string", "examples": [ - "label", - "deployment" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", "type": "integer", "examples": [ - 5 + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "owner", "name", - "description", - "external_url", + "slug", "html_url", "created_at", "updated_at", - "permissions", - "events" + "avatar_url" ] } ] }, - "author_association": { - "title": "author_association", + "name": { + "description": "The name of the GitHub app", "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" ], "examples": [ - "OWNER" + "The description of the app." ] }, - "reactions": { - "title": "Reaction Rollup", + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" + "issues": { + "type": "string" }, - "heart": { - "type": "integer" + "checks": { + "type": "string" }, - "hooray": { - "type": "integer" + "metadata": { + "type": "string" }, - "eyes": { - "type": "integer" + "contents": { + "type": "string" }, - "rocket": { - "type": "integer" + "deployments": { + "type": "string" } }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } + "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.", + "type": "array", + "items": { + "type": "string" }, - "required": [ - "total", - "completed", - "percent_completed" + "examples": [ + "label", + "deployment" ] }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the issue comment", "type": "integer", "format": "int64", "examples": [ - 42 + 1 ] }, "node_id": { - "type": "string" + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, "url": { - "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/users/octocat" ] }, - "body": { - "description": "Contents of the issue comment", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "What version of Safari were you using when you observed this bug?" + "https://github.com/octocat" ] }, - "body_text": { - "type": "string" + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] }, - "body_html": { - "type": "string" + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] }, - "html_url": { + "gists_url": { "type": "string", - "format": "uri" + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "created_at": { + "subscriptions_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/subscriptions" ] }, - "updated_at": { + "organizations_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/orgs" ] }, - "issue_url": { + "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] }, - "author_association": { - "title": "author_association", + "events_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", "examples": [ - "OWNER" + 42 ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "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" + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" ] }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", + "name", + "slug", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" + "updated_at", + "avatar_url" ] } ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "issues": { + "type": "string" }, - "blocking": { - "type": "integer" + "checks": { + "type": "string" }, - "total_blocked_by": { - "type": "integer" + "metadata": { + "type": "string" }, - "total_blocking": { - "type": "integer" + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" } }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "issue_field_values": { + "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.", "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "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", + "owner", + "name", + "description", + "external_url", + "html_url", "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", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": [ - "Fix #42" - ] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "null" - ] - }, - "payload": { - "type": [ - "string", - "null" - ] - }, - "verified_at": { - "type": [ - "string", - "null" + "updated_at", + "permissions", + "events" ] } - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "user": { + "assignee": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -577691,990 +584421,24 @@ "type", "url" ] - }, - "body": { - "description": "The text of the review.", - "type": [ - "string", - "null" - ], - "examples": [ - "This looks great." - ] - }, - "state": { - "type": "string", - "examples": [ - "CHANGES_REQUESTED" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "null" - ], - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string", - "examples": [ - "54bb654c9e6025347f57900a4a5c2313a96b8035" - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] } }, "required": [ - "event", "id", "node_id", - "user", - "body", - "state", + "url", + "actor", + "event", "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "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", - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": [ - "integer", - "null" - ], - "format": "int64", - "examples": [ - 42 - ] - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "examples": [ - "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - ] - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string", - "examples": [ - "config/database.yaml" - ] - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "type": "integer", - "examples": [ - 1 - ] - }, - "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.", - "type": "integer", - "examples": [ - 4 - ] - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string", - "examples": [ - "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" - ] - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer", - "examples": [ - 8 - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string", - "examples": [ - "We should probably include a check for null values here." - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - } - }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "original_start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "start_side": { - "type": [ - "string", - "null" - ], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "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", - "examples": [ - "\"

comment body

\"" - ] - }, - "body_text": { - "type": "string", - "examples": [ - "\"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", - "null" - ] - }, - "position": { - "type": [ - "integer", - "null" - ] - }, - "line": { - "type": [ - "integer", - "null" - ] - }, - "commit_id": { - "type": "string" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { "id": { @@ -579280,7 +585044,40 @@ } ] }, - "assignee": { + "state_reason": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "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": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -579447,9 +585244,476 @@ "type", "url" ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -579458,13 +585722,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": { @@ -580070,176 +586333,49 @@ } ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": [ "string", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] } }, "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", @@ -580248,13 +586384,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": { @@ -580860,14 +586995,90 @@ } ] }, - "state_reason": { + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": [ - "string", + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", @@ -699110,6 +705321,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -702349,6 +708567,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -749398,6 +755643,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -749452,6 +755724,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -786379,6 +792658,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -786433,6 +792739,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -807042,6 +813355,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -807096,6 +813436,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -811599,6 +817946,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -811653,6 +818027,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -812778,6 +819159,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -820466,6 +826874,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -820520,6 +826955,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -825023,6 +831465,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -825077,6 +831546,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -826202,6 +832678,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -833900,6 +840403,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -833954,6 +840484,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -838457,6 +844994,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -838511,6 +845075,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -839636,6 +846207,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -858861,6 +865459,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -858915,6 +865540,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -875722,6 +882354,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -875776,6 +882435,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -880279,6 +886945,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -880333,6 +887026,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -881458,6 +888158,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -889142,6 +895869,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -889196,6 +895950,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -893699,6 +900460,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -893753,6 +900541,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -894878,6 +901673,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1104239,6 +1111061,33 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + }, "user": { "title": "User", "type": [ @@ -1108882,6 +1115731,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1113443,6 +1120319,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1117987,6 +1124890,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1122537,6 +1129467,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1130081,6 +1137038,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1130135,6 +1137119,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1134149,6 +1141140,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1134203,6 +1141221,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1141218,6 +1148243,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1141272,6 +1148324,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1145286,6 +1152345,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1145340,6 +1152426,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1152355,6 +1159448,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1152409,6 +1159529,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1157494,6 +1164621,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1157548,6 +1164702,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1163492,6 +1170653,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1163546,6 +1170734,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1168631,6 +1175826,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1168685,6 +1175907,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1173043,6 +1180272,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1173117,6 +1180373,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1177494,6 +1184757,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1177568,6 +1184858,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1182153,6 +1189450,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1182227,6 +1189551,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1186616,6 +1193947,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1186690,6 +1194048,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1191260,6 +1198625,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1191334,6 +1198726,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1195750,6 +1203149,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1195824,6 +1203250,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1200420,6 +1207853,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1200494,6 +1207954,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1204983,6 +1212450,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1205057,6 +1212551,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1209498,6 +1216999,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1209572,6 +1217100,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1213937,6 +1221472,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1214011,6 +1221573,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1217584,6 +1225153,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1218661,6 +1226237,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1220750,6 +1228353,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1221894,6 +1229504,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1226043,6 +1233680,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1226117,6 +1233781,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1230509,6 +1238180,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1230583,6 +1238281,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1234814,6 +1242519,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1234888,6 +1242620,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1237996,6 +1245735,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1238070,6 +1245836,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1242442,6 +1250215,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1242516,6 +1250316,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1247057,6 +1254864,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1247131,6 +1254965,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1251503,6 +1259344,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1251577,6 +1259445,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1256016,6 +1263891,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1256090,6 +1263992,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1260432,6 +1268341,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1260506,6 +1268442,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1264877,6 +1272820,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1264951,6 +1272921,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1699305,6 +1707282,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1699359,6 +1707363,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1704444,6 +1712455,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1704498,6 +1712536,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1710443,6 +1718488,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1710497,6 +1718569,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1715582,6 +1723661,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1715636,6 +1723742,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1721581,6 +1729694,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1721635,6 +1729775,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1726720,6 +1734867,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1726774,6 +1734948,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1732719,6 +1740900,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1732773,6 +1740981,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1737858,6 +1746073,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1737912,6 +1746154,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 141ef0c523..565eadc628 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1131,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &651 + - &658 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -12546,7 +12546,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &484 + - &486 name: has in: query description: |- @@ -12676,7 +12676,7 @@ paths: - transitive - inconclusive - - security_advisory: &485 + security_advisory: &487 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12970,7 +12970,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &486 + auto_dismissed_at: &488 type: - string - 'null' @@ -12978,7 +12978,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &487 + dismissal_request: &489 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -14697,7 +14697,7 @@ paths: properties: action: type: string - discussion: &741 + discussion: &748 title: Discussion description: A Discussion in a repository. type: object @@ -15483,7 +15483,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &662 + sub_issues_summary: &669 title: Sub-issues Summary type: object properties: @@ -15567,7 +15567,7 @@ paths: pin: anyOf: - type: 'null' - - &559 + - &562 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15585,6 +15585,25 @@ paths: required: - pinned_at - pinned_by + minimized: + anyOf: + - type: 'null' + - &563 + title: Minimized Issue Comment + description: Details about why an issue comment + was minimized. + type: object + properties: + reason: + description: The reason the comment was + minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason required: - id - node_id @@ -15594,7 +15613,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &663 + issue_dependencies_summary: &670 title: Issue Dependencies Summary type: object properties: @@ -15613,7 +15632,7 @@ paths: - total_blocking issue_field_values: type: array - items: &543 + items: &546 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15625,6 +15644,12 @@ paths: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the + issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -16467,7 +16492,7 @@ paths: type: string release: allOf: - - &591 + - &598 title: Release description: A release. type: object @@ -16549,7 +16574,7 @@ paths: author: *4 assets: type: array - items: &592 + items: &599 title: Release Asset description: Data related to a release. type: object @@ -17181,7 +17206,7 @@ paths: url: type: string format: uri - user: &669 + user: &676 title: Public User description: Public User type: object @@ -20651,7 +20676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &567 + - &574 name: all description: If `true`, show notifications marked as read. in: query @@ -20659,7 +20684,7 @@ paths: schema: type: boolean default: false - - &568 + - &575 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20669,7 +20694,7 @@ paths: type: boolean default: false - *87 - - &569 + - &576 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: @@ -21268,7 +21293,7 @@ paths: - url - subscription_url examples: - default: &570 + default: &577 value: - id: '1' repository: @@ -23186,7 +23211,7 @@ paths: parameters: - *74 - *116 - - &719 + - &726 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 @@ -23298,7 +23323,7 @@ paths: - *116 - *117 - *118 - - &720 + - &727 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23306,7 +23331,7 @@ paths: schema: type: string - *121 - - &721 + - &728 name: sku description: The SKU to query for usage. in: query @@ -31018,12 +31043,12 @@ paths: required: - subject_digests examples: - default: &700 + default: &707 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &701 + withPredicateType: &708 value: subject_digests: - sha256:abc123 @@ -31082,7 +31107,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &702 + default: &709 value: attestations_subject_digests: - sha256:abc: @@ -32418,7 +32443,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &421 + - &423 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -32428,7 +32453,7 @@ paths: schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &422 + - &424 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -32452,7 +32477,7 @@ paths: be returned. in: query required: false - schema: &424 + schema: &426 type: string description: State of a code scanning alert. enum: @@ -32475,7 +32500,7 @@ paths: be returned. in: query required: false - schema: &425 + schema: &427 type: string description: Severity of a code scanning alert. enum: @@ -32509,7 +32534,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: &426 + instances_url: &428 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -32531,7 +32556,7 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: &427 + dismissed_reason: &429 type: - string - 'null' @@ -32542,14 +32567,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &428 + dismissed_comment: &430 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &429 + rule: &431 type: object properties: id: @@ -32610,7 +32635,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &430 + tool: &432 type: object properties: name: *187 @@ -32621,26 +32646,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *188 - most_recent_instance: &431 + most_recent_instance: &433 type: object properties: - ref: &423 + ref: &425 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &441 + analysis_key: &443 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &442 + environment: &444 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &443 + category: &445 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -32660,7 +32685,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &444 + location: &446 type: object description: Describe a region within a file for the alert. properties: @@ -32681,7 +32706,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &445 + items: &447 type: - string - 'null' @@ -34016,7 +34041,7 @@ paths: machine: anyOf: - type: 'null' - - &457 + - &459 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34968,7 +34993,7 @@ paths: - updated_at - visibility examples: - default: &458 + default: &460 value: total_count: 2 secrets: @@ -35006,7 +35031,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35041,7 +35066,7 @@ paths: - key_id - key examples: - default: &460 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35073,7 +35098,7 @@ paths: application/json: schema: *195 examples: - default: &462 + default: &464 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38635,7 +38660,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38654,7 +38679,7 @@ paths: - key_id - key examples: - default: &491 + default: &493 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40488,7 +40513,7 @@ paths: application/json: schema: *20 examples: - default: &528 + default: &530 value: id: 1 account: @@ -40716,7 +40741,7 @@ paths: required: true content: application/json: - schema: &529 + schema: &531 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -41535,7 +41560,7 @@ paths: type: array items: *245 examples: - default: &533 + default: &535 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -42070,7 +42095,7 @@ paths: application/json: schema: *250 examples: - default: &456 + default: &458 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43349,7 +43374,7 @@ paths: parameters: - *74 - *257 - - &683 + - &690 name: repo_name description: repo_name parameter in: path @@ -44428,7 +44453,7 @@ paths: - nuget - container - *74 - - &684 + - &691 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44469,7 +44494,7 @@ paths: default: *263 '403': *27 '401': *23 - '400': &686 + '400': &693 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46600,7 +46625,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &769 + - &776 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46874,7 +46899,7 @@ paths: content: oneOf: - *82 - - &471 + - &473 title: Pull Request Simple description: Pull Request Simple type: object @@ -47113,7 +47138,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &577 + auto_merge: &584 title: Auto merge description: The status of auto merging a pull request. type: @@ -47570,7 +47595,7 @@ paths: - updated_at - project_url examples: - default: &706 + default: &713 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47747,7 +47772,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &707 + items: &714 type: object properties: name: @@ -47784,7 +47809,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &708 + iteration_configuration: &715 type: object description: The configuration for iteration fields. properties: @@ -47834,7 +47859,7 @@ paths: value: name: Due date data_type: date - single_select_field: &709 + single_select_field: &716 summary: Create a single select field value: name: Priority @@ -47861,7 +47886,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &710 + iteration_field: &717 summary: Create an iteration field value: name: Sprint @@ -47887,7 +47912,7 @@ paths: application/json: schema: *283 examples: - text_field: &711 + text_field: &718 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47896,7 +47921,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: &712 + number_field: &719 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47905,7 +47930,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: &713 + date_field: &720 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47914,7 +47939,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: &714 + single_select_field: &721 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47948,7 +47973,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &715 + iteration_field: &722 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47994,7 +48019,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *280 - - &716 + - &723 name: field_id description: The unique identifier of the field. in: path @@ -48009,7 +48034,7 @@ paths: application/json: schema: *283 examples: - default: &717 + default: &724 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49220,7 +49245,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &697 + schema: &704 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49403,7 +49428,7 @@ paths: parameters: - *280 - *74 - - &718 + - &725 name: view_number description: The number that identifies the project view. in: path @@ -50844,7 +50869,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &476 + code_of_conduct: &478 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -51502,7 +51527,7 @@ paths: - *74 - *17 - *19 - - &599 + - &606 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51789,7 +51814,7 @@ paths: - object rules: type: array - items: &600 + items: &607 title: Repository Rule type: object description: A repository rule. @@ -51851,7 +51876,7 @@ paths: type: string enum: - required_linear_history - - &598 + - &605 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52753,7 +52778,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &601 + - &608 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 @@ -52768,7 +52793,7 @@ paths: in: query schema: type: string - - &602 + - &609 name: time_period description: |- The time period to filter by. @@ -52784,14 +52809,14 @@ paths: - week - month default: day - - &603 + - &610 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 - - &604 + - &611 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52804,7 +52829,7 @@ paths: - bypass - all default: all - - &605 + - &612 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. @@ -52827,7 +52852,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &613 title: Rule Suites description: Response type: array @@ -52883,7 +52908,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &607 + default: &614 value: - id: 21 actor_id: 12 @@ -52927,7 +52952,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &608 + - &615 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52943,7 +52968,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &616 title: Rule Suite description: Response type: object @@ -53050,7 +53075,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &610 + default: &617 value: id: 21 actor_id: 12 @@ -53297,7 +53322,7 @@ paths: type: string format: date-time examples: - default: &612 + default: &619 value: - version_id: 3 actor: @@ -53350,7 +53375,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &620 allOf: - *326 - type: object @@ -53422,7 +53447,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &614 + - &621 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53433,7 +53458,7 @@ paths: enum: - open - resolved - - &615 + - &622 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53443,7 +53468,7 @@ paths: required: false schema: type: string - - &616 + - &623 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53454,7 +53479,7 @@ paths: required: false schema: type: string - - &617 + - &624 name: exclude_providers in: query description: |- @@ -53465,7 +53490,7 @@ paths: required: false schema: type: string - - &618 + - &625 name: providers in: query description: |- @@ -53476,7 +53501,7 @@ paths: required: false schema: type: string - - &619 + - &626 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53485,7 +53510,7 @@ paths: required: false schema: type: string - - &620 + - &627 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53504,7 +53529,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &621 + - &628 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. @@ -53519,7 +53544,7 @@ paths: - *60 - *19 - *17 - - &622 + - &629 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 @@ -53529,7 +53554,7 @@ paths: required: false schema: type: string - - &623 + - &630 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 @@ -53539,7 +53564,7 @@ paths: required: false schema: type: string - - &624 + - &631 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53548,7 +53573,7 @@ paths: required: false schema: type: string - - &625 + - &632 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53557,7 +53582,7 @@ paths: schema: type: boolean default: false - - &626 + - &633 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53566,7 +53591,7 @@ paths: schema: type: boolean default: false - - &627 + - &634 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53575,7 +53600,7 @@ paths: schema: type: boolean default: false - - &628 + - &635 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53609,14 +53634,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &629 + state: &636 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: &630 + resolution: &637 type: - string - 'null' @@ -53735,14 +53760,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &631 + - &638 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &633 + - &640 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53806,7 +53831,7 @@ paths: - blob_url - commit_sha - commit_url - - &634 + - &641 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. @@ -53867,7 +53892,7 @@ paths: - page_url - commit_sha - commit_url - - &635 + - &642 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53889,7 +53914,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &636 + - &643 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53911,7 +53936,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &637 + - &644 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53933,7 +53958,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &638 + - &645 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53948,7 +53973,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &639 + - &646 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53963,7 +53988,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &640 + - &647 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53978,7 +54003,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &641 + - &648 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. @@ -54000,7 +54025,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &642 + - &649 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. @@ -54022,7 +54047,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &643 + - &650 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. @@ -54044,7 +54069,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &644 + - &651 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. @@ -54066,7 +54091,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &645 + - &652 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 @@ -54587,7 +54612,7 @@ paths: application/json: schema: type: array - items: &649 + items: &656 description: A repository security advisory. type: object properties: @@ -54938,7 +54963,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &650 + default: &657 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56955,7 +56980,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &665 + response-if-user-is-a-team-maintainer: &672 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57020,7 +57045,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: &666 + response-if-users-membership-with-team-is-now-pending: &673 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57134,7 +57159,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &667 + schema: &674 title: Team Repository description: A team's access to a repository. type: object @@ -57948,7 +57973,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: &668 + response-if-child-teams-exist: &675 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59446,11 +59471,11 @@ paths: '302': description: Response headers: - Location: &493 + Location: &495 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &534 + '410': &536 description: Gone content: application/json: @@ -63632,7 +63657,7 @@ paths: items: type: object properties: - type: &500 + type: &502 type: string description: The type of reviewer. enum: @@ -63770,7 +63795,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63882,7 +63907,7 @@ paths: - created_at - updated_at examples: - default: &496 + default: &498 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66780,7 +66805,7 @@ paths: properties: name: type: string - commit: &467 + commit: &469 title: Commit description: Commit type: object @@ -66865,7 +66890,7 @@ paths: required: - sha - url - verification: &518 + verification: &520 title: Verification type: object properties: @@ -66945,7 +66970,7 @@ paths: type: integer files: type: array - items: &478 + items: &480 title: Diff Entry description: Diff Entry type: object @@ -70103,7 +70128,7 @@ paths: check. type: array items: *85 - deployment: &730 + deployment: &737 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71741,14 +71766,14 @@ paths: - *337 - *338 - *420 - - &473 + - &475 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &474 + - &476 name: status description: Returns check runs with the specified `status`. in: query @@ -71789,7 +71814,7 @@ paths: type: array items: *414 examples: - default: &475 + default: &477 value: total_count: 1 check_runs: @@ -71908,6 +71933,250 @@ paths: enabledForGitHubApps: true category: checks subcategory: suites + "/repos/{owner}/{repo}/code-quality/findings": + get: + summary: List code quality findings for a repository + description: |- + Lists code quality findings for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/list-findings-for-repo + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository + parameters: + - *337 + - *338 + - *17 + - *60 + - *45 + - *46 + - name: state + description: If specified, only code quality findings with this state will + be returned. + in: query + required: false + schema: + type: string + enum: + - open + - dismissed + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &421 + description: Code quality finding + type: object + properties: + number: + description: The finding number. + type: integer + state: + description: State of the code quality finding. + type: string + enum: + - open + - dismissed + url: + description: The REST API URL of the code quality finding resource. + type: string + format: uri + rule: + description: Code quality rule + type: object + properties: + id: + description: A unique identifier for the rule used to detect + the finding. + type: string + title: + description: The name of the rule used to detect the finding. + type: string + description: + description: A short description of the rule used to detect + the finding. + type: string + help: + description: A detailed description of the rule used to + detect the finding. + type: string + severity: + description: The severity of the rule used to detect the + finding. + type: string + enum: + - error + - warning + - note + - none + category: + description: The category of the rule used to detect the + finding. + type: string + enum: + - none + - maintainability + - reliability + required: + - id + - title + - description + - severity + - category + location: + description: Code quality file location + type: object + properties: + path: + description: The file path where the finding was detected. + type: string + start_line: + description: The line number where the finding starts. + type: integer + start_column: + description: The column number where the finding starts. + type: integer + end_line: + description: The line number where the finding ends. + type: integer + end_column: + description: The column number where the finding ends. + type: integer + required: + - path + message: + description: Code quality finding message + type: object + properties: + text: + description: The message text of the code quality finding. + type: string + markdown: + description: The message text of the code quality finding + in markdown format. + type: string + required: + - text + - markdown + created_at: + description: The time the code quality finding was created. + type: string + format: date-time + required: + - number + - state + - url + - rule + - location + - message + examples: + default: + value: + - number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': &422 + description: Response if the user is not authorized to access Code quality + for this repository. + content: + application/json: + schema: *3 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": + get: + summary: Get a code quality finding + description: |- + Gets a single code quality finding. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-quality + operationId: code-quality/get-finding + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding + parameters: + - *337 + - *338 + - name: finding_number + in: path + description: The number that identifies a finding. + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *421 + examples: + default: + value: + number: 42 + state: open + url: https://api.github.com/repos/octocat/hello-world/code-quality/findings/42 + rule: + id: java/useless-null-check + title: Useless null check + description: Checking whether an expression is null when that + expression cannot possibly be null is useless. + help: |- + # Useless null check + Sometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ... + severity: warning + category: maintainability + location: + path: java/UselessNullCheck.java + start_line: 9 + start_column: 4 + end_line: 9 + end_column: 18 + message: + text: This check is useless. o cannot be null at this check, + since it is guarded by instanceof. + markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) + cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). + created_at: '2026-01-23T12:34:56Z' + '403': *422 + '404': *6 + '503': *114 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-quality + subcategory: code-quality "/repos/{owner}/{repo}/code-quality/setup": get: summary: Get a code quality setup configuration @@ -71995,12 +72264,7 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': - description: Response if the user is not authorized to access Code quality - for this repository. - content: - application/json: - schema: *3 + '403': *422 '404': *6 '503': *114 x-github: @@ -72154,19 +72418,19 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - &439 + - &441 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *423 - - &440 + schema: *425 + - &442 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72191,13 +72455,13 @@ paths: be returned. in: query required: false - schema: *424 + schema: *426 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *425 + schema: *427 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72221,7 +72485,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -72229,11 +72493,11 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 - rule: *429 - tool: *430 - most_recent_instance: *431 + dismissed_reason: *429 + dismissed_comment: *430 + rule: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -72356,7 +72620,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &432 + '403': &434 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72385,7 +72649,7 @@ paths: parameters: - *337 - *338 - - &433 + - &435 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72399,7 +72663,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &436 type: object properties: number: *180 @@ -72407,7 +72671,7 @@ paths: updated_at: *182 url: *183 html_url: *184 - instances_url: *426 + instances_url: *428 state: *189 fixed_at: *185 dismissed_by: @@ -72415,8 +72679,8 @@ paths: - type: 'null' - *4 dismissed_at: *186 - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 rule: type: object properties: @@ -72478,8 +72742,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *430 - most_recent_instance: *431 + tool: *432 + most_recent_instance: *433 dismissal_approved_by: anyOf: - type: 'null' @@ -72575,7 +72839,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72597,7 +72861,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -72612,8 +72876,8 @@ paths: enum: - open - dismissed - dismissed_reason: *427 - dismissed_comment: *428 + dismissed_reason: *429 + dismissed_comment: *430 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72641,7 +72905,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: default: value: @@ -72717,7 +72981,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &438 + '403': &440 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72746,13 +73010,13 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: Response content: application/json: - schema: &435 + schema: &437 type: object properties: status: @@ -72779,13 +73043,13 @@ paths: - description - started_at examples: - default: &436 + default: &438 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &437 + '400': &439 description: Bad Request content: application/json: @@ -72796,7 +73060,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -72807,7 +73071,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -72823,27 +73087,27 @@ paths: parameters: - *337 - *338 - - *433 + - *435 responses: '200': description: OK content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '202': description: Accepted content: application/json: - schema: *435 + schema: *437 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *437 + '400': *439 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72877,7 +73141,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: false content: @@ -72923,8 +73187,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *437 - '403': *438 + '400': *439 + '403': *440 '404': *6 '422': description: Unprocessable Entity @@ -72950,11 +73214,11 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 - - *439 - - *440 + - *441 + - *442 responses: '200': description: Response @@ -72965,10 +73229,10 @@ paths: items: type: object properties: - ref: *423 - analysis_key: *441 - environment: *442 - category: *443 + ref: *425 + analysis_key: *443 + environment: *444 + category: *445 state: type: - string @@ -72985,7 +73249,7 @@ paths: properties: text: type: string - location: *444 + location: *446 html_url: type: string classifications: @@ -72993,7 +73257,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *445 + items: *447 examples: default: value: @@ -73030,7 +73294,7 @@ paths: end_column: 50 classifications: - source - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73066,23 +73330,23 @@ paths: parameters: - *337 - *338 - - *421 - - *422 + - *423 + - *424 - *19 - *17 - - *440 + - *442 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *423 + schema: *425 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &446 + schema: &448 type: string description: An identifier for the upload. examples: @@ -73104,23 +73368,23 @@ paths: application/json: schema: type: array - items: &447 + items: &449 type: object properties: - ref: *423 - commit_sha: &455 + ref: *425 + commit_sha: &457 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *441 + analysis_key: *443 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *443 + category: *445 error: type: string examples: @@ -73145,8 +73409,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *446 - tool: *430 + sarif_id: *448 + tool: *432 deletable: type: boolean warning: @@ -73208,7 +73472,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73258,7 +73522,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: response: summary: application/json response @@ -73312,7 +73576,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *432 + '403': *434 '404': *6 '422': description: Response if analysis could not be processed @@ -73456,7 +73720,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -73487,7 +73751,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: CodeQL Database description: A CodeQL database. type: object @@ -73599,7 +73863,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73641,7 +73905,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -73673,9 +73937,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &482 + '302': &484 description: Found - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -73708,7 +73972,7 @@ paths: responses: '204': description: Response - '403': *438 + '403': *440 '404': *6 '503': *114 x-github: @@ -73746,7 +74010,7 @@ paths: type: object additionalProperties: false properties: - language: &449 + language: &451 type: string description: The language targeted by the CodeQL query enum: @@ -73826,7 +74090,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &453 + schema: &455 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73836,7 +74100,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *449 + query_language: *451 query_pack_url: type: string description: The download url for the query pack. @@ -73884,7 +74148,7 @@ paths: items: type: object properties: - repository: &450 + repository: &452 title: Repository Identifier description: Repository Identifier type: object @@ -73926,7 +74190,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &454 + analysis_status: &456 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73958,7 +74222,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &451 + access_mismatch_repos: &453 type: object properties: repository_count: @@ -73973,7 +74237,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *450 + items: *452 required: - repository_count - repositories @@ -73996,8 +74260,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *451 - over_limit_repos: *451 + no_codeql_db_repos: *453 + over_limit_repos: *453 required: - access_mismatch_repos - not_found_repos @@ -74013,7 +74277,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &452 + value: &454 summary: Default response value: id: 1 @@ -74159,10 +74423,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *452 + value: *454 repository_lists: summary: Response for a successful variant analysis submission - value: *452 + value: *454 '404': *6 '422': description: Unable to process variant analysis submission @@ -74203,9 +74467,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *452 + default: *454 '404': *6 '503': *114 x-github: @@ -74263,7 +74527,7 @@ paths: type: object properties: repository: *65 - analysis_status: *454 + analysis_status: *456 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74499,7 +74763,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *432 + '403': *434 '404': *6 '503': *114 x-github: @@ -74615,7 +74879,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *438 + '403': *440 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74695,7 +74959,7 @@ paths: schema: type: object properties: - commit_sha: *455 + commit_sha: *457 ref: type: string description: |- @@ -74755,7 +75019,7 @@ paths: schema: type: object properties: - id: *446 + id: *448 url: type: string description: The REST API URL for checking the status of the upload. @@ -74769,7 +75033,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *438 + '403': *440 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74841,7 +75105,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *432 + '403': *434 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -75459,7 +75723,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -75467,7 +75731,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '400': *14 '401': *23 '403': *27 @@ -75599,9 +75863,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: &674 + default: &681 value: total_count: 2 machines: @@ -75818,7 +76082,7 @@ paths: type: integer secrets: type: array - items: &461 + items: &463 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75839,7 +76103,7 @@ paths: - created_at - updated_at examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -75869,9 +76133,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75899,9 +76163,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76044,7 +76308,7 @@ paths: application/json: schema: type: array - items: &463 + items: &465 title: Collaborator description: Collaborator type: object @@ -76313,7 +76577,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &532 + schema: &534 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76596,7 +76860,7 @@ paths: user: anyOf: - type: 'null' - - *463 + - *465 required: - permission - role_name @@ -76661,7 +76925,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Commit Comment description: Commit Comment type: object @@ -76719,7 +76983,7 @@ paths: - created_at - updated_at examples: - default: &469 + default: &471 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76786,9 +77050,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &470 + default: &472 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76869,7 +77133,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -76971,7 +77235,7 @@ paths: application/json: schema: type: array - items: &465 + items: &467 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77015,7 +77279,7 @@ paths: - content - created_at examples: - default: &536 + default: &538 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77094,9 +77358,9 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: &466 + default: &468 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77125,9 +77389,9 @@ paths: description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -77152,7 +77416,7 @@ paths: - *337 - *338 - *96 - - &537 + - &539 name: reaction_id description: The unique identifier of the reaction. in: path @@ -77264,9 +77528,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: &584 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77362,7 +77626,7 @@ paths: parameters: - *337 - *338 - - &468 + - &470 name: commit_sha description: The SHA of the commit. in: path @@ -77436,7 +77700,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -77446,9 +77710,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *469 + default: *471 headers: Link: *66 x-github: @@ -77478,7 +77742,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 requestBody: required: true content: @@ -77513,9 +77777,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *470 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77545,7 +77809,7 @@ paths: parameters: - *337 - *338 - - *468 + - *470 - *17 - *19 responses: @@ -77555,9 +77819,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: &576 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78098,7 +78362,7 @@ paths: - *338 - *19 - *17 - - &472 + - &474 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -78113,9 +78377,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &564 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78203,7 +78467,7 @@ paths: schema: type: string examples: - default: &479 + default: &481 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78216,7 +78480,7 @@ paths: schema: type: string examples: - default: &480 + default: &482 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78271,9 +78535,9 @@ paths: parameters: - *337 - *338 - - *472 - - *473 - *474 + - *475 + - *476 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78309,7 +78573,7 @@ paths: type: array items: *414 examples: - default: *475 + default: *477 headers: Link: *66 x-github: @@ -78336,7 +78600,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78344,7 +78608,7 @@ paths: schema: type: integer example: 1 - - *473 + - *475 - *17 - *19 responses: @@ -78564,7 +78828,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -78768,7 +79032,7 @@ paths: parameters: - *337 - *338 - - *472 + - *474 - *17 - *19 responses: @@ -78778,7 +79042,7 @@ paths: application/json: schema: type: array - items: &654 + items: &661 title: Status description: The status of a commit. type: object @@ -78921,11 +79185,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *476 + - *478 code_of_conduct_file: anyOf: - type: 'null' - - &477 + - &479 title: Community Health File type: object properties: @@ -78945,19 +79209,19 @@ paths: contributing: anyOf: - type: 'null' - - *477 + - *479 readme: anyOf: - type: 'null' - - *477 + - *479 issue_template: anyOf: - type: 'null' - - *477 + - *479 pull_request_template: anyOf: - type: 'null' - - *477 + - *479 required: - code_of_conduct - code_of_conduct_file @@ -79135,8 +79399,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *467 - merge_base_commit: *467 + base_commit: *469 + merge_base_commit: *469 status: type: string enum: @@ -79160,10 +79424,10 @@ paths: - 6 commits: type: array - items: *467 + items: *469 files: type: array - items: *478 + items: *480 required: - url - html_url @@ -79409,12 +79673,12 @@ paths: schema: type: string examples: - default: *479 + default: *481 application/vnd.github.patch: schema: type: string examples: - default: *480 + default: *482 '404': *6 '500': *53 '503': *114 @@ -79630,7 +79894,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &481 + response-if-content-is-a-file-github-object: &483 summary: Response if content is a file value: type: file @@ -79767,7 +80031,7 @@ paths: - size - type - url - - &589 + - &596 title: Content File description: Content File type: object @@ -79985,7 +80249,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *481 + response-if-content-is-a-file: *483 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80054,7 +80318,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *482 + '302': *484 '304': *35 x-github: githubCloudOnly: false @@ -80203,7 +80467,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &485 title: File Commit description: File Commit type: object @@ -80359,7 +80623,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: example-for-creating-a-file: value: @@ -80413,7 +80677,7 @@ paths: schema: oneOf: - *3 - - &513 + - &515 description: Repository rule violation was detected type: object properties: @@ -80434,7 +80698,7 @@ paths: items: type: object properties: - placeholder_id: &646 + placeholder_id: &653 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80528,7 +80792,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -80862,7 +81126,7 @@ paths: schema: type: string - *207 - - *484 + - *486 - *208 - *209 - *210 @@ -80877,7 +81141,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 type: object description: A Dependabot alert. properties: @@ -80928,7 +81192,7 @@ paths: - transitive - inconclusive - - security_advisory: *485 + security_advisory: *487 security_vulnerability: *64 url: *183 html_url: *184 @@ -80959,8 +81223,8 @@ paths: dismissal. maxLength: 280 fixed_at: *185 - auto_dismissed_at: *486 - dismissal_request: *487 + auto_dismissed_at: *488 + dismissal_request: *489 assignees: type: array description: The users assigned to this alert. @@ -81217,7 +81481,7 @@ paths: parameters: - *337 - *338 - - &489 + - &491 name: alert_number in: path description: |- @@ -81232,7 +81496,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -81366,7 +81630,7 @@ paths: parameters: - *337 - *338 - - *489 + - *491 requestBody: required: true content: @@ -81423,7 +81687,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: default: value: @@ -81572,7 +81836,7 @@ paths: type: integer secrets: type: array - items: &492 + items: &494 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81633,9 +81897,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81663,7 +81927,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -82217,7 +82481,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *493 + Location: *495 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82361,7 +82625,7 @@ paths: - version - url additionalProperties: false - metadata: &494 + metadata: &496 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82400,7 +82664,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *494 + metadata: *496 resolved: type: object description: A collection of resolved package dependencies. @@ -82414,7 +82678,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *494 + metadata: *496 relationship: type: string description: A notation of whether a dependency is requested @@ -82589,9 +82853,9 @@ paths: application/json: schema: type: array - items: *495 + items: *497 examples: - default: *496 + default: *498 headers: Link: *66 x-github: @@ -82740,7 +83004,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: simple-example: summary: Simple example @@ -82815,7 +83079,7 @@ paths: parameters: - *337 - *338 - - &497 + - &499 name: deployment_id description: deployment_id parameter in: path @@ -82827,7 +83091,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -82894,7 +83158,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 responses: '204': description: Response @@ -82918,7 +83182,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - *17 - *19 responses: @@ -82928,7 +83192,7 @@ paths: application/json: schema: type: array - items: &498 + items: &500 title: Deployment Status description: The status of a deployment. type: object @@ -83094,7 +83358,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 requestBody: required: true content: @@ -83169,9 +83433,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83229,7 +83493,7 @@ paths: parameters: - *337 - *338 - - *497 + - *499 - name: status_id in: path required: true @@ -83240,9 +83504,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -83344,7 +83608,7 @@ paths: - 5 environments: type: array - items: &501 + items: &503 title: Environment description: Details of a deployment environment type: object @@ -83406,7 +83670,7 @@ paths: type: string examples: - wait_timer - wait_timer: &503 + wait_timer: &505 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -83448,7 +83712,7 @@ paths: items: type: object properties: - type: *500 + type: *502 reviewer: anyOf: - *4 @@ -83475,7 +83739,7 @@ paths: - id - node_id - type - deployment_branch_policy: &504 + deployment_branch_policy: &506 type: - object - 'null' @@ -83594,7 +83858,7 @@ paths: parameters: - *337 - *338 - - &502 + - &504 name: environment_name in: path required: true @@ -83607,9 +83871,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &505 + default: &507 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83695,7 +83959,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: false content: @@ -83705,7 +83969,7 @@ paths: - object - 'null' properties: - wait_timer: *503 + wait_timer: *505 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -83724,14 +83988,14 @@ paths: items: type: object properties: - type: *500 + type: *502 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *504 + deployment_branch_policy: *506 additionalProperties: false examples: default: @@ -83751,9 +84015,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *505 + default: *507 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83779,7 +84043,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '204': description: Default response @@ -83806,7 +84070,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -83825,7 +84089,7 @@ paths: - 2 branch_policies: type: array - items: &506 + items: &508 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83888,7 +84152,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -83936,9 +84200,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - example-wildcard: &507 + example-wildcard: &509 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83982,8 +84246,8 @@ paths: parameters: - *337 - *338 - - *502 - - &508 + - *504 + - &510 name: branch_policy_id in: path required: true @@ -83995,9 +84259,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84018,8 +84282,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 requestBody: required: true content: @@ -84048,9 +84312,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *508 examples: - default: *507 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84071,8 +84335,8 @@ paths: parameters: - *337 - *338 - - *502 - - *508 + - *504 + - *510 responses: '204': description: Response @@ -84097,7 +84361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *502 + - *504 - *338 - *337 responses: @@ -84116,7 +84380,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &509 + items: &511 title: Deployment protection rule description: Deployment protection rule type: object @@ -84138,7 +84402,7 @@ paths: for the environment. examples: - true - app: &510 + app: &512 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84241,7 +84505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *502 + - *504 - *338 - *337 requestBody: @@ -84264,9 +84528,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *509 + schema: *511 examples: - default: &511 + default: &513 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84301,7 +84565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - *19 @@ -84323,7 +84587,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *510 + items: *512 examples: default: value: @@ -84360,8 +84624,8 @@ paths: parameters: - *337 - *338 - - *502 - - &512 + - *504 + - &514 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84373,9 +84637,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84396,10 +84660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *502 + - *504 - *338 - *337 - - *512 + - *514 responses: '204': description: Response @@ -84427,7 +84691,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *17 - *19 responses: @@ -84474,7 +84738,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 responses: '200': description: Response @@ -84506,7 +84770,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '200': @@ -84539,7 +84803,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 requestBody: required: true @@ -84599,7 +84863,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *163 responses: '204': @@ -84627,7 +84891,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *172 - *19 responses: @@ -84672,7 +84936,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 requestBody: required: true content: @@ -84726,7 +84990,7 @@ paths: parameters: - *337 - *338 - - *502 + - *504 - *166 responses: '200': @@ -84759,7 +85023,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 requestBody: required: true content: @@ -84804,7 +85068,7 @@ paths: - *337 - *338 - *166 - - *502 + - *504 responses: '204': description: Response @@ -85173,7 +85437,7 @@ paths: schema: oneOf: - *124 - - *513 + - *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85409,7 +85673,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &516 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85638,13 +85902,13 @@ paths: parameters: - *337 - *338 - - *468 + - *470 responses: '200': description: Response content: application/json: - schema: *514 + schema: *516 examples: default: value: @@ -85702,7 +85966,7 @@ paths: parameters: - *337 - *338 - - &515 + - &517 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -85719,7 +85983,7 @@ paths: application/json: schema: type: array - items: &516 + items: &518 title: Git Reference description: Git references within a repository type: object @@ -85797,15 +86061,15 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85864,9 +86128,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85894,7 +86158,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 requestBody: required: true content: @@ -85923,9 +86187,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 '422': *15 '409': *52 x-github: @@ -85945,7 +86209,7 @@ paths: parameters: - *337 - *338 - - *515 + - *517 responses: '204': description: Response @@ -86068,7 +86332,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &521 title: Git Tag description: Metadata for a Git tag type: object @@ -86124,7 +86388,7 @@ paths: - sha - type - url - verification: *518 + verification: *520 required: - sha - url @@ -86134,7 +86398,7 @@ paths: - tag - message examples: - default: &520 + default: &522 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86219,9 +86483,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *521 examples: - default: *520 + default: *522 '404': *6 '409': *52 x-github: @@ -86320,7 +86584,7 @@ paths: description: Response content: application/json: - schema: &521 + schema: &523 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86446,7 +86710,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: default-response: summary: Default response @@ -86560,7 +86824,7 @@ paths: application/json: schema: type: array - items: &522 + items: &524 title: Webhook description: Webhooks for repositories. type: object @@ -86623,7 +86887,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &761 + last_response: &768 title: Hook Response type: object properties: @@ -86754,9 +87018,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: &523 + default: &525 value: type: Repository id: 12345678 @@ -86812,9 +87076,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -86881,9 +87145,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: - default: *523 + default: *525 '422': *15 '404': *6 x-github: @@ -87281,7 +87545,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &526 title: Import description: A repository import from an external source. type: object @@ -87388,7 +87652,7 @@ paths: - html_url - authors_url examples: - default: &527 + default: &529 value: vcs: subversion use_lfs: true @@ -87404,7 +87668,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &525 + '503': &527 description: Unavailable due to service under maintenance. content: application/json: @@ -87482,7 +87746,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -87507,7 +87771,7 @@ paths: type: string '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87588,7 +87852,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: example-1: summary: Example 1 @@ -87636,7 +87900,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87664,7 +87928,7 @@ paths: responses: '204': description: Response - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87692,7 +87956,7 @@ paths: parameters: - *337 - *338 - - &695 + - &702 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87706,7 +87970,7 @@ paths: application/json: schema: type: array - items: &526 + items: &528 title: Porter Author description: Porter Author type: object @@ -87760,7 +88024,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87816,7 +88080,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *528 examples: default: value: @@ -87829,7 +88093,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87895,7 +88159,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87951,11 +88215,11 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *527 + default: *529 '422': *15 - '503': *525 + '503': *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87987,7 +88251,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 '301': *341 '404': *6 x-github: @@ -88022,7 +88286,7 @@ paths: properties: {} additionalProperties: false examples: - default: &530 + default: &532 value: limit: collaborators_only origin: repository @@ -88053,7 +88317,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: summary: Example request body @@ -88067,7 +88331,7 @@ paths: application/json: schema: *237 examples: - default: *530 + default: *532 '409': description: Response x-github: @@ -88178,7 +88442,7 @@ paths: required: true content: application/json: - schema: &531 + schema: &533 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -88234,7 +88498,7 @@ paths: required: true content: application/json: - schema: *531 + schema: *533 examples: default: summary: Example request body @@ -88275,9 +88539,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &688 + default: &695 value: - id: 1 repository: @@ -88439,7 +88703,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: default: value: @@ -88606,7 +88870,7 @@ paths: type: array items: *245 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -88723,7 +88987,7 @@ paths: type: array items: *82 examples: - default: &542 + default: &545 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89019,7 +89283,7 @@ paths: application/json: schema: *82 examples: - default: &539 + default: &542 value: id: 1 node_id: MDU6SXNzdWUx @@ -89182,7 +89446,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -89244,7 +89508,7 @@ paths: type: array items: *83 examples: - default: &541 + default: &544 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89274,6 +89538,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: headers: Link: *66 '422': *15 @@ -89312,7 +89577,7 @@ paths: application/json: schema: *83 examples: - default: &535 + default: &537 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89343,6 +89608,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: '404': *6 x-github: githubCloudOnly: false @@ -89393,7 +89659,7 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 '422': *15 x-github: githubCloudOnly: false @@ -89505,7 +89771,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -89531,7 +89797,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 '503': *114 x-github: githubCloudOnly: false @@ -89577,9 +89843,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -89634,16 +89900,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -89668,7 +89934,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -89699,7 +89965,7 @@ paths: application/json: schema: type: array - items: &538 + items: &541 title: Issue Event description: Issue Event type: object @@ -89846,6 +90112,38 @@ paths: required: - from - to + issue_type: &540 + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name + prev_issue_type: *540 author_association: *79 lock_reason: type: @@ -90051,7 +90349,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *541 examples: default: value: @@ -90244,7 +90542,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *534 + '410': *536 '403': *27 x-github: githubCloudOnly: false @@ -90280,7 +90578,7 @@ paths: parameters: - *337 - *338 - - &540 + - &543 name: issue_number description: The number that identifies the issue. in: path @@ -90296,7 +90594,7 @@ paths: examples: default: summary: Issue - value: *539 + value: *542 pinned_comment: summary: Issue with pinned comment value: @@ -90503,7 +90801,7 @@ paths: version: '2026-03-10' '301': *341 '404': *6 - '410': *534 + '410': *536 '304': *35 x-github: githubCloudOnly: false @@ -90530,7 +90828,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -90673,15 +90971,19 @@ paths: description: Response content: application/json: - schema: *82 + schema: + allOf: + - *82 + - type: object + properties: {} examples: - default: *539 + default: *542 '422': *15 '503': *114 '403': *27 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90711,7 +91013,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -90739,7 +91041,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90757,7 +91059,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: content: application/json: @@ -90784,7 +91086,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90808,7 +91110,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: assignee in: path required: true @@ -90850,7 +91152,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *87 - *17 - *19 @@ -90863,11 +91165,11 @@ paths: type: array items: *83 examples: - default: *541 + default: *544 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90898,7 +91200,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -90922,14 +91224,14 @@ paths: application/json: schema: *83 examples: - default: *535 + default: *537 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -90959,7 +91261,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -90971,12 +91273,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91006,7 +91308,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -91030,7 +91332,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -91038,7 +91340,7 @@ paths: type: string '301': *341 '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -91071,7 +91373,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91085,13 +91387,13 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *534 + '410': *536 x-github: triggersNotification: true githubCloudOnly: false @@ -91119,7 +91421,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91131,12 +91433,12 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91155,7 +91457,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91169,7 +91471,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &546 + - &549 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91218,7 +91520,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &550 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91346,7 +91648,7 @@ paths: - performed_via_github_app - assignee - assigner - - &548 + - &551 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91392,7 +91694,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &552 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91438,7 +91740,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &553 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91487,7 +91789,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &554 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91529,7 +91831,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &555 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91571,7 +91873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &556 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91627,7 +91929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &557 title: Locked Issue Event description: Locked Issue Event type: object @@ -91672,7 +91974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91733,7 +92035,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &559 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91794,7 +92096,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91855,7 +92157,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91913,6 +92215,128 @@ paths: - commit_url - created_at - performed_via_github_app + - &564 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &565 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + prev_issue_type: *540 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &566 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *540 + prev_issue_type: *540 + 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: @@ -91948,7 +92372,7 @@ paths: color: red headers: Link: *66 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91967,7 +92391,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -91977,15 +92401,17 @@ paths: application/json: schema: type: array - items: *543 + items: *546 examples: - default: &544 + default: &547 value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -91994,14 +92420,17 @@ paths: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -92016,7 +92445,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92047,7 +92476,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92119,9 +92548,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -92159,7 +92588,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92226,9 +92655,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *543 + items: *546 examples: - default: *544 + default: *547 '400': *14 '403': *27 '404': *6 @@ -92261,7 +92690,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *244 responses: '204': @@ -92289,7 +92718,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -92301,7 +92730,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &548 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92321,7 +92750,7 @@ paths: Link: *66 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92339,7 +92768,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -92384,10 +92813,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -92406,7 +92835,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -92468,10 +92897,10 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 '301': *341 '404': *6 - '410': *534 + '410': *536 '422': *15 x-github: githubCloudOnly: false @@ -92490,13 +92919,13 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92517,7 +92946,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - name: name in: path required: true @@ -92543,7 +92972,7 @@ paths: default: true '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92565,7 +92994,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: false content: @@ -92594,7 +93023,7 @@ paths: '204': description: Response '403': *27 - '410': *534 + '410': *536 '404': *6 '422': *15 x-github: @@ -92614,7 +93043,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '204': description: Response @@ -92646,7 +93075,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 responses: '200': description: Response @@ -92654,10 +93083,10 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '301': *341 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92676,7 +93105,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - 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. @@ -92702,13 +93131,13 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92728,7 +93157,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92760,16 +93189,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Response content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -92793,8 +93222,8 @@ paths: parameters: - *337 - *338 - - *540 - - *537 + - *543 + - *539 responses: '204': description: Response @@ -92825,7 +93254,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92849,7 +93278,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92884,7 +93313,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -92896,11 +93325,11 @@ paths: type: array items: *82 examples: - default: *542 + default: *545 headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92930,7 +93359,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -92959,14 +93388,14 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *534 + '410': *536 '422': *15 '404': *6 x-github: @@ -92988,7 +93417,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 requestBody: required: true content: @@ -93021,7 +93450,7 @@ paths: application/json: schema: *82 examples: - default: *539 + default: *542 '403': *27 '404': *6 '422': *7 @@ -93045,7 +93474,7 @@ paths: parameters: - *337 - *338 - - *540 + - *543 - *17 - *19 responses: @@ -93060,9 +93489,6 @@ paths: description: Timeline Event type: object anyOf: - - *546 - - *547 - - *548 - *549 - *550 - *551 @@ -93073,6 +93499,9 @@ paths: - *556 - *557 - *558 + - *559 + - *560 + - *561 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93129,7 +93558,11 @@ paths: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - event - actor @@ -93405,7 +93838,7 @@ paths: type: string comments: type: array - items: &578 + items: &585 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93646,7 +94079,7 @@ paths: type: string comments: type: array - items: *464 + items: *466 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93766,6 +94199,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *564 + - *565 + - *566 examples: default: value: @@ -93921,7 +94357,7 @@ paths: headers: Link: *66 '404': *6 - '410': *534 + '410': *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93949,7 +94385,7 @@ paths: application/json: schema: type: array - items: &560 + items: &567 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94054,9 +94490,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: &561 + default: &568 value: id: 1 key: ssh-rsa AAA... @@ -94092,7 +94528,7 @@ paths: parameters: - *337 - *338 - - &562 + - &569 name: key_id description: The unique identifier of the key. in: path @@ -94104,9 +94540,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *567 examples: - default: *561 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -94126,7 +94562,7 @@ paths: parameters: - *337 - *338 - - *562 + - *569 responses: '204': description: Response @@ -94159,7 +94595,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 '404': *6 @@ -94219,7 +94655,7 @@ paths: application/json: schema: *81 examples: - default: &563 + default: &570 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94265,7 +94701,7 @@ paths: application/json: schema: *81 examples: - default: *563 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -94417,7 +94853,7 @@ paths: parameters: - *337 - *338 - - *439 + - *441 responses: '200': description: Response @@ -94665,9 +95101,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *467 + schema: *469 examples: - default: *564 + default: *571 '204': description: Response when already merged '404': @@ -94833,7 +95269,7 @@ paths: application/json: schema: *281 examples: - default: &565 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94894,7 +95330,7 @@ paths: parameters: - *337 - *338 - - &566 + - &573 name: milestone_number description: The number that identifies the milestone. in: path @@ -94908,7 +95344,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -94927,7 +95363,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 requestBody: required: false content: @@ -94967,7 +95403,7 @@ paths: application/json: schema: *281 examples: - default: *565 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94985,7 +95421,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 responses: '204': description: Response @@ -95008,7 +95444,7 @@ paths: parameters: - *337 - *338 - - *566 + - *573 - *17 - *19 responses: @@ -95020,7 +95456,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *548 headers: Link: *66 x-github: @@ -95041,10 +95477,10 @@ paths: parameters: - *337 - *338 - - *567 - - *568 + - *574 + - *575 - *87 - - *569 + - *576 - *17 - *19 responses: @@ -95056,7 +95492,7 @@ paths: type: array items: *107 examples: - default: *570 + default: *577 headers: Link: *66 x-github: @@ -95146,7 +95582,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &578 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95290,7 +95726,7 @@ paths: - custom_404 - public examples: - default: &572 + default: &579 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95387,9 +95823,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *578 examples: - default: *572 + default: *579 '422': *15 '409': *52 x-github: @@ -95551,7 +95987,7 @@ paths: application/json: schema: type: array - items: &573 + items: &580 title: Page Build description: Page Build type: object @@ -95698,9 +96134,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: &574 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95760,9 +96196,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *580 examples: - default: *574 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95893,7 +96329,7 @@ paths: parameters: - *337 - *338 - - &575 + - &582 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95953,7 +96389,7 @@ paths: parameters: - *337 - *338 - - *575 + - *582 responses: '204': *59 '404': *6 @@ -96523,9 +96959,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *576 + default: *583 headers: Link: *66 '304': *35 @@ -96625,7 +97061,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &587 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96859,7 +97295,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *577 + auto_merge: *584 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97055,7 +97491,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &581 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97623,9 +98059,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: &583 + default: &590 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97710,9 +98146,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: &579 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97811,9 +98247,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: - default: *579 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97880,9 +98316,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -97937,16 +98373,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -97971,7 +98407,7 @@ paths: - *337 - *338 - *96 - - *537 + - *539 responses: '204': description: Response @@ -98016,7 +98452,7 @@ paths: parameters: - *337 - *338 - - &582 + - &589 name: pull_number description: The number that identifies the pull request. in: path @@ -98029,9 +98465,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '304': *35 '404': *6 '406': @@ -98068,7 +98504,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98110,9 +98546,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *587 examples: - default: *581 + default: *588 '422': *15 '403': *27 x-github: @@ -98136,7 +98572,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -98199,7 +98635,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98207,7 +98643,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -98239,7 +98675,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98260,9 +98696,9 @@ paths: application/json: schema: type: array - items: *578 + items: *585 examples: - default: *583 + default: *590 headers: Link: *66 x-github: @@ -98297,7 +98733,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -98403,7 +98839,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: example-for-a-multi-line-comment: value: @@ -98493,7 +98929,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *96 requestBody: required: true @@ -98516,7 +98952,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *585 examples: default: value: @@ -98604,7 +99040,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -98614,9 +99050,9 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: - default: *584 + default: *591 headers: Link: *66 x-github: @@ -98648,7 +99084,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -98658,7 +99094,7 @@ paths: application/json: schema: type: array - items: *478 + items: *480 examples: default: value: @@ -98698,7 +99134,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '204': description: Response if pull request has been merged @@ -98723,7 +99159,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98837,7 +99273,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 responses: '200': description: Response @@ -98914,7 +99350,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -98951,7 +99387,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -99489,7 +99925,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: true content: @@ -99523,7 +99959,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -100041,7 +100477,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 - *17 - *19 responses: @@ -100051,7 +100487,7 @@ paths: application/json: schema: type: array - items: &585 + items: &592 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100209,7 +100645,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -100299,9 +100735,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &587 + default: &594 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100366,8 +100802,8 @@ paths: parameters: - *337 - *338 - - *582 - - &586 + - *589 + - &593 name: review_id description: The unique identifier of the review. in: path @@ -100379,9 +100815,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: &588 + default: &595 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100442,8 +100878,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -100466,7 +100902,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -100530,16 +100966,16 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 responses: '200': description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *587 + default: *594 '422': *7 '404': *6 x-github: @@ -100568,8 +101004,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 - *17 - *19 responses: @@ -100829,8 +101265,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -100859,7 +101295,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: default: value: @@ -100924,8 +101360,8 @@ paths: parameters: - *337 - *338 - - *582 - - *586 + - *589 + - *593 requestBody: required: true content: @@ -100960,9 +101396,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *592 examples: - default: *588 + default: *595 '404': *6 '422': *7 '403': *27 @@ -100986,7 +101422,7 @@ paths: parameters: - *337 - *338 - - *582 + - *589 requestBody: required: false content: @@ -101064,9 +101500,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: &590 + default: &597 value: type: file encoding: base64 @@ -101129,9 +101565,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *596 examples: - default: *590 + default: *597 '404': *6 '422': *15 x-github: @@ -101164,7 +101600,7 @@ paths: application/json: schema: type: array - items: *591 + items: *598 examples: default: value: @@ -101335,9 +101771,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: &595 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101444,7 +101880,7 @@ paths: parameters: - *337 - *338 - - &593 + - &600 name: asset_id description: The unique identifier of the asset. in: path @@ -101456,9 +101892,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: &594 + default: &601 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 @@ -101493,7 +101929,7 @@ paths: type: User site_admin: false '404': *6 - '302': *482 + '302': *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101511,7 +101947,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 requestBody: required: false content: @@ -101540,9 +101976,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *599 examples: - default: *594 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101560,7 +101996,7 @@ paths: parameters: - *337 - *338 - - *593 + - *600 responses: '204': description: Response @@ -101679,9 +102115,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -101713,9 +102149,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': *6 x-github: githubCloudOnly: false @@ -101739,7 +102175,7 @@ paths: parameters: - *337 - *338 - - &596 + - &603 name: release_id description: The unique identifier of the release. in: path @@ -101753,9 +102189,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: *591 + schema: *598 examples: - default: *595 + default: *602 '401': description: Unauthorized x-github: @@ -101775,7 +102211,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: false content: @@ -101839,9 +102275,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *598 examples: - default: *595 + default: *602 '404': description: Not Found if the discussion category name is invalid content: @@ -101864,7 +102300,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 responses: '204': description: Response @@ -101887,7 +102323,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - *17 - *19 responses: @@ -101897,7 +102333,7 @@ paths: application/json: schema: type: array - items: *592 + items: *599 examples: default: value: @@ -101980,7 +102416,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - name: name in: query required: true @@ -102006,7 +102442,7 @@ paths: description: Response for successful upload content: application/json: - schema: *592 + schema: *599 examples: response-for-successful-upload: value: @@ -102063,7 +102499,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 - 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. @@ -102087,9 +102523,9 @@ paths: application/json: schema: type: array - items: *465 + items: *467 examples: - default: *536 + default: *538 headers: Link: *66 '404': *6 @@ -102112,7 +102548,7 @@ paths: parameters: - *337 - *338 - - *596 + - *603 requestBody: required: true content: @@ -102142,16 +102578,16 @@ paths: description: Reaction exists content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '201': description: Reaction created content: application/json: - schema: *465 + schema: *467 examples: - default: *466 + default: *468 '422': *15 x-github: githubCloudOnly: false @@ -102175,8 +102611,8 @@ paths: parameters: - *337 - *338 - - *596 - - *537 + - *603 + - *539 responses: '204': description: Response @@ -102219,7 +102655,7 @@ paths: oneOf: - allOf: - *302 - - &597 + - &604 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102240,67 +102676,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *303 - - *597 + - *604 - allOf: - *304 - - *597 + - *604 - allOf: - *305 - - *597 + - *604 - allOf: - - *598 - - *597 + - *605 + - *604 - allOf: - *306 - - *597 + - *604 - allOf: - *307 - - *597 + - *604 - allOf: - *308 - - *597 + - *604 - allOf: - *309 - - *597 + - *604 - allOf: - *310 - - *597 + - *604 - allOf: - *311 - - *597 + - *604 - allOf: - *312 - - *597 + - *604 - allOf: - *313 - - *597 + - *604 - allOf: - *314 - - *597 + - *604 - allOf: - *315 - - *597 + - *604 - allOf: - *320 - - *597 + - *604 - allOf: - *321 - - *597 + - *604 - allOf: - *322 - - *597 + - *604 - allOf: - *316 - - *597 + - *604 - allOf: - *317 - - *597 + - *604 - allOf: - *318 - - *597 + - *604 - allOf: - *319 - - *597 + - *604 examples: default: value: @@ -102351,7 +102787,7 @@ paths: schema: type: boolean default: true - - *599 + - *606 responses: '200': description: Response @@ -102436,7 +102872,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *600 + items: *607 required: - name - enforcement @@ -102469,7 +102905,7 @@ paths: application/json: schema: *323 examples: - default: &611 + default: &618 value: id: 42 name: super cool ruleset @@ -102519,11 +102955,11 @@ paths: parameters: - *337 - *338 - - *601 - - *602 - - *603 - - *604 - - *605 + - *608 + - *609 + - *610 + - *611 + - *612 - *17 - *19 responses: @@ -102531,9 +102967,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *613 examples: - default: *607 + default: *614 '404': *6 '500': *53 x-github: @@ -102556,15 +102992,15 @@ paths: parameters: - *337 - *338 - - *608 + - *615 responses: '200': description: Response content: application/json: - schema: *609 + schema: *616 examples: - default: *610 + default: *617 '404': *6 '500': *53 x-github: @@ -102615,7 +103051,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '500': *53 put: @@ -102668,7 +103104,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *600 + items: *607 examples: default: value: @@ -102698,7 +103134,7 @@ paths: application/json: schema: *323 examples: - default: *611 + default: *618 '404': *6 '422': *15 '500': *53 @@ -102760,7 +103196,7 @@ paths: type: array items: *326 examples: - default: *612 + default: *619 '404': *6 '500': *53 x-github: @@ -102798,7 +103234,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *620 examples: default: value: @@ -102855,17 +103291,7 @@ paths: parameters: - *337 - *338 - - *614 - - *615 - - *616 - - *617 - - *618 - - *619 - - *620 - *621 - - *60 - - *19 - - *17 - *622 - *623 - *624 @@ -102873,6 +103299,16 @@ paths: - *626 - *627 - *628 + - *60 + - *19 + - *17 + - *629 + - *630 + - *631 + - *632 + - *633 + - *634 + - *635 responses: '200': description: Response @@ -102880,7 +103316,7 @@ paths: application/json: schema: type: array - items: &632 + items: &639 type: object properties: number: *180 @@ -102896,8 +103332,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolved_at: type: - string @@ -103003,7 +103439,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *631 + - *638 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103164,14 +103600,14 @@ paths: parameters: - *337 - *338 - - *433 - - *627 + - *435 + - *634 responses: '200': description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -103227,7 +103663,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 requestBody: required: true content: @@ -103235,8 +103671,8 @@ paths: schema: type: object properties: - state: *629 - resolution: *630 + state: *636 + resolution: *637 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103284,7 +103720,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *639 examples: default: value: @@ -103385,7 +103821,7 @@ paths: parameters: - *337 - *338 - - *433 + - *435 - *19 - *17 responses: @@ -103396,7 +103832,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &781 + items: &788 type: object properties: type: @@ -103423,19 +103859,19 @@ paths: - commit details: oneOf: - - *633 - - *634 - - *635 - - *636 - - *637 - - *638 - - *639 - *640 - *641 - *642 - *643 - *644 - *645 + - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 examples: default: value: @@ -103530,14 +103966,14 @@ paths: schema: type: object properties: - reason: &647 + reason: &654 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *646 + placeholder_id: *653 required: - reason - placeholder_id @@ -103554,7 +103990,7 @@ paths: schema: type: object properties: - reason: *647 + reason: *654 expire_at: type: - string @@ -103617,7 +104053,7 @@ paths: properties: incremental_scans: type: array - items: &648 + items: &655 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103650,15 +104086,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *648 + items: *655 backfill_scans: type: array - items: *648 + items: *655 custom_pattern_backfill_scans: type: array items: allOf: - - *648 + - *655 - type: object properties: pattern_name: @@ -103671,7 +104107,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *648 + items: *655 examples: default: value: @@ -103781,9 +104217,9 @@ paths: application/json: schema: type: array - items: *649 + items: *656 examples: - default: *650 + default: *657 '400': *14 '404': *6 x-github: @@ -103977,9 +104413,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: &652 + default: &659 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104332,7 +104768,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: default: value: @@ -104487,15 +104923,15 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '200': description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 + default: *659 '403': *27 '404': *6 x-github: @@ -104521,7 +104957,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 requestBody: required: true content: @@ -104692,10 +105128,10 @@ paths: description: Response content: application/json: - schema: *649 + schema: *656 examples: - default: *652 - add_credit: *652 + default: *659 + add_credit: *659 '403': *27 '404': *6 '422': @@ -104735,7 +105171,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': *37 '400': *14 @@ -104764,7 +105200,7 @@ paths: parameters: - *337 - *338 - - *651 + - *658 responses: '202': description: Response @@ -104905,7 +105341,7 @@ paths: application/json: schema: type: array - items: &653 + items: &660 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105278,7 +105714,7 @@ paths: application/json: schema: type: array - items: *653 + items: *660 examples: default: value: @@ -105368,7 +105804,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *661 examples: default: value: @@ -105462,7 +105898,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &655 + schema: &662 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105562,7 +105998,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *662 examples: default: value: @@ -105772,7 +106208,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &663 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105784,7 +106220,7 @@ paths: required: - names examples: - default: &657 + default: &664 value: names: - octocat @@ -105839,9 +106275,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *663 examples: - default: *657 + default: *664 '404': *6 '422': *7 x-github: @@ -105864,7 +106300,7 @@ paths: parameters: - *337 - *338 - - &658 + - &665 name: per description: The time frame to display results for. in: query @@ -105895,7 +106331,7 @@ paths: - 128 clones: type: array - items: &659 + items: &666 title: Traffic type: object properties: @@ -106143,7 +106579,7 @@ paths: parameters: - *337 - *338 - - *658 + - *665 responses: '200': description: Response @@ -106164,7 +106600,7 @@ paths: - 3782 views: type: array - items: *659 + items: *666 required: - uniques - count @@ -106943,7 +107379,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &660 + text_matches: &667 title: Search Result Text Matches type: array items: @@ -107106,7 +107542,7 @@ paths: enum: - author-date - committer-date - - &661 + - &668 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 @@ -107194,7 +107630,7 @@ paths: url: type: string format: uri - verification: *518 + verification: *520 required: - author - committer @@ -107226,7 +107662,7 @@ paths: type: number node_id: type: string - text_matches: *660 + text_matches: *667 required: - sha - node_id @@ -107418,7 +107854,7 @@ paths: - interactions - created - updated - - *661 + - *668 - *17 - *19 - name: advanced_search @@ -107532,11 +107968,11 @@ paths: type: - string - 'null' - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: type: string state_reason: @@ -107564,7 +108000,7 @@ paths: - string - 'null' format: date-time - text_matches: *660 + text_matches: *667 pull_request: type: object properties: @@ -107874,7 +108310,7 @@ paths: enum: - created - updated - - *661 + - *668 - *17 - *19 responses: @@ -107919,7 +108355,7 @@ paths: - 'null' score: type: number - text_matches: *660 + text_matches: *667 required: - id - node_id @@ -108004,7 +108440,7 @@ paths: - forks - help-wanted-issues - updated - - *661 + - *668 - *17 - *19 responses: @@ -108250,7 +108686,7 @@ paths: - admin - pull - push - text_matches: *660 + text_matches: *667 temp_clone_token: type: string allow_merge_commit: @@ -108558,7 +108994,7 @@ paths: - string - 'null' format: uri - text_matches: *660 + text_matches: *667 related: type: - array @@ -108751,7 +109187,7 @@ paths: - followers - repositories - joined - - *661 + - *668 - *17 - *19 responses: @@ -108861,7 +109297,7 @@ paths: type: - boolean - 'null' - text_matches: *660 + text_matches: *667 blog: type: - string @@ -108943,7 +109379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &664 + - &671 name: team_id description: The unique identifier of the team. in: path @@ -108984,7 +109420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *664 + - *671 requestBody: required: true content: @@ -109085,7 +109521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *664 + - *671 responses: '204': description: Response @@ -109114,7 +109550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -109152,7 +109588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *664 + - *671 - name: role description: Filters members returned by their role in the team. in: query @@ -109203,7 +109639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -109240,7 +109676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -109280,7 +109716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -109317,7 +109753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '200': @@ -109326,7 +109762,7 @@ paths: application/json: schema: *336 examples: - response-if-user-is-a-team-maintainer: *665 + response-if-user-is-a-team-maintainer: *672 '404': *6 x-github: githubCloudOnly: false @@ -109359,7 +109795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 requestBody: required: false @@ -109387,7 +109823,7 @@ paths: application/json: schema: *336 examples: - response-if-users-membership-with-team-is-now-pending: *666 + response-if-users-membership-with-team-is-now-pending: *673 '403': description: Forbidden if team synchronization is set up '422': @@ -109421,7 +109857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *664 + - *671 - *70 responses: '204': @@ -109449,7 +109885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -109491,7 +109927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -109499,7 +109935,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *667 + schema: *674 examples: alternative-response-with-extra-repository-information: value: @@ -109656,7 +110092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *664 + - *671 - *337 - *338 requestBody: @@ -109708,7 +110144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *664 + - *671 - *337 - *338 responses: @@ -109735,7 +110171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *664 + - *671 - *17 - *19 responses: @@ -109747,7 +110183,7 @@ paths: type: array items: *200 examples: - response-if-child-teams-exist: *668 + response-if-child-teams-exist: *675 headers: Link: *66 '404': *6 @@ -109780,7 +110216,7 @@ paths: application/json: schema: oneOf: - - &670 + - &677 title: Private User description: Private User type: object @@ -110030,7 +110466,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *669 + - *676 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110190,7 +110626,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *677 examples: default: value: @@ -110536,7 +110972,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -110544,7 +110980,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -110588,7 +111024,7 @@ paths: type: integer secrets: type: array - items: &671 + items: &678 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -110630,7 +111066,7 @@ paths: - visibility - selected_repositories_url examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -110708,7 +111144,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *678 examples: default: value: @@ -111006,7 +111442,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '401': *23 @@ -111064,7 +111500,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 @@ -111121,7 +111557,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &679 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111174,7 +111610,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &673 + default: &680 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111219,9 +111655,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *679 examples: - default: *673 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -111258,9 +111694,9 @@ paths: type: integer machines: type: array - items: *457 + items: *459 examples: - default: *674 + default: *681 '304': *35 '500': *53 '401': *23 @@ -111349,7 +111785,7 @@ paths: machine: anyOf: - type: 'null' - - *457 + - *459 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -112154,7 +112590,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '304': *35 '500': *53 '400': *14 @@ -112194,7 +112630,7 @@ paths: application/json: schema: *250 examples: - default: *456 + default: *458 '500': *53 '401': *23 '403': *27 @@ -112226,7 +112662,7 @@ paths: type: array items: *262 examples: - default: &685 + default: &692 value: - id: 197 name: hello_docker @@ -112327,7 +112763,7 @@ paths: application/json: schema: type: array - items: &675 + items: &682 title: Email description: Email type: object @@ -112397,9 +112833,9 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: - default: &687 + default: &694 value: - email: octocat@github.com verified: true @@ -112476,7 +112912,7 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: default: value: @@ -112734,7 +113170,7 @@ paths: application/json: schema: type: array - items: &676 + items: &683 title: GPG Key description: A unique encryption key type: object @@ -112879,7 +113315,7 @@ paths: - subkeys - revoked examples: - default: &704 + default: &711 value: - id: 3 name: Octocat's GPG Key @@ -112964,9 +113400,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *683 examples: - default: &677 + default: &684 value: id: 3 name: Octocat's GPG Key @@ -113023,7 +113459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &678 + - &685 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113035,9 +113471,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *683 examples: - default: *677 + default: *684 '404': *6 '304': *35 '403': *27 @@ -113060,7 +113496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *678 + - *685 responses: '204': description: Response @@ -113377,7 +113813,7 @@ paths: required: true content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -113527,7 +113963,7 @@ paths: application/json: schema: type: array - items: &679 + items: &686 title: Key description: Key type: object @@ -113630,9 +114066,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *686 examples: - default: &680 + default: &687 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -113665,15 +114101,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '200': description: Response content: application/json: - schema: *679 + schema: *686 examples: - default: *680 + default: *687 '404': *6 '304': *35 '403': *27 @@ -113696,7 +114132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *562 + - *569 responses: '204': description: Response @@ -113729,7 +114165,7 @@ paths: application/json: schema: type: array - items: &681 + items: &688 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -113808,7 +114244,7 @@ paths: - account - plan examples: - default: &682 + default: &689 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -113870,9 +114306,9 @@ paths: application/json: schema: type: array - items: *681 + items: *688 examples: - default: *682 + default: *689 headers: Link: *66 '304': *35 @@ -114890,7 +115326,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *257 - - *683 + - *690 responses: '204': description: Response @@ -115023,7 +115459,7 @@ paths: - docker - nuget - container - - *684 + - *691 - *19 - *17 responses: @@ -115035,8 +115471,8 @@ paths: type: array items: *262 examples: - default: *685 - '400': *686 + default: *692 + '400': *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115065,7 +115501,7 @@ paths: application/json: schema: *262 examples: - default: &705 + default: &712 value: id: 40201 name: octo-name @@ -115427,9 +115863,9 @@ paths: application/json: schema: type: array - items: *675 + items: *682 examples: - default: *687 + default: *694 headers: Link: *66 '304': *35 @@ -115542,7 +115978,7 @@ paths: type: array items: *78 examples: - default: &694 + default: &701 summary: Default response value: - id: 1296269 @@ -115906,9 +116342,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: *688 + default: *695 headers: Link: *66 '304': *35 @@ -115993,7 +116429,7 @@ paths: application/json: schema: type: array - items: &689 + items: &696 title: Social account description: Social media account type: object @@ -116010,7 +116446,7 @@ paths: - provider - url examples: - default: &690 + default: &697 value: - provider: twitter url: https://twitter.com/github @@ -116073,9 +116509,9 @@ paths: application/json: schema: type: array - items: *689 + items: *696 examples: - default: *690 + default: *697 '422': *15 '304': *35 '404': *6 @@ -116163,7 +116599,7 @@ paths: application/json: schema: type: array - items: &691 + items: &698 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116183,7 +116619,7 @@ paths: - title - created_at examples: - default: &722 + default: &729 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -116248,9 +116684,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *698 examples: - default: &692 + default: &699 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -116280,7 +116716,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: - - &693 + - &700 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116292,9 +116728,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *698 examples: - default: *692 + default: *699 '404': *6 '304': *35 '403': *27 @@ -116317,7 +116753,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: - - *693 + - *700 responses: '204': description: Response @@ -116346,7 +116782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &723 + - &730 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 @@ -116371,11 +116807,11 @@ paths: type: array items: *78 examples: - default-response: *694 + default-response: *701 application/vnd.github.v3.star+json: schema: type: array - items: &724 + items: &731 title: Starred Repository description: Starred Repository type: object @@ -116744,10 +117180,10 @@ paths: application/json: schema: oneOf: - - *670 - - *669 + - *677 + - *676 examples: - default-response: &698 + default-response: &705 summary: Default response value: login: octocat @@ -116782,7 +117218,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &699 + response-with-git-hub-plan-information: &706 summary: Response with GitHub plan information value: login: octocat @@ -116839,7 +117275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &696 + - &703 name: user_id description: The unique identifier of the user. in: path @@ -116905,7 +117341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *695 + - *702 - *17 responses: '200': @@ -116940,7 +117376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *696 + - *703 - *280 requestBody: required: true @@ -117015,7 +117451,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *697 + schema: *704 examples: table_view: summary: Response for creating a table view @@ -117067,11 +117503,11 @@ paths: application/json: schema: oneOf: - - *670 - - *669 + - *677 + - *676 examples: - default-response: *698 - response-with-git-hub-plan-information: *699 + default-response: *705 + response-with-git-hub-plan-information: *706 '404': *6 x-github: githubCloudOnly: false @@ -117121,8 +117557,8 @@ paths: required: - subject_digests examples: - default: *700 - withPredicateType: *701 + default: *707 + withPredicateType: *708 responses: '200': description: Response @@ -117176,7 +117612,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *702 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117694,7 +118130,7 @@ paths: application/json: schema: *196 examples: - default: &703 + default: &710 summary: Example response for a user copilot space value: id: 42 @@ -117795,7 +118231,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 x-github: @@ -117921,7 +118357,7 @@ paths: application/json: schema: *196 examples: - default: *703 + default: *710 '403': *27 '404': *6 '422': *15 @@ -118689,7 +119125,7 @@ paths: type: array items: *262 examples: - default: *685 + default: *692 '403': *27 '401': *23 x-github: @@ -119073,9 +119509,9 @@ paths: application/json: schema: type: array - items: *676 + items: *683 examples: - default: *704 + default: *711 headers: Link: *66 x-github: @@ -119179,7 +119615,7 @@ paths: application/json: schema: *20 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119304,7 +119740,7 @@ paths: - docker - nuget - container - - *684 + - *691 - *70 - *19 - *17 @@ -119317,10 +119753,10 @@ paths: type: array items: *262 examples: - default: *685 + default: *692 '403': *27 '401': *23 - '400': *686 + '400': *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119350,7 +119786,7 @@ paths: application/json: schema: *262 examples: - default: *705 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119699,7 +120135,7 @@ paths: type: array items: *283 examples: - default: *706 + default: *713 headers: Link: *66 '304': *35 @@ -119759,7 +120195,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *707 + items: *714 required: - name - data_type @@ -119775,7 +120211,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *708 + iteration_configuration: *715 required: - name - data_type @@ -119797,8 +120233,8 @@ paths: value: name: Due date data_type: date - single_select_field: *709 - iteration_field: *710 + single_select_field: *716 + iteration_field: *717 responses: '201': description: Response @@ -119806,11 +120242,11 @@ paths: application/json: schema: *283 examples: - text_field: *711 - number_field: *712 - date_field: *713 - single_select_field: *714 - iteration_field: *715 + text_field: *718 + number_field: *719 + date_field: *720 + single_select_field: *721 + iteration_field: *722 '304': *35 '403': *27 '401': *23 @@ -119832,7 +120268,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *280 - - *716 + - *723 - *70 responses: '200': @@ -119841,7 +120277,7 @@ paths: application/json: schema: *283 examples: - default: *717 + default: *724 headers: Link: *66 '304': *35 @@ -120198,7 +120634,7 @@ paths: parameters: - *280 - *70 - - *718 + - *725 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120737,7 +121173,7 @@ paths: parameters: - *70 - *116 - - *719 + - *726 - *118 responses: '200': @@ -120836,9 +121272,9 @@ paths: - *116 - *117 - *118 - - *720 + - *727 - *121 - - *721 + - *728 responses: '200': description: Response when getting a billing usage summary @@ -120972,9 +121408,9 @@ paths: application/json: schema: type: array - items: *689 + items: *696 examples: - default: *690 + default: *697 headers: Link: *66 x-github: @@ -121004,9 +121440,9 @@ paths: application/json: schema: type: array - items: *691 + items: *698 examples: - default: *722 + default: *729 headers: Link: *66 x-github: @@ -121031,7 +121467,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *723 + - *730 - *60 - *17 - *19 @@ -121043,11 +121479,11 @@ paths: schema: anyOf: - type: array - items: *724 + items: *731 - type: array items: *78 examples: - default-response: *694 + default-response: *701 headers: Link: *66 x-github: @@ -121207,7 +121643,7 @@ webhooks: type: string enum: - disabled - enterprise: &725 + enterprise: &732 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121276,7 +121712,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &726 + installation: &733 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121297,7 +121733,7 @@ webhooks: required: - id - node_id - organization: &727 + organization: &734 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121370,7 +121806,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &728 + repository: &735 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122310,10 +122746,10 @@ webhooks: type: string enum: - enabled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -122389,11 +122825,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: &729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: &736 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) @@ -122616,11 +123052,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -122808,11 +123244,11 @@ webhooks: - everyone required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - rule: *729 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + rule: *736 sender: *4 required: - action @@ -122896,7 +123332,7 @@ webhooks: type: string enum: - completed - check_run: &731 + check_run: &738 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123006,7 +123442,7 @@ webhooks: - examples: - neutral - deployment: *730 + deployment: *737 details_url: type: string examples: @@ -123104,10 +123540,10 @@ webhooks: - output - app - pull_requests - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -123498,11 +123934,11 @@ webhooks: type: string enum: - created - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -123896,11 +124332,11 @@ webhooks: type: string enum: - requested_action - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 requested_action: description: The action requested by the user. type: object @@ -124303,11 +124739,11 @@ webhooks: type: string enum: - rerequested - check_run: *731 - installation: *726 - enterprise: *725 - organization: *727 - repository: *728 + check_run: *738 + installation: *733 + enterprise: *732 + organization: *734 + repository: *735 sender: *4 required: - check_run @@ -125292,10 +125728,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -126009,10 +126445,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -126720,10 +127156,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -126892,7 +127328,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127044,20 +127480,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &732 + commit_oid: &739 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: *725 - installation: *726 - organization: *727 - ref: &733 + enterprise: *732 + installation: *733 + organization: *734 + ref: &740 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: *728 + repository: *735 sender: *4 required: - action @@ -127224,7 +127660,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127465,12 +127901,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -127568,7 +128004,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127753,12 +128189,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -127927,7 +128363,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128104,12 +128540,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -128210,7 +128646,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128399,9 +128835,9 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128409,7 +128845,7 @@ webhooks: type: - string - 'null' - repository: *728 + repository: *735 sender: *4 required: - action @@ -128508,7 +128944,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128655,12 +129091,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *732 - enterprise: *725 - installation: *726 - organization: *727 - ref: *733 - repository: *728 + commit_oid: *739 + enterprise: *732 + installation: *733 + organization: *734 + ref: *740 + repository: *735 sender: *4 required: - action @@ -128829,7 +129265,7 @@ webhooks: required: - login - id - dismissed_comment: *428 + dismissed_comment: *430 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128981,10 +129417,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -129244,10 +129680,10 @@ webhooks: - updated_at - author_association - body - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -129328,18 +129764,18 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *727 - pusher_type: &734 + organization: *734 + pusher_type: &741 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &735 + ref: &742 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -129349,7 +129785,7 @@ webhooks: enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -129432,9 +129868,9 @@ webhooks: enum: - created definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -129519,9 +129955,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -129599,9 +130035,9 @@ webhooks: enum: - promote_to_enterprise definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -129679,9 +130115,9 @@ webhooks: enum: - updated definition: *291 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -129758,10 +130194,10 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - repository: *728 - organization: *727 + enterprise: *732 + installation: *733 + repository: *735 + organization: *734 sender: *4 new_property_values: type: array @@ -129846,18 +130282,18 @@ webhooks: title: delete event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - pusher_type: *734 - ref: *735 + enterprise: *732 + installation: *733 + organization: *734 + pusher_type: *741 + ref: *742 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *728 + repository: *735 sender: *4 required: - ref @@ -129937,11 +130373,11 @@ webhooks: type: string enum: - assignees_changed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130021,11 +130457,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130106,11 +130542,11 @@ webhooks: type: string enum: - auto_reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130191,11 +130627,11 @@ webhooks: type: string enum: - created - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130274,11 +130710,11 @@ webhooks: type: string enum: - dismissed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130357,11 +130793,11 @@ webhooks: type: string enum: - fixed - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130441,11 +130877,11 @@ webhooks: type: string enum: - reintroduced - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130524,11 +130960,11 @@ webhooks: type: string enum: - reopened - alert: *488 - installation: *726 - organization: *727 - enterprise: *725 - repository: *728 + alert: *490 + installation: *733 + organization: *734 + enterprise: *732 + repository: *735 sender: *4 required: - action @@ -130605,9 +131041,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - key: &736 + enterprise: *732 + installation: *733 + key: &743 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130645,8 +131081,8 @@ webhooks: - verified - created_at - read_only - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -130723,11 +131159,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - key: *736 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + key: *743 + organization: *734 + repository: *735 sender: *4 required: - action @@ -131294,12 +131730,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: &740 + workflow: &747 title: Workflow type: - object @@ -132050,13 +132486,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *495 + - *497 pull_requests: type: array - items: *580 - repository: *728 - organization: *727 - installation: *726 + items: *587 + repository: *735 + organization: *734 + installation: *733 sender: *4 responses: '200': @@ -132127,7 +132563,7 @@ webhooks: type: string enum: - approved - approver: &737 + approver: &744 type: object properties: avatar_url: @@ -132170,11 +132606,11 @@ webhooks: type: string comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: &738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: &745 type: array items: type: object @@ -132255,7 +132691,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &739 + workflow_job_run: &746 type: object properties: conclusion: @@ -133001,18 +133437,18 @@ webhooks: type: string enum: - rejected - approver: *737 + approver: *744 comment: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - reviewers: *738 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + reviewers: *745 sender: *4 since: type: string - workflow_job_run: *739 + workflow_job_run: *746 workflow_job_runs: type: array items: @@ -133729,13 +134165,13 @@ webhooks: type: string enum: - requested - enterprise: *725 + enterprise: *732 environment: type: string - installation: *726 - organization: *727 - repository: *728 - requestor: &745 + installation: *733 + organization: *734 + repository: *735 + requestor: &752 title: User type: - object @@ -135668,12 +136104,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Deployment Workflow Run type: @@ -136364,7 +136800,7 @@ webhooks: type: string enum: - answered - answer: &743 + answer: &750 type: object properties: author_association: @@ -136524,11 +136960,11 @@ webhooks: - created_at - updated_at - body - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136655,11 +137091,11 @@ webhooks: - from required: - category - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136742,11 +137178,11 @@ webhooks: type: string enum: - closed - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -136828,7 +137264,7 @@ webhooks: type: string enum: - created - comment: &742 + comment: &749 type: object properties: author_association: @@ -136988,11 +137424,11 @@ webhooks: - updated_at - body - reactions - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137075,12 +137511,12 @@ webhooks: type: string enum: - deleted - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137175,12 +137611,12 @@ webhooks: - from required: - body - comment: *742 - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + comment: *749 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137264,11 +137700,11 @@ webhooks: type: string enum: - created - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137350,11 +137786,11 @@ webhooks: type: string enum: - deleted - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137454,11 +137890,11 @@ webhooks: type: string required: - from - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137540,10 +137976,10 @@ webhooks: type: string enum: - labeled - discussion: *741 - enterprise: *725 - installation: *726 - label: &744 + discussion: *748 + enterprise: *732 + installation: *733 + label: &751 title: Label type: object properties: @@ -137576,8 +138012,8 @@ webhooks: - color - default - description - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137660,11 +138096,11 @@ webhooks: type: string enum: - locked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137746,11 +138182,11 @@ webhooks: type: string enum: - pinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137832,11 +138268,11 @@ webhooks: type: string enum: - reopened - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -137921,16 +138357,16 @@ webhooks: changes: type: object properties: - new_discussion: *741 - new_repository: *728 + new_discussion: *748 + new_repository: *735 required: - new_discussion - new_repository - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -138013,10 +138449,10 @@ webhooks: type: string enum: - unanswered - discussion: *741 - old_answer: *743 - organization: *727 - repository: *728 + discussion: *748 + old_answer: *750 + organization: *734 + repository: *735 sender: *4 required: - action @@ -138098,12 +138534,12 @@ webhooks: type: string enum: - unlabeled - discussion: *741 - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -138186,11 +138622,11 @@ webhooks: type: string enum: - unlocked - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -138272,11 +138708,11 @@ webhooks: type: string enum: - unpinned - discussion: *741 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + discussion: *748 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -138349,7 +138785,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *725 + enterprise: *732 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -139027,9 +139463,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - forkee @@ -139175,9 +139611,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pages: description: The pages that were updated. type: array @@ -139215,7 +139651,7 @@ webhooks: - action - sha - html_url - repository: *728 + repository: *735 sender: *4 required: - pages @@ -139291,10 +139727,10 @@ webhooks: type: string enum: - created - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: &746 + organization: *734 + repositories: &753 description: An array of repository objects that the installation can access. type: array @@ -139320,8 +139756,8 @@ webhooks: - name - full_name - private - repository: *728 - requester: *745 + repository: *735 + requester: *752 sender: *4 required: - action @@ -139396,11 +139832,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -139477,11 +139913,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -139558,10 +139994,10 @@ webhooks: type: string enum: - added - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: &747 + organization: *734 + repositories_added: &754 description: An array of repository objects, which were added to the installation. type: array @@ -139607,15 +140043,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *728 - repository_selection: &748 + repository: *735 + repository_selection: &755 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *745 + requester: *752 sender: *4 required: - action @@ -139694,10 +140130,10 @@ webhooks: type: string enum: - removed - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories_added: *747 + organization: *734 + repositories_added: *754 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139724,9 +140160,9 @@ webhooks: - name - full_name - private - repository: *728 - repository_selection: *748 - requester: *745 + repository: *735 + repository_selection: *755 + requester: *752 sender: *4 required: - action @@ -139805,11 +140241,11 @@ webhooks: type: string enum: - suspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -139991,10 +140427,10 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 target_type: type: string @@ -140073,11 +140509,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *725 + enterprise: *732 installation: *20 - organization: *727 - repositories: *746 - repository: *728 + organization: *734 + repositories: *753 + repository: *735 requester: type: - 'null' @@ -140243,7 +140679,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 user: title: User type: @@ -140329,8 +140769,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141142,8 +141582,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141504,8 +141944,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -141585,7 +142025,7 @@ webhooks: type: string enum: - deleted - comment: &749 + comment: &756 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -141742,7 +142182,11 @@ webhooks: pin: anyOf: - type: 'null' - - *559 + - *562 + minimized: + anyOf: + - type: 'null' + - *563 required: - url - html_url @@ -141756,8 +142200,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142565,8 +143009,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142929,8 +143373,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -143010,7 +143454,7 @@ webhooks: type: string enum: - edited - changes: &773 + changes: &780 description: The changes to the comment. type: object properties: @@ -143022,9 +143466,9 @@ webhooks: type: string required: - from - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143835,8 +144279,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144197,8 +144641,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -144279,9 +144723,9 @@ webhooks: type: string enum: - pinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145094,8 +145538,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145458,8 +145902,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -145539,9 +145983,9 @@ webhooks: type: string enum: - unpinned - comment: *749 - enterprise: *725 - installation: *726 + comment: *756 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146354,8 +146798,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146718,8 +147162,8 @@ webhooks: - state - locked - assignee - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146808,9 +147252,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146899,9 +147343,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -146989,9 +147433,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -147080,9 +147524,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -147162,10 +147606,10 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - issue: &750 + assignee: *752 + enterprise: *732 + installation: *733 + issue: &757 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -147976,11 +148420,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148100,8 +148544,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -148181,8 +148625,8 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148998,11 +149442,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149265,8 +149709,8 @@ webhooks: required: - state - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -149345,8 +149789,8 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150153,11 +150597,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150276,8 +150720,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -150356,8 +150800,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151187,11 +151631,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151289,7 +151733,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &751 + milestone: &758 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151432,8 +151876,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -151532,8 +151976,8 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152344,11 +152788,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152468,9 +152912,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -152550,9 +152994,9 @@ webhooks: type: string enum: - field_added - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was set or updated on the @@ -152718,8 +153162,8 @@ webhooks: - id required: - from - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -152799,9 +153243,9 @@ webhooks: type: string enum: - field_removed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -152888,8 +153332,8 @@ webhooks: - 'null' required: - id - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -152969,8 +153413,8 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153780,11 +154224,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153904,9 +154348,9 @@ webhooks: - active_lock_reason - body - reactions - label: *744 - organization: *727 - repository: *728 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -153986,8 +154430,8 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154822,11 +155266,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154923,8 +155367,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -155003,8 +155447,8 @@ webhooks: type: string enum: - milestoned - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155833,11 +156277,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155934,9 +156378,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *751 - organization: *727 - repository: *728 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -156823,11 +157267,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157419,8 +157863,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158227,11 +158671,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158354,8 +158798,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -158435,9 +158879,9 @@ webhooks: type: string enum: - pinned - enterprise: *725 - installation: *726 - issue: &752 + enterprise: *732 + installation: *733 + issue: &759 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -159242,11 +159686,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159365,8 +159809,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -159445,8 +159889,8 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160279,11 +160723,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160381,8 +160825,8 @@ webhooks: user_view_type: type: string type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161270,11 +161714,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161884,11 +162328,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -161968,12 +162412,12 @@ webhooks: type: string enum: - typed - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162054,7 +162498,7 @@ webhooks: type: string enum: - unassigned - assignee: &776 + assignee: &783 title: User type: - object @@ -162126,11 +162570,11 @@ webhooks: required: - login - id - enterprise: *725 - installation: *726 - issue: *750 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162209,12 +162653,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - issue: *750 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *757 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -162294,8 +162738,8 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163128,11 +163572,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *662 - issue_dependencies_summary: *663 + sub_issues_summary: *669 + issue_dependencies_summary: *670 issue_field_values: type: array - items: *543 + items: *546 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163229,8 +163673,8 @@ webhooks: format: uri user_view_type: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163310,11 +163754,11 @@ webhooks: type: string enum: - unpinned - enterprise: *725 - installation: *726 - issue: *752 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + issue: *759 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163393,12 +163837,12 @@ webhooks: type: string enum: - untyped - enterprise: *725 - installation: *726 - issue: *750 + enterprise: *732 + installation: *733 + issue: *757 type: *245 - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163478,11 +163922,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163560,11 +164004,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163674,11 +164118,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - label: *744 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + label: *751 + organization: *734 + repository: *735 sender: *4 required: - action @@ -163760,9 +164204,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: &753 + enterprise: *732 + installation: *733 + marketplace_purchase: &760 title: Marketplace Purchase type: object required: @@ -163850,8 +164294,8 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: &754 + organization: *734 + previous_marketplace_purchase: &761 title: Marketplace Purchase type: object properties: @@ -163935,7 +164379,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -164015,10 +164459,10 @@ webhooks: - changed effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164106,7 +164550,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -164188,10 +164632,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164277,7 +164721,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *728 + repository: *735 sender: *4 required: - action @@ -164358,8 +164802,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 marketplace_purchase: title: Marketplace Purchase type: object @@ -164445,9 +164889,9 @@ webhooks: type: integer unit_count: type: integer - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -164527,12 +164971,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *725 - installation: *726 - marketplace_purchase: *753 - organization: *727 - previous_marketplace_purchase: *754 - repository: *728 + enterprise: *732 + installation: *733 + marketplace_purchase: *760 + organization: *734 + previous_marketplace_purchase: *761 + repository: *735 sender: *4 required: - action @@ -164634,11 +165078,11 @@ webhooks: type: string required: - to - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164740,11 +165184,11 @@ webhooks: type: - string - 'null' - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164823,11 +165267,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 sender: *4 required: - action @@ -164905,11 +165349,11 @@ webhooks: type: string enum: - added - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164987,7 +165431,7 @@ webhooks: required: - login - id - team: &755 + team: &762 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -165217,11 +165661,11 @@ webhooks: type: string enum: - removed - enterprise: *725 - installation: *726 - member: *745 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + member: *752 + organization: *734 + repository: *735 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165300,7 +165744,7 @@ webhooks: required: - login - id - team: *755 + team: *762 required: - action - scope @@ -165382,8 +165826,8 @@ webhooks: type: string enum: - checks_requested - installation: *726 - merge_group: &756 + installation: *733 + merge_group: &763 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -165409,8 +165853,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165496,10 +165940,10 @@ webhooks: - merged - invalidated - dequeued - installation: *726 - merge_group: *756 - organization: *727 - repository: *728 + installation: *733 + merge_group: *763 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165572,7 +166016,7 @@ webhooks: type: string enum: - deleted - enterprise: *725 + enterprise: *732 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165681,12 +166125,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *726 - organization: *727 + installation: *733 + organization: *734 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -165766,11 +166210,11 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -165849,9 +166293,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - milestone: &757 + enterprise: *732 + installation: *733 + milestone: &764 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165993,8 +166437,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166073,11 +166517,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166187,11 +166631,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - milestone: *751 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *758 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166271,11 +166715,11 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - milestone: *757 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + milestone: *764 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166354,11 +166798,11 @@ webhooks: type: string enum: - blocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166437,11 +166881,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *745 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + blocked_user: *752 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166520,9 +166964,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - membership: &758 + enterprise: *732 + installation: *733 + membership: &765 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166632,8 +167076,8 @@ webhooks: - role - organization_url - user - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166711,11 +167155,11 @@ webhooks: type: string enum: - member_added - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -166794,8 +167238,8 @@ webhooks: type: string enum: - member_invited - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166917,10 +167361,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 - user: *745 + user: *752 required: - action - invitation @@ -166998,11 +167442,11 @@ webhooks: type: string enum: - member_removed - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -167089,11 +167533,11 @@ webhooks: properties: from: type: string - enterprise: *725 - installation: *726 - membership: *758 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + membership: *765 + organization: *734 + repository: *735 sender: *4 required: - action @@ -167170,9 +167614,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -167695,7 +168139,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &759 + items: &766 title: Ruby Gems metadata type: object properties: @@ -167792,7 +168236,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -167868,9 +168312,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 package: description: Information about the package. type: object @@ -168232,7 +168676,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 source_url: type: string format: uri @@ -168303,7 +168747,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -168483,12 +168927,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *725 + enterprise: *732 id: type: integer - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - id @@ -168565,7 +169009,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &760 + personal_access_token_request: &767 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168715,10 +169159,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *725 - organization: *727 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -168795,11 +169239,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -168875,11 +169319,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *760 - enterprise: *725 - organization: *727 + personal_access_token_request: *767 + enterprise: *732 + organization: *734 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -168954,11 +169398,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *760 - organization: *727 - enterprise: *725 + personal_access_token_request: *767 + organization: *734 + enterprise: *732 sender: *4 - installation: *726 + installation: *733 required: - action - personal_access_token_request @@ -169063,7 +169507,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *761 + last_response: *768 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -169095,8 +169539,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 zen: description: Random string of GitHub zen. @@ -169341,10 +169785,10 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: &762 + enterprise: *732 + installation: *733 + organization: *734 + project_card: &769 title: Project Card type: object properties: @@ -169467,7 +169911,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -169548,11 +169992,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -169632,9 +170076,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: title: Project Card type: object @@ -169764,7 +170208,7 @@ webhooks: repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -169858,11 +170302,11 @@ webhooks: - from required: - note - enterprise: *725 - installation: *726 - organization: *727 - project_card: *762 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_card: *769 + repository: *735 sender: *4 required: - action @@ -169956,9 +170400,9 @@ webhooks: - from required: - column_id - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 project_card: allOf: - title: Project Card @@ -170155,7 +170599,7 @@ webhooks: type: string required: - after_id - repository: *728 + repository: *735 sender: *4 required: - action @@ -170235,10 +170679,10 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - organization: *727 - project: &764 + enterprise: *732 + installation: *733 + organization: *734 + project: &771 title: Project type: object properties: @@ -170365,7 +170809,7 @@ webhooks: - creator - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -170445,10 +170889,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project_column: &763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: &770 title: Project Column type: object properties: @@ -170488,7 +170932,7 @@ webhooks: - name - created_at - updated_at - repository: *728 + repository: *735 sender: *4 required: - action @@ -170567,14 +171011,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -170663,11 +171107,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -170747,11 +171191,11 @@ webhooks: type: string enum: - moved - enterprise: *725 - installation: *726 - organization: *727 - project_column: *763 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project_column: *770 + repository: *735 sender: *4 required: - action @@ -170831,11 +171275,11 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -170915,14 +171359,14 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - project: *764 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 repository: anyOf: - type: 'null' - - *728 + - *735 sender: *4 required: - action @@ -171023,11 +171467,11 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -171106,11 +171550,11 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - organization: *727 - project: *764 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + project: *771 + repository: *735 sender: *4 required: - action @@ -171191,8 +171635,8 @@ webhooks: type: string enum: - closed - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171274,8 +171718,8 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171357,8 +171801,8 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171480,8 +171924,8 @@ webhooks: type: string to: type: string - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -171565,7 +172009,7 @@ webhooks: type: string enum: - archived - changes: &768 + changes: &775 type: object properties: archived_at: @@ -171581,9 +172025,9 @@ webhooks: - string - 'null' format: date-time - installation: *726 - organization: *727 - projects_v2_item: &765 + installation: *733 + organization: *734 + projects_v2_item: &772 title: Projects v2 Item description: An item belonging to a project type: object @@ -171723,9 +172167,9 @@ webhooks: - 'null' to: type: string - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171807,9 +172251,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171890,9 +172334,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -171997,7 +172441,7 @@ webhooks: oneOf: - type: string - type: integer - - &766 + - &773 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -172021,7 +172465,7 @@ webhooks: required: - id - name - - &767 + - &774 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -172061,8 +172505,8 @@ webhooks: oneOf: - type: string - type: integer - - *766 - - *767 + - *773 + - *774 type: - 'null' - string @@ -172085,9 +172529,9 @@ webhooks: - 'null' required: - body - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -172184,9 +172628,9 @@ webhooks: type: - string - 'null' - installation: *726 - organization: *727 - projects_v2_item: *765 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -172269,10 +172713,10 @@ webhooks: type: string enum: - restored - changes: *768 - installation: *726 - organization: *727 - projects_v2_item: *765 + changes: *775 + installation: *733 + organization: *734 + projects_v2_item: *772 sender: *4 required: - action @@ -172354,8 +172798,8 @@ webhooks: type: string enum: - reopened - installation: *726 - organization: *727 + installation: *733 + organization: *734 projects_v2: *278 sender: *4 required: @@ -172437,9 +172881,9 @@ webhooks: type: string enum: - created - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -172520,9 +172964,9 @@ webhooks: type: string enum: - deleted - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -172668,9 +173112,9 @@ webhooks: - string - 'null' format: date - installation: *726 - organization: *727 - projects_v2_status_update: *769 + installation: *733 + organization: *734 + projects_v2_status_update: *776 sender: *4 required: - action @@ -172741,10 +173185,10 @@ webhooks: title: public event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - repository @@ -172821,13 +173265,13 @@ webhooks: type: string enum: - assigned - assignee: *745 - enterprise: *725 - installation: *726 - number: &770 + assignee: *752 + enterprise: *732 + installation: *733 + number: &777 description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -175198,7 +175642,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -175295,11 +175739,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -177663,7 +178107,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -177760,11 +178204,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -180128,7 +180572,7 @@ webhooks: - draft reason: type: string - repository: *728 + repository: *735 sender: *4 required: - action @@ -180225,13 +180669,13 @@ webhooks: type: string enum: - closed - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: &771 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: &778 allOf: - - *580 + - *587 - type: object properties: allow_auto_merge: @@ -180293,7 +180737,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *728 + repository: *735 sender: *4 required: - action @@ -180374,12 +180818,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -180459,11 +180903,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: &772 + number: *777 + organization: *734 + pull_request: &779 title: Pull Request type: object properties: @@ -182854,7 +183298,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *728 + repository: *735 sender: *4 required: - action @@ -182933,11 +183377,11 @@ webhooks: type: string enum: - dequeued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -185305,7 +185749,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *728 + repository: *735 sender: *4 required: - action @@ -185437,12 +185881,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -185522,11 +185966,11 @@ webhooks: type: string enum: - enqueued - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -187879,7 +188323,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -187967,11 +188411,11 @@ webhooks: type: string enum: - labeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -190341,7 +190785,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -190437,10 +190881,10 @@ webhooks: type: string enum: - locked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -192808,7 +193252,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -192903,12 +193347,12 @@ webhooks: type: string enum: - milestoned - enterprise: *725 + enterprise: *732 milestone: *281 - number: *770 - organization: *727 - pull_request: *772 - repository: *728 + number: *777 + organization: *734 + pull_request: *779 + repository: *735 sender: *4 required: - action @@ -192987,12 +193431,12 @@ webhooks: type: string enum: - opened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -193073,12 +193517,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -193158,12 +193602,12 @@ webhooks: type: string enum: - reopened - enterprise: *725 - installation: *726 - number: *770 - organization: *727 - pull_request: *771 - repository: *728 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 + pull_request: *778 + repository: *735 sender: *4 required: - action @@ -193538,9 +193982,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -195792,7 +196236,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -195887,7 +196331,7 @@ webhooks: type: string enum: - deleted - comment: &774 + comment: &781 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -196180,9 +196624,9 @@ webhooks: - start_side - side - reactions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -198422,7 +198866,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -198517,11 +198961,11 @@ webhooks: type: string enum: - edited - changes: *773 - comment: *774 - enterprise: *725 - installation: *726 - organization: *727 + changes: *780 + comment: *781 + enterprise: *732 + installation: *733 + organization: *734 pull_request: type: object properties: @@ -200764,7 +201208,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *728 + repository: *735 sender: *4 required: - action @@ -200860,9 +201304,9 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -203117,7 +203561,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 review: description: The review that was affected. type: object @@ -203383,9 +203827,9 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -205499,8 +205943,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: &775 + repository: *735 + review: &782 description: The review that was affected. type: object properties: @@ -205746,12 +206190,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -208120,7 +208564,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -208206,12 +208650,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -210587,7 +211031,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210805,12 +211249,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -213181,7 +213625,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_reviewer: title: User type: @@ -213268,12 +213712,12 @@ webhooks: type: string enum: - review_requested - enterprise: *725 - installation: *726 + enterprise: *732 + installation: *733 number: description: The pull request number. type: integer - organization: *727 + organization: *734 pull_request: title: Pull Request type: object @@ -215635,7 +216079,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215842,9 +216286,9 @@ webhooks: type: string enum: - submitted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -218102,8 +218546,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 - review: *775 + repository: *735 + review: *782 sender: *4 required: - action @@ -218198,9 +218642,9 @@ webhooks: type: string enum: - resolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -220353,7 +220797,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -220758,9 +221202,9 @@ webhooks: type: string enum: - unresolved - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 pull_request: title: Simple Pull Request type: object @@ -222896,7 +223340,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *728 + repository: *735 sender: *4 thread: type: object @@ -223303,10 +223747,10 @@ webhooks: type: string before: type: string - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -225663,7 +226107,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -225760,11 +226204,11 @@ webhooks: type: string enum: - unassigned - assignee: *776 - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + assignee: *783 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -228136,7 +228580,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -228230,11 +228674,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *725 - installation: *726 - label: *744 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + label: *751 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -230595,7 +231039,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -230691,10 +231135,10 @@ webhooks: type: string enum: - unlocked - enterprise: *725 - installation: *726 - number: *770 - organization: *727 + enterprise: *732 + installation: *733 + number: *777 + organization: *734 pull_request: title: Pull Request type: object @@ -233045,7 +233489,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *728 + repository: *735 sender: *4 required: - action @@ -233263,7 +233707,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *725 + enterprise: *732 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233358,8 +233802,8 @@ webhooks: - url - author - committer - installation: *726 - organization: *727 + installation: *733 + organization: *734 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -233958,9 +234402,9 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -234437,7 +234881,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -234493,7 +234937,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -234571,9 +235015,9 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 registry_package: type: object properties: @@ -234885,7 +235329,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *759 + items: *766 summary: type: string tag_name: @@ -234935,7 +235379,7 @@ webhooks: - owner - package_version - registry - repository: *728 + repository: *735 sender: *4 required: - action @@ -235012,10 +235456,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - release: &777 + enterprise: *732 + installation: *733 + organization: *734 + release: &784 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -235346,7 +235790,7 @@ webhooks: - updated_at - zipball_url - body - repository: *728 + repository: *735 sender: *4 required: - action @@ -235423,11 +235867,11 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -235544,11 +235988,11 @@ webhooks: type: boolean required: - to - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -235626,9 +236070,9 @@ webhooks: type: string enum: - prereleased - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -235964,7 +236408,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -236040,10 +236484,10 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - release: &778 + enterprise: *732 + installation: *733 + organization: *734 + release: &785 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -236376,7 +236820,7 @@ webhooks: - string - 'null' format: uri - repository: *728 + repository: *735 sender: *4 required: - action @@ -236452,11 +236896,11 @@ webhooks: type: string enum: - released - enterprise: *725 - installation: *726 - organization: *727 - release: *777 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *784 + repository: *735 sender: *4 required: - action @@ -236532,11 +236976,11 @@ webhooks: type: string enum: - unpublished - enterprise: *725 - installation: *726 - organization: *727 - release: *778 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + release: *785 + repository: *735 sender: *4 required: - action @@ -236612,11 +237056,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -236692,11 +237136,11 @@ webhooks: type: string enum: - reported - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - repository_advisory: *649 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + repository_advisory: *656 sender: *4 required: - action @@ -236772,10 +237216,10 @@ webhooks: type: string enum: - archived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236852,10 +237296,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -236933,10 +237377,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237021,10 +237465,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237139,10 +237583,10 @@ webhooks: - 'null' items: type: string - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237214,10 +237658,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 status: type: string @@ -237298,10 +237742,10 @@ webhooks: type: string enum: - privatized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237378,10 +237822,10 @@ webhooks: type: string enum: - publicized - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237475,10 +237919,10 @@ webhooks: - name required: - repository - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -237558,10 +238002,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -237640,10 +238084,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 sender: *4 required: @@ -237722,10 +238166,10 @@ webhooks: type: string enum: - edited - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 repository_ruleset: *323 changes: type: object @@ -237787,16 +238231,16 @@ webhooks: properties: added: type: array - items: *600 + items: *607 deleted: type: array - items: *600 + items: *607 updated: type: array items: type: object properties: - rule: *600 + rule: *607 changes: type: object properties: @@ -238033,10 +238477,10 @@ webhooks: - from required: - owner - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238114,10 +238558,10 @@ webhooks: type: string enum: - unarchived - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238195,7 +238639,7 @@ webhooks: type: string enum: - create - alert: &779 + alert: &786 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238320,10 +238764,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238533,10 +238977,10 @@ webhooks: type: string enum: - dismissed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238614,11 +239058,11 @@ webhooks: type: string enum: - reopen - alert: *779 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *786 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238820,10 +239264,10 @@ webhooks: enum: - fixed - open - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -238901,7 +239345,7 @@ webhooks: type: string enum: - assigned - alert: &780 + alert: &787 type: object properties: number: *180 @@ -239041,10 +239485,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239122,11 +239566,11 @@ webhooks: type: string enum: - created - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239207,11 +239651,11 @@ webhooks: type: string enum: - created - alert: *780 - installation: *726 - location: *781 - organization: *727 - repository: *728 + alert: *787 + installation: *733 + location: *788 + organization: *734 + repository: *735 sender: *4 required: - location @@ -239449,11 +239893,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239531,11 +239975,11 @@ webhooks: type: string enum: - reopened - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239613,11 +240057,11 @@ webhooks: type: string enum: - resolved - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239695,12 +240139,12 @@ webhooks: type: string enum: - unassigned - alert: *780 + alert: *787 assignee: *4 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239778,11 +240222,11 @@ webhooks: type: string enum: - validated - alert: *780 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + alert: *787 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -239912,10 +240356,10 @@ webhooks: - organization - enterprise - - repository: *728 - enterprise: *725 - installation: *726 - organization: *727 + repository: *735 + enterprise: *732 + installation: *733 + organization: *734 sender: *4 required: - action @@ -239993,11 +240437,11 @@ webhooks: type: string enum: - published - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: &782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: &789 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240201,11 +240645,11 @@ webhooks: type: string enum: - updated - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 - security_advisory: *782 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 + security_advisory: *789 sender: *4 required: - action @@ -240278,10 +240722,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240476,9 +240920,9 @@ webhooks: type: object properties: security_and_analysis: *296 - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: *340 sender: *4 required: @@ -240557,12 +241001,12 @@ webhooks: type: string enum: - cancelled - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: &783 + sponsorship: &790 type: object properties: created_at: @@ -240867,12 +241311,12 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -240960,12 +241404,12 @@ webhooks: type: string required: - from - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -241042,17 +241486,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &784 + effective_date: &791 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: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - sponsorship @@ -241126,7 +241570,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &785 + changes: &792 type: object properties: tier: @@ -241170,13 +241614,13 @@ webhooks: - from required: - tier - effective_date: *784 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + effective_date: *791 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -241253,13 +241697,13 @@ webhooks: type: string enum: - tier_changed - changes: *785 - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + changes: *792 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - sponsorship: *783 + sponsorship: *790 required: - action - changes @@ -241333,10 +241777,10 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241420,10 +241864,10 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241857,15 +242301,15 @@ webhooks: type: - string - 'null' - enterprise: *725 + enterprise: *732 id: description: The unique identifier of the status. type: integer - installation: *726 + installation: *733 name: type: string - organization: *727 - repository: *728 + organization: *734 + repository: *735 sender: *4 sha: description: The Commit SHA. @@ -241981,9 +242425,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -242072,9 +242516,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -242163,9 +242607,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -242254,9 +242698,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *726 - organization: *727 - repository: *728 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -242332,12 +242776,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - team: &786 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242567,9 +243011,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -243039,7 +243483,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -243115,9 +243559,9 @@ webhooks: type: string enum: - created - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -243587,7 +244031,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -243664,9 +244108,9 @@ webhooks: type: string enum: - deleted - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -244136,7 +244580,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -244280,9 +244724,9 @@ webhooks: - from required: - permissions - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -244752,7 +245196,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - changes @@ -244830,9 +245274,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *725 - installation: *726 - organization: *727 + enterprise: *732 + installation: *733 + organization: *734 repository: title: Repository description: A git repository @@ -245302,7 +245746,7 @@ webhooks: - topics - visibility sender: *4 - team: *786 + team: *793 required: - action - team @@ -245378,10 +245822,10 @@ webhooks: type: string enum: - started - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 required: - action @@ -245454,17 +245898,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *725 + enterprise: *732 inputs: type: - object - 'null' additionalProperties: true - installation: *726 - organization: *727 + installation: *733 + organization: *734 ref: type: string - repository: *728 + repository: *735 sender: *4 workflow: type: string @@ -245546,10 +245990,10 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -245805,7 +246249,7 @@ webhooks: type: string required: - conclusion - deployment: *495 + deployment: *497 required: - action - repository @@ -245884,10 +246328,10 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: allOf: @@ -246169,7 +246613,7 @@ webhooks: required: - status - steps - deployment: *495 + deployment: *497 required: - action - repository @@ -246248,10 +246692,10 @@ webhooks: type: string enum: - queued - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -246397,7 +246841,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -246476,10 +246920,10 @@ webhooks: type: string enum: - waiting - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 workflow_job: type: object @@ -246626,7 +247070,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *495 + deployment: *497 required: - action - repository @@ -246706,12 +247150,12 @@ webhooks: type: string enum: - completed - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -247730,12 +248174,12 @@ webhooks: type: string enum: - in_progress - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object @@ -248739,12 +249183,12 @@ webhooks: type: string enum: - requested - enterprise: *725 - installation: *726 - organization: *727 - repository: *728 + enterprise: *732 + installation: *733 + organization: *734 + repository: *735 sender: *4 - workflow: *740 + workflow: *747 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index cd5bdecb74..f533eb9620 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -79526,6 +79526,274 @@ } } }, + "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}/user-states": { + "get": { + "summary": "Get user states for a multi-user budget", + "description": "Lists per-user budget state for a multi-user customer scoped budget. The authenticated user must be an enterprise admin or billing manager.", + "tags": [ + "billing" + ], + "operationId": "billing/get-budget-user-states", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "description": "The page number of results to fetch.", + "in": "query", + "schema": { + "type": "integer" + } + }, + { + "name": "per_page", + "description": "The number of results per page.", + "in": "query", + "schema": { + "type": "integer" + } + }, + { + "name": "sort_order", + "description": "Sort order for results. `0` for descending, `1` for ascending.", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "0", + "1" + ] + } + }, + { + "name": "user", + "description": "Filter user states to a specific user login.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "threshold_lower_bound", + "description": "Filter user states whose threshold percentage is at or above this value.", + "in": "query", + "schema": { + "type": "integer" + } + }, + { + "name": "threshold_upper_bound", + "description": "Filter user states whose threshold percentage is at or below this value.", + "in": "query", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response when getting per-user states for a multi-user budget", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "user_states": { + "type": "array", + "description": "Per-user state entries for the budget.", + "items": { + "type": "object", + "properties": { + "user": { + "type": "string", + "description": "The login of the user, when the user record is available." + }, + "consumed_amount": { + "type": "number", + "description": "The amount currently consumed by this user against the budget." + }, + "target_amount": { + "type": "number", + "description": "The target amount allocated to this user within the budget." + }, + "override_budget_id": { + "type": "string", + "description": "The ID of a user-scoped budget that overrides the per-user allocation, when present." + } + }, + "required": [ + "consumed_amount", + "target_amount" + ] + } + }, + "has_next_page": { + "type": "boolean", + "description": "Indicates if there are more pages of results available." + }, + "total_count": { + "type": "integer", + "description": "Total number of user state entries matching the query." + } + }, + "required": [ + "user_states", + "has_next_page", + "total_count" + ] + }, + "examples": { + "default": { + "value": { + "user_states": [ + { + "user": "octocat", + "consumed_amount": 50.5, + "target_amount": 1000.0 + }, + { + "user": "monalisa", + "consumed_amount": 250.0, + "target_amount": 1000.0, + "override_budget_id": "2066deda-923f-43f9-88d2-62395a28c0cdd" + } + ], + "has_next_page": false, + "total_count": 2 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "billing", + "subcategory": "budgets" + } + } + }, "/enterprises/{enterprise}/settings/billing/cost-centers": { "get": { "summary": "Get all cost centers for an enterprise", @@ -91279,6 +91547,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -91333,6 +91628,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -95673,6 +95975,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -95727,6 +96056,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -96792,6 +97128,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -118185,6 +118548,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -118239,6 +118629,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -126651,6 +127048,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -126705,6 +127129,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -131045,6 +131476,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -131099,6 +131557,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -132164,6 +132629,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -211819,6 +212311,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -211873,6 +212392,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -216213,6 +216739,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -216267,6 +216820,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -217332,6 +217892,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -235005,6 +235592,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -235059,6 +235673,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -268526,6 +269147,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -268580,6 +269228,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -280133,6 +280788,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -280187,6 +280869,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -417876,7 +418565,7 @@ }, "post": { "summary": "Create an autofix for a code scanning alert", - "description": "Creates an autofix for a code scanning alert.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "description": "Creates an autofix for a code scanning alert from the repository's default branch.\n\nIf a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response.\n\nIf an autofix already exists for a given alert, then this endpoint will return a 200 OK response.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ "code-scanning" ], @@ -483792,6 +484481,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -483846,6 +484562,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -488186,6 +488909,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -488240,6 +488990,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -489305,6 +490062,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -517358,6 +518142,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -517412,6 +518223,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -521761,6 +522579,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -521815,6 +522660,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -523400,6 +524252,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -523446,7 +524325,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -524527,6 +525407,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -524572,7 +525479,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -525593,6 +526501,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -525638,7 +526573,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -526737,6 +527673,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -532299,6 +533262,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -532353,6 +533343,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -533584,6 +534581,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -538269,6 +539346,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -538323,6 +539427,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -539554,6 +540665,86 @@ "to" ] }, + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, "author_association": { "title": "author_association", "type": "string", @@ -544035,6 +545226,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -544089,6 +545307,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -544952,3904 +546177,3946 @@ "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" + "allOf": [ + { + "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" }, - { - "title": "Simple User", - "description": "A GitHub user.", + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "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", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { "type": "object", "properties": { - "name": { + "merged_at": { "type": [ "string", "null" - ] + ], + "format": "date-time" }, - "email": { + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { "type": [ "string", "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "login": { + "node_id": { "type": "string", - "examples": [ - "octocat" + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { "id": { + "description": "Unique identifier of the repository", "type": "integer", "format": "int64", "examples": [ - 1 + 42 ] }, "node_id": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "avatar_url": { + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://github.com/octocat/Hello-World" ] }, - "gravatar_id": { + "description": { "type": [ "string", "null" ], "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "This your first repo!" ] }, + "fork": { + "type": "boolean" + }, "url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "https://api.github.com/repos/octocat/Hello-World" ] }, - "html_url": { + "archive_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" ] }, - "followers_url": { + "assignees_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" ] }, - "following_url": { + "blobs_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" ] }, - "gists_url": { + "branches_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" ] }, - "starred_url": { + "collaborators_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" ] }, - "subscriptions_url": { + "comments_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" ] }, - "organizations_url": { + "commits_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" ] }, - "repos_url": { + "compare_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" ] }, - "events_url": { + "contents_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" ] }, - "received_events_url": { + "contributors_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/contributors" ] }, - "type": { + "deployments_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/deployments" ] }, - "site_admin": { - "type": "boolean" + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] }, - "starred_at": { + "events_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/events" ] }, - "user_view_type": { + "forks_url": { "type": "string", + "format": "uri", "examples": [ - "public" + "http://api.github.com/repos/octocat/Hello-World/forks" ] - } - }, - "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" - ] - } - ] - }, - "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", - "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", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } - } - ] - }, - "examples": [ - "bug", - "registration" - ] - }, - "assignee": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" ] }, - "email": { - "type": [ - "string", - "null" + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" ] }, - "login": { + "git_tags_url": { "type": "string", "examples": [ - "octocat" + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" ] }, - "id": { - "type": "integer", - "format": "int64", + "git_url": { + "type": "string", "examples": [ - 1 + "git:github.com/octocat/Hello-World.git" ] }, - "node_id": { + "issue_comment_url": { "type": "string", "examples": [ - "MDQ6VXNlcjE=" + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" ] }, - "avatar_url": { + "issue_events_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" ] }, - "gravatar_id": { - "type": [ - "string", - "null" - ], + "issues_url": { + "type": "string", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" ] }, - "url": { + "keys_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat" + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" ] }, - "html_url": { + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/octocat" + "http://api.github.com/repos/octocat/Hello-World/languages" ] }, - "followers_url": { + "merges_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/followers" + "http://api.github.com/repos/octocat/Hello-World/merges" ] }, - "following_url": { + "milestones_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" ] }, - "gists_url": { + "notifications_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" ] }, - "starred_url": { + "pulls_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" ] }, - "subscriptions_url": { + "releases_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" ] }, - "organizations_url": { + "ssh_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "git@github.com:octocat/Hello-World.git" ] }, - "repos_url": { + "stargazers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" + "http://api.github.com/repos/octocat/Hello-World/stargazers" ] }, - "events_url": { + "statuses_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" ] }, - "received_events_url": { + "subscribers_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "http://api.github.com/repos/octocat/Hello-World/subscribers" ] }, - "type": { + "subscription_url": { "type": "string", + "format": "uri", "examples": [ - "User" + "http://api.github.com/repos/octocat/Hello-World/subscription" ] }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "tags_url": { "type": "string", + "format": "uri", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "http://api.github.com/repos/octocat/Hello-World/tags" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "assignees": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { + "teams_url": { "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" + "http://api.github.com/repos/octocat/Hello-World/teams" ] }, - "html_url": { + "trees_url": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" ] }, - "labels_url": { + "clone_url": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + "https://github.com/octocat/Hello-World.git" ] }, - "id": { - "type": "integer", + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - 1002604 + "git:git.example.com/octocat/Hello-World" ] }, - "node_id": { + "hooks_url": { "type": "string", + "format": "uri", "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 + "http://api.github.com/repos/octocat/Hello-World/hooks" ] }, - "state": { - "description": "The state of the milestone.", + "svn_url": { "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", + "format": "uri", "examples": [ - "open" + "https://svn.github.com/octocat/Hello-World" ] }, - "title": { - "description": "The title of the milestone.", - "type": "string", + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", "examples": [ - "v1.0" + "https://github.com" ] }, - "description": { + "language": { "type": [ "string", "null" - ], + ] + }, + "forks_count": { + "type": "integer", "examples": [ - "Tracking milestone for version 1.0" + 9 ] }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "stargazers_count": { + "type": "integer", + "examples": [ + 80 ] }, - "open_issues": { + "watchers_count": { "type": "integer", "examples": [ - 4 + 80 ] }, - "closed_issues": { + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", "type": "integer", "examples": [ - 8 + 108 ] }, - "created_at": { + "default_branch": { + "description": "The default branch of the repository.", "type": "string", - "format": "date-time", "examples": [ - "2011-04-10T20:09:31Z" + "master" ] }, - "updated_at": { - "type": "string", - "format": "date-time", + "open_issues_count": { + "type": "integer", "examples": [ - "2014-03-03T18:58:10Z" + 0 ] }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", "examples": [ - "2013-02-12T13:22:01Z" + true ] }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", "examples": [ - "2012-10-09T23:39:01Z" + true ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } - }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "email": { - "type": [ - "string", - "null" + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true ] }, - "login": { - "type": "string", + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, "examples": [ - "octocat" + true ] }, - "id": { - "type": "integer", - "format": "int64", + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", "examples": [ - 1 + true ] }, - "node_id": { - "type": "string", + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", "examples": [ - "MDQ6VXNlcjE=" + true ] }, - "avatar_url": { + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", "type": "string", - "format": "uri", + "enum": [ + "all", + "collaborators_only" + ], "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "all" ] }, - "gravatar_id": { + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { "type": [ "string", "null" ], + "format": "date-time", "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "2011-01-26T19:06:43Z" ] }, - "url": { - "type": "string", - "format": "uri", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://api.github.com/users/octocat" + "2011-01-26T19:01:12Z" ] }, - "html_url": { - "type": "string", - "format": "uri", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "https://github.com/octocat" + "2011-01-26T19:14:43Z" ] }, - "followers_url": { - "type": "string", - "format": "uri", + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/followers" + true ] }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] + "temp_clone_token": { + "type": "string" }, - "gists_url": { - "type": "string", + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + true ] }, - "starred_url": { - "type": "string", + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + false ] }, - "subscriptions_url": { - "type": "string", - "format": "uri", + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + false ] }, - "organizations_url": { - "type": "string", - "format": "uri", + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", "examples": [ - "https://api.github.com/users/octocat/orgs" + false ] }, - "repos_url": { + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." }, - "events_url": { + "squash_merge_commit_message": { "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." }, - "received_events_url": { + "merge_commit_title": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." }, - "type": { + "merge_commit_message": { "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", "examples": [ - "User" + true ] }, - "site_admin": { + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, "type": "boolean" }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, "starred_at": { "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "\"2020-07-09T00:17:42Z\"" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } } }, "required": [ - "avatar_url", + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", "html_url", "id", "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { - "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" - ] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" ] }, - "license": { + "performed_via_github_app": { "anyOf": [ { "type": "null" }, { - "title": "License Simple", - "description": "License Simple", - "type": "object", + "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", + "null" + ], "properties": { - "key": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", "type": "string", "examples": [ - "mit" + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", "type": "string", "examples": [ - "MIT License" + "Probot Owners" ] }, - "url": { + "description": { "type": [ "string", "null" ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", "format": "uri", "examples": [ - "https://api.github.com/licenses/mit" + "https://example.com" ] }, - "spdx_id": { - "type": [ - "string", - "null" - ], + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "MIT" + "https://github.com/apps/super-ci" ] }, - "node_id": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "MDc6TGljZW5zZW1pdA==" + "2017-07-08T16:18:44-04:00" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri" + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ - "key", + "id", + "node_id", + "owner", "name", - "url", - "spdx_id", - "node_id" + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] } ] }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" ] }, - "homepage": { + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", "type": [ "string", "null" ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" + "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [ - true - ] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "master_branch": { - "type": "string" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "pinned_comment": { + "anyOf": [ + { + "type": "null" }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" }, - "gravatar_id": { + { + "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": [ - "string", + "object", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" ] - }, + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] + "pin": { + "anyOf": [ + { + "type": "null" }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" ] - }, - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" ] } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" ] - } - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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" - ] - }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } - }, - "required": [ - "total", - "completed", - "percent_completed" - ] - }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", "type": "object", "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { - "type": "string" + "blocked_by": { + "type": "integer" }, - "body_html": { - "type": "string" + "blocking": { + "type": "integer" }, - "html_url": { - "type": "string", - "format": "uri" + "total_blocked_by": { + "type": "integer" }, - "user": { - "anyOf": [ - { - "type": "null" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } }, - { - "title": "Simple User", - "description": "A GitHub user.", + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { + "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "examples": [ 1 ] }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "name": { + "description": "The name of the option", "type": "string", "examples": [ - "\"2020-07-09T00:17:55Z\"" + "High" ] }, - "user_view_type": { + "color": { + "description": "The color of the option", "type": "string", "examples": [ - "public" + "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" + "name", + "color" ] } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "issue_url": { - "type": "string", - "format": "uri" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] + } }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } } }, "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" + "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" ] }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + { + "type": "object", + "properties": {} } - }, - "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" ] }, "examples": { @@ -552992,6 +554259,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -553046,6 +554340,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -557140,6 +558441,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -557194,6 +558522,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -558598,6 +559933,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -558644,7 +560006,8 @@ "created_at": "2011-04-14T16:00:49Z", "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" + "author_association": "COLLABORATOR", + "minimized": null } ] } @@ -559699,6 +561062,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -559744,7 +561134,8 @@ "updated_at": "2011-04-14T16:00:49Z", "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", "author_association": "COLLABORATOR", - "pin": null + "pin": null, + "minimized": null } } } @@ -563678,6 +565069,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -563732,6 +565150,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -567913,6 +569338,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -567967,6 +569419,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -572232,6 +573691,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -572286,6 +573772,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -576573,6 +578066,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -576627,6 +578147,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -588516,1144 +590043,2182 @@ "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + { + "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", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] + "type": "integer" }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } + "node_id": { + "type": "string" }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" + "url": { + "type": "string" }, - { - "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", - "examples": [ - 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" + "actor": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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", - "examples": [ - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - { - "type": "number", - "examples": [ - 42.5 - ] + "event": { + "type": "string" }, - { - "type": "integer", - "examples": [ - 1 + "commit_id": { + "type": [ + "string", + "null" ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 + }, + "commit_url": { + "type": [ + "string", + "null" ] }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", "id", - "name", - "color" + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "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" - } - ] - } - ] - } - } - } - } - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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": { + "title": "Issue Type Removed Issue Event", + "description": "Issue Type Removed Issue Event", "type": "object", - "required": [ - "code" - ], "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": { "type": [ "string", "null" ] }, - { + "email": { "type": [ - "integer", + "string", "null" ] }, - { + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { "type": [ - "array", + "string", "null" ], - "items": { - "type": "string" - } + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } - ] - } - } - } - } - } - } - } - } - }, - "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", - "examples": [ - 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", - "examples": [ - "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": [ + "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", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + } + }, + "required": [ + "prev_issue_type", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, { - "field_id": 123, - "value": "High Priority" + "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": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "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" + } + } + } + }, + "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", @@ -589661,7 +592226,6 @@ "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", @@ -589675,6 +592239,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -589813,12 +592384,14 @@ "value": [ { "issue_field_id": 1, + "issue_field_name": "DRI", "node_id": "IFT_GDKND", "data_type": "text", "value": "DRI" }, { "issue_field_id": 2, + "issue_field_name": "Priority", "node_id": "IFSS_SADMS", "data_type": "single_select", "value": 1, @@ -589830,18 +592403,21 @@ }, { "issue_field_id": 3, + "issue_field_name": "Points", "node_id": "IFN_POINTS", "data_type": "number", "value": 42 }, { "issue_field_id": 4, + "issue_field_name": "Due Date", "node_id": "IFD_DUEDATE", "data_type": "date", "value": "2025-12-25" }, { "issue_field_id": 5, + "issue_field_name": "Labels", "node_id": "IFMS_LABELS", "data_type": "multi_select", "value": "Frontend,Backend", @@ -589862,78 +592438,18 @@ } } } - } - }, - "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": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": [ - "string", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } + "type": "string" } } } }, - "403": { - "description": "Forbidden", + "301": { + "description": "Moved permanently", "content": { "application/json": { "schema": { @@ -589984,18 +592500,14 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "410": { + "description": "Gone", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -590003,76 +592515,10 @@ "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { + "url": { "type": "string" }, - "documentation_url": { + "status": { "type": "string" } } @@ -590082,25 +592528,22 @@ } }, "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).\"", + }, + "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/delete-issue-field-value", + "operationId": "issues/add-issue-field-values", "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" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue" }, "parameters": [ { @@ -590129,20 +592572,386 @@ "schema": { "type": "integer" } - }, - { - "name": "issue_field_id", - "description": "The unique identifier of the issue field.", - "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", + "examples": [ + 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", + "examples": [ + "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": { - "204": { - "description": "Issue field value deleted successfully" + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, "403": { "description": "Forbidden", @@ -590300,19 +593109,17 @@ "category": "issues", "subcategory": "issue-field-values" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { - "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + }, + "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/list-labels-on-issue", + "operationId": "issues/set-issue-field-values", "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#set-issue-field-values-for-an-issue" }, "parameters": [ { @@ -590341,26 +593148,90 @@ "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 - } } ], + "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", + "examples": [ + 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", + "examples": [ + "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", @@ -590368,52 +593239,771 @@ "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", "examples": [ - 208045946 + 1 ] }, - "node_id": { + "issue_field_name": { + "description": "The human-readable name of the issue field.", "type": "string", "examples": [ - "MDU6TGFiZWwyMDgwNDU5NDY=" + "Priority" ] }, - "url": { - "description": "URL for the label", + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/repositories/42/labels/bug" + "IFT_GDKND" ] }, - "name": { - "description": "The name of the label.", + "data_type": { + "description": "The data type of the issue field", "type": "string", - "examples": [ - "bug" - ] - }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": [ - "string", - "null" + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" ], "examples": [ - "Something isn't working" + "text" ] }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "issue_field_id": 1, + "issue_field_name": "DRI", + "node_id": "IFT_GDKND", + "data_type": "text", + "value": "DRI" + }, + { + "issue_field_id": 2, + "issue_field_name": "Priority", + "node_id": "IFSS_SADMS", + "data_type": "single_select", + "value": 1, + "single_select_option": { + "id": 1, + "name": "High", + "color": "red" + } + }, + { + "issue_field_id": 3, + "issue_field_name": "Points", + "node_id": "IFN_POINTS", + "data_type": "number", + "value": 42 + }, + { + "issue_field_id": 4, + "issue_field_name": "Due Date", + "node_id": "IFD_DUEDATE", + "data_type": "date", + "value": "2025-12-25" + }, + { + "issue_field_id": 5, + "issue_field_name": "Labels", + "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" + } + ] + } + ] + } + } + } + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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}/labels": { + "get": { + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-labels-on-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-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": "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", + "examples": [ + 208045946 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDU6TGFiZWwyMDgwNDU5NDY=" + ] + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/labels/bug" + ] + }, + "name": { + "description": "The name of the label.", + "type": "string", + "examples": [ + "bug" + ] + }, + "description": { + "description": "Optional description of the label, such as its purpose.", + "type": [ + "string", + "null" + ], + "examples": [ + "Something isn't working" + ] + }, + "color": { + "description": "6-character hex code, without the leading #, identifying the color", "type": "string", "examples": [ "FFFFFF" @@ -595744,6 +599334,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -595798,6 +599415,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -601132,6 +604756,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -601186,6 +604837,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -605377,6 +609035,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -605431,6 +609116,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -609590,6 +613282,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -609644,6 +613363,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -613610,868 +617336,5293 @@ "metadata": { "type": "string" }, - "contents": { - "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "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" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "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" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDU6SXNzdWUx", + "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "repository_url": "https://api.github.com/repos/octocat/Hello-World", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", + "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", + "html_url": "https://github.com/octocat/Hello-World/issues/1347", + "number": 1347, + "state": "open", + "title": "Found a bug", + "body": "I'm having a problem with this.", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "pinned_comment": null, + "labels": [ + { + "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 + } + ], + "assignee": { + "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 + }, + "assignees": [ + { + "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 + } + ], + "milestone": { + "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", + "id": 1002604, + "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", + "number": 1, + "state": "open", + "title": "v1.0", + "description": "Tracking milestone for version 1.0", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 4, + "closed_issues": 8, + "created_at": "2011-04-10T20:09:31Z", + "updated_at": "2014-03-03T18:58:10Z", + "closed_at": "2013-02-12T13:22:01Z", + "due_on": "2012-10-09T23:39:01Z" + }, + "locked": true, + "active_lock_reason": "too heated", + "comments": 0, + "pull_request": { + "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "html_url": "https://github.com/octocat/Hello-World/pull/1347", + "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", + "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" + }, + "closed_at": null, + "created_at": "2011-04-22T13:33:48Z", + "updated_at": "2011-04-22T13:33:48Z", + "closed_by": { + "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 + }, + "author_association": "COLLABORATOR", + "state_reason": "completed" + } + } + } + } + } + }, + "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 Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "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": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { + "get": { + "summary": "List timeline events for an issue", + "description": "List all timeline events for an issue.", + "tags": [ + "issues" + ], + "operationId": "issues/list-events-for-timeline", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-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": "Timeline Event", + "description": "Timeline Event", + "type": "object", + "anyOf": [ + { + "title": "Labeled Issue Event", + "description": "Labeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Unlabeled Issue Event", + "description": "Unlabeled 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "label": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": [ + "name", + "color" + ] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Milestoned Issue Event", + "description": "Milestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Demilestoned Issue Event", + "description": "Demilestoned 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "milestone": { + "type": "object", + "properties": { + "title": { + "type": "string" + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Renamed Issue Event", + "description": "Renamed 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "rename": { + "type": "object", + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ] + } + }, + "required": [ + "rename", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Review Requested Issue Event", + "description": "Review Requested 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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } }, - "deployments": { - "type": "string" - } + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" }, - "additionalProperties": { + "checks": { "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.", - "type": "array", - "items": { + "metadata": { "type": "string" }, - "examples": [ - "label", - "deployment" - ] + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" } }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "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" - ] - }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] + "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.", + "type": "array", + "items": { + "type": "string" }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } + "examples": [ + "label", + "deployment" + ] }, - "required": [ - "pinned_at", - "pinned_by" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "user", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", "examples": [ - "Sample text" + "https://github.com/orgs/rails/teams/core" ] }, - { - "type": "number", + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 42.5 + 37 ] }, - { + "enterprise_id": { "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", "examples": [ - 1 + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } ] } - ], - "type": [ - "null", - "string", - "number", - "integer" + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], + "requested_reviewer": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier for the option.", "type": "integer", "format": "int64", "examples": [ 1 ] }, - "name": { - "description": "The name of the option", + "node_id": { "type": "string", "examples": [ - "High" + "MDQ6VXNlcjE=" ] }, - "color": { - "description": "The color of the option", + "avatar_url": { "type": "string", + "format": "uri", "examples": [ - "red" + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", - "name", - "color" + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } } }, "required": [ - "issue_field_id", + "review_requester", + "id", "node_id", - "data_type", - "value" + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" ] - } - } - }, - "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" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "pinned_comment": null, - "labels": [ - { - "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 - } - ], - "assignee": { - "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 - }, - "assignees": [ - { - "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 - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "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 }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - } - } - } - }, - "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 Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "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": "sub-issues" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { - "get": { - "summary": "List timeline events for an issue", - "description": "List all timeline events for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/list-events-for-timeline", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-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": "Timeline Event", - "description": "Timeline Event", - "type": "object", - "anyOf": [ { - "title": "Labeled Issue Event", - "description": "Labeled Issue Event", + "title": "Review Request Removed Issue Event", + "description": "Review Request Removed Issue Event", "type": "object", "properties": { "id": { @@ -615077,50 +623228,431 @@ } ] }, - "label": { + "review_requester": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "requested_team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", "type": "object", "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, "name": { "type": "string" }, - "color": { + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] } }, "required": [ + "id", + "node_id", + "url", + "members_url", "name", - "color" + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" ] - } - }, - "required": [ - "label", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Unlabeled Issue Event", - "description": "Unlabeled Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { + "requested_reviewer": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -615287,451 +623819,10 @@ "type", "url" ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "label": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "color": { - "type": "string" - } - }, - "required": [ - "name", - "color" - ] } }, "required": [ - "label", + "review_requester", "id", "node_id", "url", @@ -615744,8 +623835,8 @@ ] }, { - "title": "Milestoned Issue Event", - "description": "Milestoned Issue Event", + "title": "Review Dismissed Issue Event", + "description": "Review Dismissed Issue Event", "type": "object", "properties": { "id": { @@ -616351,20 +624442,34 @@ } ] }, - "milestone": { + "dismissed_review": { "type": "object", "properties": { - "title": { + "state": { + "type": "string" + }, + "review_id": { + "type": "integer" + }, + "dismissal_message": { + "type": [ + "string", + "null" + ] + }, + "dismissal_commit_id": { "type": "string" } }, "required": [ - "title" + "state", + "review_id", + "dismissal_message" ] } }, "required": [ - "milestone", + "dismissed_review", "id", "node_id", "url", @@ -616377,8 +624482,8 @@ ] }, { - "title": "Demilestoned Issue Event", - "description": "Demilestoned Issue Event", + "title": "Locked Issue Event", + "description": "Locked Issue Event", "type": "object", "properties": { "id": { @@ -616984,20 +625089,18 @@ } ] }, - "milestone": { - "type": "object", - "properties": { - "title": { - "type": "string" - } - }, - "required": [ - "title" + "lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"off-topic\"" ] } }, "required": [ - "milestone", + "lock_reason", "id", "node_id", "url", @@ -617010,8 +625113,8 @@ ] }, { - "title": "Renamed Issue Event", - "description": "Renamed Issue Event", + "title": "Added to Project Issue Event", + "description": "Added to Project Issue Event", "type": "object", "properties": { "id": { @@ -617617,24 +625720,40 @@ } ] }, - "rename": { + "project_card": { "type": "object", "properties": { - "from": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { "type": "string" }, - "to": { + "previous_column_name": { "type": "string" } }, "required": [ - "from", - "to" + "id", + "url", + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "rename", "id", "node_id", "url", @@ -617647,8 +625766,8 @@ ] }, { - "title": "Review Requested Issue Event", - "description": "Review Requested Issue Event", + "title": "Moved Column in Project Issue Event", + "description": "Moved Column in Project Issue Event", "type": "object", "properties": { "id": { @@ -618254,601 +626373,40 @@ } ] }, - "review_requester": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "project_card": { "type": "object", "properties": { "id": { "type": "integer" }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, "url": { "type": "string", "format": "uri" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" + "project_id": { + "type": "integer" }, - "repositories_url": { + "project_url": { "type": "string", "format": "uri" }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] + "column_name": { + "type": "string" }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "type" - ] - } - ] + "previous_column_name": { + "type": "string" } }, "required": [ "id", - "node_id", "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent", - "type" - ] - }, - "requested_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "project_id", + "project_url", + "column_name" ] } }, "required": [ - "review_requester", "id", "node_id", "url", @@ -618861,8 +626419,8 @@ ] }, { - "title": "Review Request Removed Issue Event", - "description": "Review Request Removed Issue Event", + "title": "Removed from Project Issue Event", + "description": "Removed from Project Issue Event", "type": "object", "properties": { "id": { @@ -619468,7 +627026,66 @@ } ] }, - "review_requester": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Converted Note to Issue Issue Event", + "description": "Converted Note to Issue 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", @@ -619636,118 +627253,86 @@ "url" ] }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], "properties": { "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 ] }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "probot-owners" ] }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "type": { - "description": "The ownership type of the team", + "node_id": { "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", "examples": [ - 37 + "MDExOkludGVncmF0aW9uMQ==" ] }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", + "client_id": { + "type": "string", "examples": [ - 42 + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "parent": { - "anyOf": [ - { - "type": "null" - }, + "owner": { + "oneOf": [ { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the team", "type": "integer", + "format": "int64", "examples": [ 1 ] @@ -619755,144 +627340,392 @@ "node_id": { "type": "string", "examples": [ - "MDQ6VGVhbTE=" + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" ] }, "url": { - "description": "URL for the team", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1" + "https://api.github.com/users/octocat" ] }, - "members_url": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" + "https://github.com/octocat" ] }, - "name": { - "description": "Name of the team", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Justice League" + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" ] }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { "description": { - "description": "Description of the team", + "description": "A short description of the enterprise.", "type": [ "string", "null" - ], - "examples": [ - "A great team." ] }, - "permission": { - "description": "Permission that the team will have for its repositories", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "admin" + "https://github.com/enterprises/octo-business" ] }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", "examples": [ - "notifications_enabled" + 42 ] }, - "html_url": { + "node_id": { "type": "string", - "format": "uri", "examples": [ - "https://github.com/orgs/rails/teams/core" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "repositories_url": { + "name": { + "description": "The name of the enterprise.", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/organizations/1/team/1/repos" + "Octo Business" ] }, "slug": { + "description": "The slug url identifier for the enterprise.", "type": "string", "examples": [ - "justice-league" + "octo-business" ] }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" + "2019-01-26T19:01:12Z" ] }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - 37 + "2019-01-26T19:14:43Z" ] }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "url", - "members_url", "name", - "description", - "permission", - "html_url", - "repositories_url", "slug", - "type" + "html_url", + "created_at", + "updated_at", + "avatar_url" ] } ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "required": [ "id", "node_id", - "url", - "members_url", + "owner", "name", "description", - "permission", + "external_url", "html_url", - "repositories_url", - "slug", - "parent", - "type" + "created_at", + "updated_at", + "permissions", + "events" ] }, - "requested_reviewer": { + "project_card": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "project_id": { + "type": "integer" + }, + "project_url": { + "type": "string", + "format": "uri" + }, + "column_name": { + "type": "string" + }, + "previous_column_name": { + "type": "string" + } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "title": "Timeline Comment Event", + "description": "Timeline Comment Event", + "type": "object", + "properties": { + "event": { + "type": "string" + }, + "actor": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -620059,36 +627892,43 @@ "type", "url" ] - } - }, - "required": [ - "review_requester", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Review Dismissed Issue Event", - "description": "Review Dismissed Issue Event", - "type": "object", - "properties": { + }, "id": { - "type": "integer" + "description": "Unique identifier of the issue comment", + "type": "integer", + "examples": [ + 42 + ] }, "node_id": { "type": "string" }, "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { "type": "string" }, - "actor": { + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -620256,23 +628096,41 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "commit_url": { - "type": [ - "string", - "null" + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" ] }, - "created_at": { - "type": "string" + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] }, "performed_via_github_app": { "anyOf": [ @@ -620682,286 +628540,77 @@ } ] }, - "dismissed_review": { - "type": "object", - "properties": { - "state": { - "type": "string" - }, - "review_id": { - "type": "integer" - }, - "dismissal_message": { - "type": [ - "string", - "null" - ] - }, - "dismissal_commit_id": { - "type": "string" - } - }, - "required": [ - "state", - "review_id", - "dismissal_message" - ] - } - }, - "required": [ - "dismissed_review", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Locked Issue Event", - "description": "Locked Issue Event", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", + "reactions": { + "title": "Reaction Rollup", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, "url": { "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] + "format": "uri" }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] + "total_count": { + "type": "integer" }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "+1": { + "type": "integer" }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] + "-1": { + "type": "integer" }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] + "laugh": { + "type": "integer" }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] + "confused": { + "type": "integer" }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "heart": { + "type": "integer" }, - "site_admin": { - "type": "boolean" + "hooray": { + "type": "integer" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "eyes": { + "type": "integer" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] + "rocket": { + "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" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" ] }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { + "pin": { "anyOf": [ { "type": "null" }, { - "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", - "null" - ], + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { + "pinned_at": { "type": "string", + "format": "date-time", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "2011-04-14T16:00:49Z" ] }, - "owner": { - "oneOf": [ + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -621129,241 +628778,65 @@ "type", "url" ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", "type": [ "string", "null" ], "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 + "low-quality" ] } }, "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "reason" ] } ] - }, - "lock_reason": { - "type": [ - "string", - "null" - ], - "examples": [ - "\"off-topic\"" - ] } }, "required": [ - "lock_reason", + "event", + "actor", "id", "node_id", + "html_url", + "issue_url", + "author_association", + "user", "url", - "actor", - "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at" ] }, { - "title": "Added to Project Issue Event", - "description": "Added to Project Issue Event", + "title": "Timeline Cross Referenced Event", + "description": "Timeline Cross Referenced Event", "type": "object", "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "url": { + "event": { "type": "string" }, "actor": { @@ -621534,65 +629007,112 @@ "url" ] }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - { - "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", - "null" - ], + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", "properties": { "id": { - "description": "Unique identifier of the GitHub app", "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", "examples": [ - 37 + "https://api.github.com/repositories/42/issues/1" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "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", + "type": "integer", "examples": [ - "probot-owners" + 42 ] }, - "node_id": { + "state": { + "description": "State of the issue; either 'open' or 'closed'", "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "open" ] }, - "client_id": { + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", "type": "string", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "Widget creation fails in Safari on OS X 10.8" ] }, - "owner": { - "oneOf": [ + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "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?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -621760,492 +629280,806 @@ "type", "url" ] + } + ] + }, + "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", + "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", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" }, { - "title": "Enterprise", - "description": "An enterprise on GitHub.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { - "description": { - "description": "A short description of the enterprise.", + "name": { "type": [ "string", "null" ] }, - "html_url": { + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/enterprises/octo-business" + "https://github.com/images/error/octocat_happy.gif" ] }, - "website_url": { - "description": "The enterprise's website URL.", + "gravatar_id": { "type": [ "string", "null" ], - "format": "uri" + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", + "url": { + "type": "string", + "format": "uri", "examples": [ - 42 + "https://api.github.com/users/octocat" ] }, - "node_id": { + "html_url": { "type": "string", + "format": "uri", "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "https://github.com/octocat" ] }, - "name": { - "description": "The name of the enterprise.", + "followers_url": { "type": "string", + "format": "uri", "examples": [ - "Octo Business" + "https://api.github.com/users/octocat/followers" ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", + "following_url": { "type": "string", "examples": [ - "octo-business" + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "gists_url": { + "type": "string", "examples": [ - "2019-01-26T19:01:12Z" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", + "starred_url": { + "type": "string", "examples": [ - "2019-01-26T19:14:43Z" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "avatar_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] } }, "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", "id", "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", + "assignees": { "type": "array", "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Moved Column in Project Issue Event", - "description": "Moved Column in Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } ] }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" ] }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" ] }, - "client_id": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] + "format": "date-time" }, - "owner": { - "oneOf": [ + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, { "title": "Simple User", "description": "A GitHub user.", @@ -622413,493 +630247,209 @@ "type", "url" ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { "type": "string", - "examples": [ - "Probot Owners" - ] + "format": "uri" }, - "description": { + "type": { + "title": "Issue Type", + "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", "type": [ - "string", + "object", "null" ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", "properties": { - "issues": { - "type": "string" + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." }, - "checks": { - "type": "string" + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." }, - "metadata": { - "type": "string" + "name": { + "type": "string", + "description": "The name of the issue type." }, - "contents": { - "type": "string" + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." }, - "deployments": { - "type": "string" + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." } }, - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Removed from Project Issue Event", - "description": "Removed from Project 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "event": { - "type": "string" - }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "type": "string" - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "required": [ + "id", + "node_id", + "name", + "description" ] }, - "owner": { - "oneOf": [ - { + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -622994,1180 +630544,2646 @@ "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ], + "examples": [ + "all" + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "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" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 ] }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] + "node_id": { + "type": "string" }, - "repos_url": { + "url": { + "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "https://api.github.com/repositories/42/issues/comments/1" ] }, - "received_events_url": { + "body": { + "description": "Contents of the issue comment", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "What version of Safari were you using when you observed this bug?" ] }, - "type": { - "type": "string", - "examples": [ - "User" - ] + "body_text": { + "type": "string" }, - "site_admin": { - "type": "boolean" + "body_html": { + "type": "string" }, - "starred_at": { + "html_url": { "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } ] }, - "user_view_type": { + "created_at": { "type": "string", + "format": "date-time", "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" + "2011-04-14T16:00:49Z" ] }, - "html_url": { + "updated_at": { "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://github.com/enterprises/octo-business" + "2011-04-14T16:00:49Z" ] }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], + "issue_url": { + "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { + "author_association": { + "title": "author_association", "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + "OWNER" ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } ] }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" + "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" ] }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } ] }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } ] - }, - "avatar_url": { - "type": "string", - "format": "uri" } }, "required": [ "id", "node_id", - "name", - "slug", "html_url", + "issue_url", + "user", + "url", "created_at", - "updated_at", - "avatar_url" + "updated_at" ] } ] }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", "type": "object", "properties": { - "issues": { - "type": "string" - }, - "checks": { - "type": "string" + "blocked_by": { + "type": "integer" }, - "metadata": { - "type": "string" + "blocking": { + "type": "integer" }, - "contents": { - "type": "string" + "total_blocked_by": { + "type": "integer" }, - "deployments": { - "type": "string" + "total_blocking": { + "type": "integer" } }, - "additionalProperties": { - "type": "string" - }, - "example": { - "issues": "read", - "deployments": "write" - } + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] }, - "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.", + "issue_field_values": { "type": "array", "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "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", + "examples": [ + 1 + ] + }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "multi_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + }, + "multi_select_options": { + "description": "Details about the selected options", + "type": [ + "array", + "null" + ], + "items": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } } }, "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", "id", "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", "created_at", - "updated_at", - "permissions", - "events" + "updated_at" ] } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] + } } }, "required": [ - "id", - "node_id", - "url", - "actor", "event", - "commit_id", - "commit_url", "created_at", - "performed_via_github_app" + "updated_at", + "source" ] }, { - "title": "Converted Note to Issue Issue Event", - "description": "Converted Note to Issue Issue Event", + "title": "Timeline Committed Event", + "description": "Timeline Committed 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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, "event": { "type": "string" }, - "commit_id": { - "type": [ - "string", - "null" - ] - }, - "commit_url": { - "type": [ - "string", - "null" + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" ] }, - "created_at": { + "node_id": { "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "url": { - "type": "string", - "format": "uri" - }, - "project_id": { - "type": "integer" - }, - "project_url": { - "type": "string", - "format": "uri" - }, - "column_name": { - "type": "string" - }, - "previous_column_name": { - "type": "string" - } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - { - "title": "Timeline Comment Event", - "description": "Timeline Comment Event", - "type": "object", - "properties": { - "event": { - "type": "string" + "url": { + "type": "string", + "format": "uri" }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", + "author": { + "description": "Identifying information for the git-user", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { + "date": { + "description": "Timestamp of the commit", + "format": "date-time", "type": "string", "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" + "2014-08-09T08:02:04+12:00" ] }, - "starred_url": { + "email": { "type": "string", + "description": "Git email address of the user", "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" + "monalisa.octocat@example.com" ] }, - "subscriptions_url": { + "name": { + "description": "Name of the git user", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/subscriptions" + "Monalisa Octocat" ] - }, - "organizations_url": { + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "format": "date-time", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/orgs" + "2014-08-09T08:02:04+12:00" ] }, - "repos_url": { + "email": { "type": "string", - "format": "uri", + "description": "Git email address of the user", "examples": [ - "https://api.github.com/users/octocat/repos" + "monalisa.octocat@example.com" ] }, - "events_url": { + "name": { + "description": "Name of the git user", "type": "string", "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" + "Monalisa Octocat" ] - }, - "received_events_url": { + } + }, + "required": [ + "email", + "name", + "date" + ] + }, + "message": { + "description": "Message describing the purpose of the commit", + "type": "string", + "examples": [ + "Fix #42" + ] + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", "type": "string", - "format": "uri", "examples": [ - "https://api.github.com/users/octocat/received_events" + "7638417db6d59f3c431d3e1f261cc637155684cd" ] }, - "type": { + "url": { "type": "string", - "examples": [ - "User" - ] + "format": "uri" + } + }, + "required": [ + "sha", + "url" + ] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "type": "string", + "examples": [ + "7638417db6d59f3c431d3e1f261cc637155684cd" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + } }, - "site_admin": { + "required": [ + "sha", + "url", + "html_url" + ] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { "type": "boolean" }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" + "reason": { + "type": "string" + }, + "signature": { + "type": [ + "string", + "null" ] }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "payload": { + "type": [ + "string", + "null" + ] + }, + "verified_at": { + "type": [ + "string", + "null" ] } }, "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" + "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 issue comment", + "description": "Unique identifier of the review", "type": "integer", "examples": [ 42 ] }, "node_id": { - "type": "string" - }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", "type": "string", "examples": [ - "What version of Safari were you using when you observed this bug?" + "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "body_text": { - "type": "string" - }, - "body_html": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, "user": { "title": "Simple User", "description": "A GitHub user.", @@ -624336,1393 +633352,722 @@ "url" ] }, - "created_at": { - "type": "string", - "format": "date-time", + "body": { + "description": "The text of the review.", + "type": [ + "string", + "null" + ], "examples": [ - "2011-04-14T16:00:49Z" + "This looks great." ] }, - "updated_at": { + "state": { "type": "string", - "format": "date-time", "examples": [ - "2011-04-14T16:00:49Z" + "CHANGES_REQUESTED" ] }, - "issue_url": { + "html_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + ] }, - "author_association": { - "title": "author_association", + "pull_request_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], + "format": "uri", "examples": [ - "OWNER" + "https://api.github.com/repos/octocat/Hello-World/pulls/12" ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] + "href": { + "type": "string" } }, "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" + "href" ] - } - ] - }, - "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": { - "anyOf": [ - { - "type": "null" }, - { - "title": "Pinned Issue Comment", - "description": "Context around who pinned an issue comment and when it was pinned.", + "pull_request": { "type": "object", "properties": { - "pinned_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "href": { + "type": "string" } }, "required": [ - "pinned_at", - "pinned_by" + "href" ] } + }, + "required": [ + "html", + "pull_request" + ] + }, + "submitted_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "commit_id": { + "description": "A commit SHA for the review.", + "type": "string", + "examples": [ + "54bb654c9e6025347f57900a4a5c2313a96b8035" + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" ] } }, "required": [ "event", - "actor", "id", "node_id", - "html_url", - "issue_url", - "author_association", "user", - "url", - "created_at", - "updated_at" + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" ] }, { - "title": "Timeline Cross Referenced Event", - "description": "Timeline Cross Referenced Event", + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", "type": "object", "properties": { "event": { "type": "string" }, - "actor": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "node_id": { + "type": "string" }, - "source": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "issue": { - "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", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/1" - ] - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "state_reason": { - "description": "The reason for the current state", - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "reopened", - "not_planned", - "duplicate", - null - ], - "examples": [ - "not_planned" - ] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": [ - "Widget creation fails in Safari on OS X 10.8" - ] - }, - "body": { - "description": "Contents of the issue", - "type": [ - "string", - "null" - ], - "examples": [ - "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?" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } + "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", + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "type": [ + "integer", + "null" + ], + "format": "int64", + "examples": [ + 42 + ] + }, + "id": { + "description": "The ID of the pull request review comment.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "examples": [ + "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + ] + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "examples": [ + "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + ] + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "type": "string", + "examples": [ + "config/database.yaml" + ] + }, + "position": { + "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", + "type": "integer", + "examples": [ + 1 + ] + }, + "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.", + "type": "integer", + "examples": [ + 4 + ] + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "type": "string", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "type": "string", + "examples": [ + "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" + ] + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "type": "integer", + "examples": [ + 8 + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] }, - "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" - ] - } - ] - }, - "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", - "type": "array", - "items": { - "oneOf": [ - { - "type": "string" + "email": { + "type": [ + "string", + "null" + ] }, - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "node_id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - }, - "default": { - "type": "boolean" - } - } + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "description": "The text of the comment.", + "type": "string", + "examples": [ + "We should probably include a check for null values here." + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", + "type": "string", + "format": "uri", + "examples": [ + "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", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + ] } + }, + "required": [ + "href" ] }, - "examples": [ - "bug", - "registration" - ] - }, - "assignee": { - "anyOf": [ - { - "type": "null" + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + ] + } }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "required": [ + "href" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1" + ] + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "self", + "html", + "pull_request" + ] + }, + "start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "original_start_line": { + "type": [ + "integer", + "null" + ], + "description": "The first line of the range for a multi-line comment.", + "examples": [ + 2 + ] + }, + "start_side": { + "type": [ + "string", + "null" + ], + "description": "The side of the first line of the range for a multi-line comment.", + "enum": [ + "LEFT", + "RIGHT", + null + ], + "default": "RIGHT" + }, + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "type": "integer", + "examples": [ + 2 + ] + }, + "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" + } }, - "assignees": { - "type": "array", - "items": { + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "body_html": { + "type": "string", + "examples": [ + "\"

comment body

\"" + ] + }, + "body_text": { + "type": "string", + "examples": [ + "\"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", + "null" + ] + }, + "position": { + "type": [ + "integer", + "null" + ] + }, + "line": { + "type": [ + "integer", + "null" + ] + }, + "commit_id": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -625890,779 +634235,345 @@ "url" ] } - }, - "milestone": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] - }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDk6TWlsZXN0b25lMTAwMjYwNA==" - ] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [ - 42 - ] - }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": [ - "open", - "closed" - ], - "default": "open", - "examples": [ - "open" - ] - }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": [ - "v1.0" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "Tracking milestone for version 1.0" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "open_issues": { - "type": "integer", - "examples": [ - 4 - ] - }, - "closed_issues": { - "type": "integer", - "examples": [ - 8 - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2014-03-03T18:58:10Z" - ] - }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2013-02-12T13:22:01Z" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2012-10-09T23:39:01Z" - ] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - } - ] - }, - "locked": { - "type": "boolean" - }, - "active_lock_reason": { - "type": [ - "string", - "null" - ] - }, - "comments": { - "type": "integer" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "diff_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "html_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "patch_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri" - } + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" }, - "required": [ - "diff_url", - "html_url", - "patch_url", - "url" - ] + "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" + } }, - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "created_at": { + "slug": { + "description": "The slug name of the GitHub app", "type": "string", - "format": "date-time" + "examples": [ + "probot-owners" + ] }, - "updated_at": { + "node_id": { "type": "string", - "format": "date-time" - }, - "draft": { - "type": "boolean" - }, - "closed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" ] }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "timeline_url": { + "client_id": { "type": "string", - "format": "uri" - }, - "type": { - "title": "Issue Type", - "description": "The type assigned to the issue. This is only present for issues in repositories where issue types are supported.", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The description of the issue type." - }, - "color": { - "type": [ - "string", - "null" - ], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": [ - "id", - "node_id", - "name", - "description" + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" ] }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": [ - "Team Environment" - ] - }, - "full_name": { - "type": "string", - "examples": [ - "octocat/Hello-World" - ] - }, - "license": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "License Simple", - "description": "License Simple", - "type": "object", - "properties": { - "key": { - "type": "string", - "examples": [ - "mit" - ] - }, - "name": { - "type": "string", - "examples": [ - "MIT License" - ] - }, - "url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://api.github.com/licenses/mit" - ] - }, - "spdx_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "MIT" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6TGljZW5zZW1pdA==" - ] - }, - "html_url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "key", - "name", - "url", - "spdx_id", - "node_id" - ] - } - ] - }, - "forks": { - "type": "integer" - }, - "permissions": { - "type": "object", - "properties": { - "admin": { - "type": "boolean" - }, - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - } - }, - "required": [ - "admin", - "pull", - "push" - ] - }, - "owner": { + "owner": { + "oneOf": [ + { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -626738,2632 +634649,1088 @@ "following_url": { "type": "string", "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean" - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": [ - "git:github.com/octocat/Hello-World.git" - ] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": [ - "git@github.com:octocat/Hello-World.git" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": [ - "https://github.com/octocat/Hello-World.git" - ] - }, - "mirror_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "git:git.example.com/octocat/Hello-World" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://svn.github.com/octocat/Hello-World" - ] - }, - "homepage": { - "type": [ - "string", - "null" - ], - "format": "uri", - "examples": [ - "https://github.com" - ] - }, - "language": { - "type": [ - "string", - "null" - ] - }, - "forks_count": { - "type": "integer", - "examples": [ - 9 - ] - }, - "stargazers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "watchers_count": { - "type": "integer", - "examples": [ - 80 - ] - }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [ - 108 - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": [ - "master" - ] - }, - "open_issues_count": { - "type": "integer", - "examples": [ - 0 - ] - }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "topics": { - "type": "array", - "items": { - "type": "string" - } - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pages": { - "type": "boolean" - }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [ - true - ] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [ - true - ] - }, - "has_pull_requests": { - "description": "Whether pull requests are enabled.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "pull_request_creation_policy": { - "description": "The policy controlling who can create pull requests: all or collaborators_only.", - "type": "string", - "enum": [ - "all", - "collaborators_only" - ], - "examples": [ - "all" - ] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2011-01-26T19:14:43Z" - ] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "temp_clone_token": { - "type": "string" - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [ - false - ] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [ - true - ] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { - "type": "integer" - }, - "watchers": { - "type": "integer" - }, - "master_branch": { - "type": "string" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:42Z\"" - ] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { - "type": "boolean" - }, - "lexical_commit_sha": { - "type": "string" - } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 + "https://api.github.com/users/octocat/following{/other_user}" ] }, - "slug": { - "description": "The slug name of the GitHub app", + "gists_url": { "type": "string", "examples": [ - "probot-owners" + "https://api.github.com/users/octocat/gists{/gist_id}" ] }, - "node_id": { + "starred_url": { "type": "string", "examples": [ - "MDExOkludGVncmF0aW9uMQ==" + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "client_id": { + "subscriptions_url": { "type": "string", + "format": "uri", "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" + "https://api.github.com/users/octocat/subscriptions" ] }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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" - ] - } + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" ] }, - "name": { - "description": "The name of the GitHub app", + "repos_url": { "type": "string", + "format": "uri", "examples": [ - "Probot Owners" + "https://api.github.com/users/octocat/repos" ] }, - "description": { - "type": [ - "string", - "null" - ], + "events_url": { + "type": "string", "examples": [ - "The description of the app." + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "external_url": { + "received_events_url": { "type": "string", "format": "uri", "examples": [ - "https://example.com" + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" ] }, "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/apps/super-ci" + "https://github.com/enterprises/octo-business" ] }, - "created_at": { + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] }, - "updated_at": { + "name": { + "description": "The name of the enterprise.", "type": "string", - "format": "date-time", "examples": [ - "2017-07-08T16:18:44-04:00" + "Octo Business" ] }, - "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" - } + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] }, - "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.", - "type": "array", - "items": { - "type": "string" - }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - "label", - "deployment" + "2019-01-26T19:01:12Z" ] }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", "examples": [ - 5 + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", - "owner", "name", - "description", - "external_url", + "slug", "html_url", "created_at", "updated_at", - "permissions", - "events" + "avatar_url" ] } ] }, - "author_association": { - "title": "author_association", + "name": { + "description": "The name of the GitHub app", "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" ], "examples": [ - "OWNER" + "The description of the app." ] }, - "reactions": { - "title": "Reaction Rollup", + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "url": { - "type": "string", - "format": "uri" - }, - "total_count": { - "type": "integer" - }, - "+1": { - "type": "integer" - }, - "-1": { - "type": "integer" - }, - "laugh": { - "type": "integer" - }, - "confused": { - "type": "integer" + "issues": { + "type": "string" }, - "heart": { - "type": "integer" + "checks": { + "type": "string" }, - "hooray": { - "type": "integer" + "metadata": { + "type": "string" }, - "eyes": { - "type": "integer" + "contents": { + "type": "string" }, - "rocket": { - "type": "integer" + "deployments": { + "type": "string" } }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "completed": { - "type": "integer" - }, - "percent_completed": { - "type": "integer" - } + "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.", + "type": "array", + "items": { + "type": "string" }, - "required": [ - "total", - "completed", - "percent_completed" + "examples": [ + "label", + "deployment" ] }, - "parent_issue_url": { - "description": "URL to get the parent issue of this issue, if it is a sub-issue", - "type": [ - "string", - "null" - ], - "format": "uri" + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] }, - "pinned_comment": { - "anyOf": [ - { - "type": "null" - }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", + "title": "Simple User", + "description": "A GitHub user.", "type": "object", "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, "id": { - "description": "Unique identifier of the issue comment", "type": "integer", "format": "int64", "examples": [ - 42 + 1 ] }, "node_id": { - "type": "string" + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] }, "url": { - "description": "URL for the issue comment", "type": "string", "format": "uri", "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" + "https://api.github.com/users/octocat" ] }, - "body": { - "description": "Contents of the issue comment", + "html_url": { "type": "string", + "format": "uri", "examples": [ - "What version of Safari were you using when you observed this bug?" + "https://github.com/octocat" ] }, - "body_text": { - "type": "string" + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] }, - "body_html": { - "type": "string" + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] }, - "html_url": { + "gists_url": { "type": "string", - "format": "uri" + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" ] }, - "created_at": { + "subscriptions_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/subscriptions" ] }, - "updated_at": { + "organizations_url": { "type": "string", - "format": "date-time", + "format": "uri", "examples": [ - "2011-04-14T16:00:49Z" + "https://api.github.com/users/octocat/orgs" ] }, - "issue_url": { + "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] }, - "author_association": { - "title": "author_association", + "events_url": { "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], "examples": [ - "OWNER" + "https://api.github.com/users/octocat/events{/privacy}" ] }, - "performed_via_github_app": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [ - 37 - ] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": [ - "probot-owners" - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDExOkludGVncmF0aW9uMQ==" - ] - }, - "client_id": { - "type": "string", - "examples": [ - "\"Iv1.25b5d1e65ffc4022\"" - ] - }, - "owner": { - "oneOf": [ - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": [ - "string", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] - }, - "updated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Probot Owners" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "The description of the app." - ] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://example.com" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/apps/super-ci" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2017-07-08T16:18:44-04:00" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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.", - "type": "array", - "items": { - "type": "string" - }, - "examples": [ - "label", - "deployment" - ] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [ - 5 - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - } + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_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" + "type": { + "type": "string", + "examples": [ + "User" ] }, - "pin": { - "anyOf": [ - { - "type": "null" - }, - { - "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", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "pinned_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "pinned_at", - "pinned_by" - ] - } + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" ] + }, + "avatar_url": { + "type": "string", + "format": "uri" } }, "required": [ "id", "node_id", + "name", + "slug", "html_url", - "issue_url", - "user", - "url", "created_at", - "updated_at" + "updated_at", + "avatar_url" ] } ] }, - "issue_dependencies_summary": { - "title": "Issue Dependencies Summary", + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", "type": "object", "properties": { - "blocked_by": { - "type": "integer" + "issues": { + "type": "string" }, - "blocking": { - "type": "integer" + "checks": { + "type": "string" }, - "total_blocked_by": { - "type": "integer" + "metadata": { + "type": "string" }, - "total_blocking": { - "type": "integer" + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" } }, - "required": [ - "blocked_by", - "blocking", - "total_blocked_by", - "total_blocking" - ] + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } }, - "issue_field_values": { + "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.", "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "IFT_GDKND" - ] - }, - "data_type": { - "description": "The data type of the issue field", - "type": "string", - "enum": [ - "text", - "single_select", - "multi_select", - "number", - "date" - ], - "examples": [ - "text" - ] - }, - "value": { - "description": "The value of the issue field", - "anyOf": [ - { - "type": "string", - "examples": [ - "Sample text" - ] - }, - { - "type": "number", - "examples": [ - 42.5 - ] - }, - { - "type": "integer", - "examples": [ - 1 - ] - } - ], - "type": [ - "null", - "string", - "number", - "integer" - ] - }, - "single_select_option": { - "description": "Details about the selected option (only present for single_select fields)", - "type": [ - "object", - "null" - ], - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - }, - "multi_select_options": { - "description": "Details about the selected options", - "type": [ - "array", - "null" - ], - "items": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the option.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "name": { - "description": "The name of the option", - "type": "string", - "examples": [ - "High" - ] - }, - "color": { - "description": "The color of the option", - "type": "string", - "examples": [ - "red" - ] - } - }, - "required": [ - "id", - "name", - "color" - ] - } - } - }, - "required": [ - "issue_field_id", - "node_id", - "data_type", - "value" - ] - } + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] } }, "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", + "owner", + "name", + "description", + "external_url", + "html_url", "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", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": [ - "2014-08-09T08:02:04+12:00" - ] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": [ - "monalisa.octocat@example.com" - ] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": [ - "Monalisa Octocat" - ] - } - }, - "required": [ - "email", - "name", - "date" - ] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": [ - "Fix #42" - ] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "sha", - "url" - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": [ - "7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "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", - "null" - ] - }, - "payload": { - "type": [ - "string", - "null" - ] - }, - "verified_at": { - "type": [ - "string", - "null" + "updated_at", + "permissions", + "events" ] } - }, - "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", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" ] }, - "user": { + "assignee": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -629530,990 +635897,24 @@ "type", "url" ] - }, - "body": { - "description": "The text of the review.", - "type": [ - "string", - "null" - ], - "examples": [ - "This looks great." - ] - }, - "state": { - "type": "string", - "examples": [ - "CHANGES_REQUESTED" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "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", - "null" - ], - "format": "date-time" - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string", - "examples": [ - "54bb654c9e6025347f57900a4a5c2313a96b8035" - ] - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] } }, "required": [ - "event", "id", "node_id", - "user", - "body", - "state", + "url", + "actor", + "event", "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" ] }, { - "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", - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": [ - "integer", - "null" - ], - "format": "int64", - "examples": [ - 42 - ] - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "examples": [ - "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - ] - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string", - "examples": [ - "config/database.yaml" - ] - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "type": "integer", - "examples": [ - 1 - ] - }, - "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.", - "type": "integer", - "examples": [ - 4 - ] - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string", - "examples": [ - "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" - ] - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer", - "examples": [ - 8 - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string", - "examples": [ - "We should probably include a check for null values here." - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-14T16:00:49Z" - ] - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" - ] - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - } - }, - "required": [ - "href" - ] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - } - }, - "required": [ - "href" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - } - }, - "required": [ - "href" - ] - } - }, - "required": [ - "self", - "html", - "pull_request" - ] - }, - "start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "original_start_line": { - "type": [ - "integer", - "null" - ], - "description": "The first line of the range for a multi-line comment.", - "examples": [ - 2 - ] - }, - "start_side": { - "type": [ - "string", - "null" - ], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT", - null - ], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [ - 2 - ] - }, - "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", - "examples": [ - "\"

comment body

\"" - ] - }, - "body_text": { - "type": "string", - "examples": [ - "\"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", - "null" - ] - }, - "position": { - "type": [ - "integer", - "null" - ] - }, - "line": { - "type": [ - "integer", - "null" - ] - }, - "commit_id": { - "type": "string" - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "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", + "title": "State Change Issue Event", + "description": "State Change Issue Event", "type": "object", "properties": { "id": { @@ -631119,7 +636520,40 @@ } ] }, - "assignee": { + "state_reason": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + { + "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": { "title": "Simple User", "description": "A GitHub user.", "type": "object", @@ -631286,9 +636720,476 @@ "type", "url" ] + }, + "event": { + "type": "string" + }, + "commit_id": { + "type": [ + "string", + "null" + ] + }, + "commit_url": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "type": "string" + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "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", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] } }, "required": [ + "issue_type", "id", "node_id", "url", @@ -631297,13 +637198,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": { @@ -631909,176 +637809,49 @@ } ] }, - "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, "id": { "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] + "description": "The unique identifier of the issue type." }, - "avatar_url": { + "name": { "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] + "description": "The name of the issue type." }, - "gravatar_id": { + "color": { "type": [ "string", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null ] } }, "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", @@ -632087,13 +637860,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": { @@ -632699,14 +638471,90 @@ } ] }, - "state_reason": { + "issue_type": { + "title": "Issue Type", + "description": "The type of issue.", "type": [ - "string", + "object", + "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" + ] + }, + "prev_issue_type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", "null" + ], + "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", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + } + }, + "required": [ + "id", + "name" ] } }, "required": [ + "issue_type", + "prev_issue_type", "id", "node_id", "url", @@ -759712,6 +765560,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -762848,6 +768703,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -809754,6 +815636,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -809808,6 +815717,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -843175,6 +849091,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -843229,6 +849172,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -863331,6 +869281,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -863385,6 +869362,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -867725,6 +873709,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -867779,6 +873790,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -868844,6 +874862,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -876429,6 +882474,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -876483,6 +882555,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -880823,6 +886902,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -880877,6 +886983,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -881942,6 +888055,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -889537,6 +895677,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -889591,6 +895758,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -893931,6 +900105,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -893985,6 +900186,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -895050,6 +901258,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -914156,6 +920391,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -914210,6 +920472,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -930565,6 +936834,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -930619,6 +936915,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -934959,6 +941262,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -935013,6 +941343,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -936078,6 +942415,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -943659,6 +950023,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -943713,6 +950104,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -948053,6 +954451,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -948107,6 +954532,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -949172,6 +955604,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1204167,6 +1210626,33 @@ } ] }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] + }, "user": { "title": "User", "type": [ @@ -1208785,6 +1215271,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1213321,6 +1219834,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1217840,6 +1224380,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1222365,6 +1228932,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1229781,6 +1236375,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1229835,6 +1236456,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1233686,6 +1240314,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1233740,6 +1240395,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1240464,6 +1247126,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1240518,6 +1247207,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1244369,6 +1251065,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1244423,6 +1251146,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1251147,6 +1257877,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1251201,6 +1257958,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1256020,6 +1262784,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1256074,6 +1262865,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1261830,6 +1268628,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1261884,6 +1268709,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1266703,6 +1273535,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1266757,6 +1273616,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1271030,6 +1277896,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1271104,6 +1277997,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1275456,6 +1282356,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1275530,6 +1282457,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1280090,6 +1287024,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1280164,6 +1287125,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1284528,6 +1291496,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1284602,6 +1291597,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1289147,6 +1296149,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1289221,6 +1296250,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1293612,6 +1300648,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1293686,6 +1300749,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1298257,6 +1305327,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1298331,6 +1305428,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1302795,6 +1309899,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1302869,6 +1310000,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1307285,6 +1314423,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1307359,6 +1314524,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1311699,6 +1318871,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1311773,6 +1318972,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1315321,6 +1322527,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1316398,6 +1323611,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1318487,6 +1325727,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1319631,6 +1326878,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1323755,6 +1331029,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1323829,6 +1331130,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1328196,6 +1335504,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1328270,6 +1335605,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1332476,6 +1339818,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1332550,6 +1339919,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1335658,6 +1343034,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1335732,6 +1343135,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1340079,6 +1347489,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1340153,6 +1347590,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1344669,6 +1352113,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1344743,6 +1352214,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1349090,6 +1356568,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1349164,6 +1356669,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1353578,6 +1361090,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1353652,6 +1361191,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1357969,6 +1365515,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1358043,6 +1365616,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1362389,6 +1369969,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1362463,6 +1370070,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1792432,6 +1800046,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1792486,6 +1800127,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1797305,6 +1804953,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1797359,6 +1805034,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1803116,6 +1810798,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1803170,6 +1810879,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1807989,6 +1815705,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1808043,6 +1815786,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1813800,6 +1821550,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1813854,6 +1821631,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1818673,6 +1826457,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1818727,6 +1826538,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1824484,6 +1832302,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1824538,6 +1832383,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ @@ -1829357,6 +1837209,33 @@ ] } ] + }, + "minimized": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Minimized Issue Comment", + "description": "Details about why an issue comment was minimized.", + "type": "object", + "properties": { + "reason": { + "description": "The reason the comment was minimized.", + "type": [ + "string", + "null" + ], + "examples": [ + "low-quality" + ] + } + }, + "required": [ + "reason" + ] + } + ] } }, "required": [ @@ -1829411,6 +1837290,13 @@ 1 ] }, + "issue_field_name": { + "description": "The human-readable name of the issue field.", + "type": "string", + "examples": [ + "Priority" + ] + }, "node_id": { "type": "string", "examples": [ diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 62abcb5cd0..f4c39e1d21 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1088,7 +1088,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: - - &762 + - &767 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4361,7 +4361,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &771 + schema: &776 title: Scim Error description: Scim Error type: object @@ -12016,7 +12016,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &772 + '401': &777 description: Authorization failure '404': *6 x-github: @@ -25275,7 +25275,7 @@ paths: - object rules: type: array - items: &727 + items: &732 title: Repository Rule type: object description: A repository rule. @@ -25284,7 +25284,7 @@ paths: - *167 - *168 - *169 - - &725 + - &730 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25888,14 +25888,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &740 + state: &745 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: &741 + resolution: &746 type: - string - 'null' @@ -26014,14 +26014,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &742 + - &747 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &744 + - &749 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26085,7 +26085,7 @@ paths: - blob_url - commit_sha - commit_url - - &745 + - &750 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. @@ -26146,7 +26146,7 @@ paths: - page_url - commit_sha - commit_url - - &746 + - &751 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26168,7 +26168,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &747 + - &752 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26190,7 +26190,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &748 + - &753 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26212,7 +26212,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &749 + - &754 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26227,7 +26227,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &750 + - &755 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26242,7 +26242,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &751 + - &756 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26257,7 +26257,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &752 + - &757 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. @@ -26279,7 +26279,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &753 + - &758 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. @@ -26301,7 +26301,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &754 + - &759 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. @@ -26323,7 +26323,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &755 + - &760 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. @@ -26345,7 +26345,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &756 + - &761 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 @@ -28037,6 +28037,120 @@ paths: enabledForGitHubApps: false category: billing subcategory: budgets + "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}/user-states": + get: + summary: Get user states for a multi-user budget + description: Lists per-user budget state for a multi-user customer scoped budget. + The authenticated user must be an enterprise admin or billing manager. + tags: + - billing + operationId: billing/get-budget-user-states + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/billing/budgets#get-user-states-for-a-multi-user-budget + parameters: + - *39 + - *195 + - name: page + description: The page number of results to fetch. + in: query + schema: + type: integer + - name: per_page + description: The number of results per page. + in: query + schema: + type: integer + - name: sort_order + description: Sort order for results. `0` for descending, `1` for ascending. + in: query + schema: + type: string + enum: + - '0' + - '1' + - name: user + description: Filter user states to a specific user login. + in: query + schema: + type: string + - name: threshold_lower_bound + description: Filter user states whose threshold percentage is at or above + this value. + in: query + schema: + type: integer + - name: threshold_upper_bound + description: Filter user states whose threshold percentage is at or below + this value. + in: query + schema: + type: integer + responses: + '200': + description: Response when getting per-user states for a multi-user budget + content: + application/json: + schema: + type: object + properties: + user_states: + type: array + description: Per-user state entries for the budget. + items: + type: object + properties: + user: + type: string + description: The login of the user, when the user record + is available. + consumed_amount: + type: number + description: The amount currently consumed by this user + against the budget. + target_amount: + type: number + description: The target amount allocated to this user within + the budget. + override_budget_id: + type: string + description: The ID of a user-scoped budget that overrides + the per-user allocation, when present. + required: + - consumed_amount + - target_amount + has_next_page: + type: boolean + description: Indicates if there are more pages of results available. + total_count: + type: integer + description: Total number of user state entries matching the query. + required: + - user_states + - has_next_page + - total_count + examples: + default: + value: + user_states: + - user: octocat + consumed_amount: 50.5 + target_amount: 1000.0 + - user: monalisa + consumed_amount: 250.0 + target_amount: 1000.0 + override_budget_id: 2066deda-923f-43f9-88d2-62395a28c0cdd + has_next_page: false + total_count: 2 + '404': *6 + '403': *27 + '500': *38 + '503': *192 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/cost-centers": get: summary: Get all cost centers for an enterprise @@ -30283,7 +30397,7 @@ paths: properties: action: type: string - discussion: &877 + discussion: &882 title: Discussion description: A Discussion in a repository. type: object @@ -31069,7 +31183,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &799 + sub_issues_summary: &804 title: Sub-issues Summary type: object properties: @@ -31153,7 +31267,7 @@ paths: pin: anyOf: - type: 'null' - - &684 + - &685 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31171,6 +31285,25 @@ paths: required: - pinned_at - pinned_by + minimized: + anyOf: + - type: 'null' + - &686 + title: Minimized Issue Comment + description: Details about why an issue comment + was minimized. + type: object + properties: + reason: + description: The reason the comment was + minimized. + type: + - string + - 'null' + examples: + - low-quality + required: + - reason required: - id - node_id @@ -31180,7 +31313,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &800 + issue_dependencies_summary: &805 title: Issue Dependencies Summary type: object properties: @@ -31199,7 +31332,7 @@ paths: - total_blocking issue_field_values: type: array - items: &668 + items: &669 title: Issue Field Value description: A value assigned to an issue field type: object @@ -31211,6 +31344,12 @@ paths: format: int64 examples: - 1 + issue_field_name: + description: The human-readable name of the + issue field. + type: string + examples: + - Priority node_id: type: string examples: @@ -32010,7 +32149,7 @@ paths: type: string release: allOf: - - &718 + - &723 title: Release description: A release. type: object @@ -32092,7 +32231,7 @@ paths: author: *4 assets: type: array - items: &719 + items: &724 title: Release Asset description: Data related to a release. type: object @@ -32683,7 +32822,7 @@ paths: url: type: string format: uri - user: &806 + user: &811 title: Public User description: Public User type: object @@ -36139,7 +36278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &692 + - &697 name: all description: If `true`, show notifications marked as read. in: query @@ -36147,7 +36286,7 @@ paths: schema: type: boolean default: false - - &693 + - &698 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36157,7 +36296,7 @@ paths: type: boolean default: false - *223 - - &694 + - &699 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: @@ -36758,7 +36897,7 @@ paths: - url - subscription_url examples: - default: &695 + default: &700 value: - id: '1' repository: @@ -37621,7 +37760,7 @@ paths: type: array items: *152 examples: - default: &701 + default: &706 value: - property_name: environment value: production @@ -37671,7 +37810,7 @@ paths: required: - properties examples: - default: &702 + default: &707 value: properties: - property_name: environment @@ -44427,12 +44566,12 @@ paths: required: - subject_digests examples: - default: &837 + default: &842 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &838 + withPredicateType: &843 value: subject_digests: - sha256:abc123 @@ -44491,7 +44630,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &839 + default: &844 value: attestations_subject_digests: - sha256:abc: @@ -57497,7 +57636,7 @@ paths: parameters: - *87 - *397 - - &820 + - &825 name: repo_name description: repo_name parameter in: path @@ -58845,7 +58984,7 @@ paths: - nuget - container - *87 - - &821 + - &826 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58886,7 +59025,7 @@ paths: default: *402 '403': *27 '401': *23 - '400': &823 + '400': &828 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61017,7 +61156,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &910 + - &915 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -61530,7 +61669,7 @@ paths: - review_comment - self author_association: *215 - auto_merge: &704 + auto_merge: &709 title: Auto merge description: The status of auto merging a pull request. type: @@ -61915,7 +62054,7 @@ paths: - updated_at - project_url examples: - default: &843 + default: &848 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62092,7 +62231,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &844 + items: &849 type: object properties: name: @@ -62129,7 +62268,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &845 + iteration_configuration: &850 type: object description: The configuration for iteration fields. properties: @@ -62179,7 +62318,7 @@ paths: value: name: Due date data_type: date - single_select_field: &846 + single_select_field: &851 summary: Create a single select field value: name: Priority @@ -62206,7 +62345,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &847 + iteration_field: &852 summary: Create an iteration field value: name: Sprint @@ -62232,7 +62371,7 @@ paths: application/json: schema: *422 examples: - text_field: &848 + text_field: &853 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -62241,7 +62380,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: &849 + number_field: &854 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -62250,7 +62389,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: &850 + date_field: &855 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -62259,7 +62398,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: &851 + single_select_field: &856 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -62293,7 +62432,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &852 + iteration_field: &857 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -62339,7 +62478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - *419 - - &853 + - &858 name: field_id description: The unique identifier of the field. in: path @@ -62354,7 +62493,7 @@ paths: application/json: schema: *422 examples: - default: &854 + default: &859 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -63565,7 +63704,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &834 + schema: &839 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -63748,7 +63887,7 @@ paths: parameters: - *419 - *87 - - &855 + - &860 name: view_number description: The number that identifies the project view. in: path @@ -65663,7 +65802,7 @@ paths: - *87 - *17 - *19 - - &726 + - &731 name: targets description: | A comma-separated list of rule targets to filter by. @@ -65880,7 +66019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &728 + - &733 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 @@ -65892,14 +66031,14 @@ paths: x-multi-segment: true - *310 - *105 - - &729 + - &734 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 - - &730 + - &735 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -65912,7 +66051,7 @@ paths: - bypass - all default: all - - &731 + - &736 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. @@ -65935,7 +66074,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &737 title: Rule Suites description: Response type: array @@ -65991,7 +66130,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &733 + default: &738 value: - id: 21 actor_id: 12 @@ -66035,7 +66174,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &734 + - &739 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -66051,7 +66190,7 @@ paths: description: Response content: application/json: - schema: &735 + schema: &740 title: Rule Suite description: Response type: object @@ -66158,7 +66297,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &736 + default: &741 value: id: 21 actor_id: 12 @@ -66494,7 +66633,7 @@ paths: - *110 - *19 - *17 - - &738 + - &743 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 @@ -66504,7 +66643,7 @@ paths: required: false schema: type: string - - &739 + - &744 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 @@ -66718,7 +66857,7 @@ paths: application/json: schema: type: array - items: &760 + items: &765 description: A repository security advisory. type: object properties: @@ -67037,7 +67176,7 @@ paths: - private_fork additionalProperties: false examples: - default: &761 + default: &766 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -69146,7 +69285,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &802 + response-if-user-is-a-team-maintainer: &807 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -69211,7 +69350,7 @@ paths: application/json: schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: &803 + response-if-users-membership-with-team-is-now-pending: &808 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -69325,7 +69464,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &804 + schema: &809 title: Team Repository description: A team's access to a repository. type: object @@ -70165,7 +70304,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &805 + response-if-child-teams-exist: &810 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -82627,7 +82766,7 @@ paths: check. type: array items: *221 - deployment: &866 + deployment: &871 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -85105,7 +85244,7 @@ paths: post: summary: Create an autofix for a code scanning alert description: |- - Creates an autofix for a code scanning alert. + Creates an autofix for a code scanning alert from the repository's default branch. If a new autofix is to be created as a result of this request or is currently being generated, then this endpoint will return a 202 Accepted response. @@ -87882,7 +88021,7 @@ paths: type: array items: *575 examples: - default: &811 + default: &816 value: total_count: 2 machines: @@ -89547,7 +89686,7 @@ paths: type: array items: *585 examples: - default: &711 + default: &716 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89838,7 +89977,7 @@ paths: type: array items: *589 examples: - default: &703 + default: &708 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90396,7 +90535,7 @@ paths: application/json: schema: *585 examples: - default: &689 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -91059,7 +91198,7 @@ paths: application/json: schema: type: array - items: &765 + items: &770 title: Status description: The status of a commit. type: object @@ -92048,7 +92187,7 @@ paths: - size - type - url - - &716 + - &721 title: Content File description: Content File type: object @@ -92685,7 +92824,7 @@ paths: items: type: object properties: - placeholder_id: &757 + placeholder_id: &762 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -99530,7 +99669,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &902 + last_response: &907 title: Hook Response type: object properties: @@ -100599,7 +100738,7 @@ paths: parameters: - *472 - *473 - - &832 + - &837 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -101184,7 +101323,7 @@ paths: type: array items: *657 examples: - default: &825 + default: &830 value: - id: 1 repository: @@ -101630,7 +101769,7 @@ paths: type: array items: *218 examples: - default: &667 + default: &668 value: - id: 1 node_id: MDU6SXNzdWUx @@ -101926,7 +102065,7 @@ paths: application/json: schema: *218 examples: - default: &664 + default: &665 value: id: 1 node_id: MDU6SXNzdWUx @@ -102135,7 +102274,7 @@ paths: type: array items: *219 examples: - default: &666 + default: &667 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -102165,6 +102304,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR + minimized: headers: Link: *45 '422': *15 @@ -102234,6 +102374,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR pin: + minimized: '404': *6 x-github: githubCloudOnly: false @@ -102590,7 +102731,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Issue Event description: Issue Event type: object @@ -102737,6 +102878,38 @@ paths: required: - from - to + issue_type: &663 + title: Issue Type + description: The type of issue. + type: + - object + - 'null' + 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 + - 'null' + description: The color of the issue type. + enum: + - gray + - blue + - green + - yellow + - orange + - red + - pink + - purple + - + required: + - id + - name + prev_issue_type: *663 author_association: *215 lock_reason: type: @@ -102942,7 +103115,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: default: value: @@ -103171,7 +103344,7 @@ paths: parameters: - *472 - *473 - - &665 + - &666 name: issue_number description: The number that identifies the issue. in: path @@ -103187,7 +103360,7 @@ paths: examples: default: summary: Issue - value: *664 + value: *665 pinned_comment: summary: Issue with pinned comment value: @@ -103415,7 +103588,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: false content: @@ -103558,9 +103731,13 @@ paths: description: Response content: application/json: - schema: *218 + schema: + allOf: + - *218 + - type: object + properties: {} examples: - default: *664 + default: *665 '422': *15 '503': *192 '403': *27 @@ -103586,7 +103763,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: false content: @@ -103614,7 +103791,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103632,7 +103809,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: content: application/json: @@ -103659,7 +103836,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103683,7 +103860,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - name: assignee in: path required: true @@ -103725,7 +103902,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *223 - *17 - *19 @@ -103738,7 +103915,7 @@ paths: type: array items: *219 examples: - default: *666 + default: *667 headers: Link: *45 '404': *6 @@ -103773,7 +103950,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -103834,7 +104011,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -103846,7 +104023,7 @@ paths: type: array items: *218 examples: - default: *667 + default: *668 headers: Link: *45 '301': *478 @@ -103881,7 +104058,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -103905,7 +104082,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by @@ -103946,7 +104123,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -103960,7 +104137,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 '301': *478 '400': *14 '401': *23 @@ -103994,7 +104171,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -104006,7 +104183,7 @@ paths: type: array items: *218 examples: - default: *667 + default: *668 headers: Link: *45 '301': *478 @@ -104030,7 +104207,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -104044,7 +104221,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &671 + - &672 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -104093,7 +104270,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -104221,7 +104398,7 @@ paths: - performed_via_github_app - assignee - assigner - - &673 + - &674 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -104267,7 +104444,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -104313,7 +104490,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &676 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -104362,7 +104539,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &677 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -104404,7 +104581,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &678 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -104446,7 +104623,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &679 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -104502,7 +104679,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &680 title: Locked Issue Event description: Locked Issue Event type: object @@ -104547,7 +104724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &681 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -104608,7 +104785,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &682 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -104669,7 +104846,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &683 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -104730,7 +104907,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &684 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -104788,6 +104965,128 @@ paths: - commit_url - created_at - performed_via_github_app + - &687 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *663 + required: + - issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &688 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + prev_issue_type: *663 + required: + - prev_issue_type + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &689 + 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 + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + issue_type: *663 + prev_issue_type: *663 + 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: @@ -104842,7 +105141,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -104852,15 +105151,17 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: &669 + default: &670 value: - issue_field_id: 1 + issue_field_name: DRI node_id: IFT_GDKND data_type: text value: DRI - issue_field_id: 2 + issue_field_name: Priority node_id: IFSS_SADMS data_type: single_select value: 1 @@ -104869,14 +105170,17 @@ paths: name: High color: red - issue_field_id: 3 + issue_field_name: Points node_id: IFN_POINTS data_type: number value: 42 - issue_field_id: 4 + issue_field_name: Due Date node_id: IFD_DUEDATE data_type: date value: '2025-12-25' - issue_field_id: 5 + issue_field_name: Labels node_id: IFMS_LABELS data_type: multi_select value: Frontend,Backend @@ -104922,7 +105226,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -104994,9 +105298,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *668 + items: *669 examples: - default: *669 + default: *670 '400': *14 '403': *27 '404': *6 @@ -105034,7 +105338,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -105101,9 +105405,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *668 + items: *669 examples: - default: *669 + default: *670 '400': *14 '403': *27 '404': *6 @@ -105136,7 +105440,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *385 responses: '204': @@ -105164,7 +105468,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -105176,7 +105480,7 @@ paths: type: array items: *217 examples: - default: &670 + default: &671 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105214,7 +105518,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: false content: @@ -105259,7 +105563,7 @@ paths: type: array items: *217 examples: - default: *670 + default: *671 '301': *478 '404': *6 '410': *659 @@ -105281,7 +105585,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: false content: @@ -105343,7 +105647,7 @@ paths: type: array items: *217 examples: - default: *670 + default: *671 '301': *478 '404': *6 '410': *659 @@ -105365,7 +105669,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 responses: '204': description: Response @@ -105392,7 +105696,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - name: name in: path required: true @@ -105440,7 +105744,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: false content: @@ -105489,7 +105793,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 responses: '204': description: Response @@ -105521,7 +105825,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 responses: '200': description: Response @@ -105529,7 +105833,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 '301': *478 '404': *6 '410': *659 @@ -105551,7 +105855,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - 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. @@ -105603,7 +105907,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -105668,7 +105972,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *662 responses: '204': @@ -105700,7 +106004,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -105724,7 +106028,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -105759,7 +106063,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -105771,7 +106075,7 @@ paths: type: array items: *218 examples: - default: *667 + default: *668 headers: Link: *45 '404': *6 @@ -105805,7 +106109,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -105834,7 +106138,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -105863,7 +106167,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 requestBody: required: true content: @@ -105896,7 +106200,7 @@ paths: application/json: schema: *218 examples: - default: *664 + default: *665 '403': *27 '404': *6 '422': *7 @@ -105920,7 +106224,7 @@ paths: parameters: - *472 - *473 - - *665 + - *666 - *17 - *19 responses: @@ -105935,7 +106239,6 @@ paths: description: Timeline Event type: object anyOf: - - *671 - *672 - *673 - *674 @@ -105948,6 +106251,7 @@ paths: - *681 - *682 - *683 + - *684 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -106004,7 +106308,11 @@ paths: pin: anyOf: - type: 'null' - - *684 + - *685 + minimized: + anyOf: + - type: 'null' + - *686 required: - event - actor @@ -106280,7 +106588,7 @@ paths: type: string comments: type: array - items: &705 + items: &710 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -106641,6 +106949,9 @@ paths: - commit_url - created_at - performed_via_github_app + - *687 + - *688 + - *689 examples: default: value: @@ -106824,7 +107135,7 @@ paths: application/json: schema: type: array - items: &685 + items: &690 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -106929,9 +107240,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *690 examples: - default: &686 + default: &691 value: id: 1 key: ssh-rsa AAA... @@ -106967,7 +107278,7 @@ paths: parameters: - *472 - *473 - - &687 + - &692 name: key_id description: The unique identifier of the key. in: path @@ -106979,9 +107290,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *690 examples: - default: *686 + default: *691 '404': *6 x-github: githubCloudOnly: false @@ -107001,7 +107312,7 @@ paths: parameters: - *472 - *473 - - *687 + - *692 responses: '204': description: Response @@ -107034,7 +107345,7 @@ paths: type: array items: *217 examples: - default: *670 + default: *671 headers: Link: *45 '404': *6 @@ -107094,7 +107405,7 @@ paths: application/json: schema: *217 examples: - default: &688 + default: &693 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -107140,7 +107451,7 @@ paths: application/json: schema: *217 examples: - default: *688 + default: *693 '404': *6 x-github: githubCloudOnly: false @@ -107595,7 +107906,7 @@ paths: application/json: schema: *585 examples: - default: *689 + default: *694 '204': description: Response when already merged '404': @@ -107761,7 +108072,7 @@ paths: application/json: schema: *420 examples: - default: &690 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -107822,7 +108133,7 @@ paths: parameters: - *472 - *473 - - &691 + - &696 name: milestone_number description: The number that identifies the milestone. in: path @@ -107836,7 +108147,7 @@ paths: application/json: schema: *420 examples: - default: *690 + default: *695 '404': *6 x-github: githubCloudOnly: false @@ -107855,7 +108166,7 @@ paths: parameters: - *472 - *473 - - *691 + - *696 requestBody: required: false content: @@ -107895,7 +108206,7 @@ paths: application/json: schema: *420 examples: - default: *690 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107913,7 +108224,7 @@ paths: parameters: - *472 - *473 - - *691 + - *696 responses: '204': description: Response @@ -107936,7 +108247,7 @@ paths: parameters: - *472 - *473 - - *691 + - *696 - *17 - *19 responses: @@ -107948,7 +108259,7 @@ paths: type: array items: *217 examples: - default: *670 + default: *671 headers: Link: *45 x-github: @@ -107969,10 +108280,10 @@ paths: parameters: - *472 - *473 - - *692 - - *693 + - *697 + - *698 - *223 - - *694 + - *699 - *17 - *19 responses: @@ -107984,7 +108295,7 @@ paths: type: array items: *243 examples: - default: *695 + default: *700 headers: Link: *45 x-github: @@ -108074,7 +108385,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &701 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -108218,7 +108529,7 @@ paths: - custom_404 - public examples: - default: &697 + default: &702 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -108315,9 +108626,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *701 examples: - default: *697 + default: *702 '422': *15 '409': *119 x-github: @@ -108487,7 +108798,7 @@ paths: application/json: schema: type: array - items: &698 + items: &703 title: Page Build description: Page Build type: object @@ -108634,9 +108945,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *703 examples: - default: &699 + default: &704 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -108696,9 +109007,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *703 examples: - default: *699 + default: *704 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108829,7 +109140,7 @@ paths: parameters: - *472 - *473 - - &700 + - &705 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -108889,7 +109200,7 @@ paths: parameters: - *472 - *473 - - *700 + - *705 responses: '204': *126 '404': *6 @@ -109306,7 +109617,7 @@ paths: type: array items: *152 examples: - default: *701 + default: *706 '403': *27 '404': *6 x-github: @@ -109345,7 +109656,7 @@ paths: required: - properties examples: - default: *702 + default: *707 responses: '204': description: No Content when custom property values are successfully created @@ -109446,7 +109757,7 @@ paths: type: array items: *589 examples: - default: *703 + default: *708 headers: Link: *45 '304': *35 @@ -109546,7 +109857,7 @@ paths: description: Response content: application/json: - schema: &707 + schema: &712 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -109780,7 +110091,7 @@ paths: - review_comment - self author_association: *215 - auto_merge: *704 + auto_merge: *709 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -109882,7 +110193,7 @@ paths: - merged_by - review_comments examples: - default: &708 + default: &713 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -110439,9 +110750,9 @@ paths: application/json: schema: type: array - items: *705 + items: *710 examples: - default: &710 + default: &715 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110526,9 +110837,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *710 examples: - default: &706 + default: &711 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -110627,9 +110938,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *710 examples: - default: *706 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110832,7 +111143,7 @@ paths: parameters: - *472 - *473 - - &709 + - &714 name: pull_number description: The number that identifies the pull request. in: path @@ -110845,9 +111156,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *707 + schema: *712 examples: - default: *708 + default: *713 '304': *35 '404': *6 '406': @@ -110884,7 +111195,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: false content: @@ -110926,9 +111237,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *712 examples: - default: *708 + default: *713 '422': *15 '403': *27 x-github: @@ -110952,7 +111263,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: true content: @@ -111055,7 +111366,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 - *240 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -111076,9 +111387,9 @@ paths: application/json: schema: type: array - items: *705 + items: *710 examples: - default: *710 + default: *715 headers: Link: *45 x-github: @@ -111113,7 +111424,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: true content: @@ -111219,7 +111530,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *710 examples: example-for-a-multi-line-comment: value: @@ -111309,7 +111620,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 - *232 requestBody: required: true @@ -111332,7 +111643,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *710 examples: default: value: @@ -111420,7 +111731,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 - *17 - *19 responses: @@ -111432,7 +111743,7 @@ paths: type: array items: *585 examples: - default: *711 + default: *716 headers: Link: *45 x-github: @@ -111464,7 +111775,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 - *17 - *19 responses: @@ -111514,7 +111825,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 responses: '204': description: Response if pull request has been merged @@ -111539,7 +111850,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: false content: @@ -111653,7 +111964,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 responses: '200': description: Response @@ -111730,7 +112041,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: false content: @@ -112305,7 +112616,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: true content: @@ -112846,7 +113157,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 - *17 - *19 responses: @@ -112856,7 +113167,7 @@ paths: application/json: schema: type: array - items: &712 + items: &717 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -113014,7 +113325,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: false content: @@ -113104,9 +113415,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *717 examples: - default: &714 + default: &719 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113171,8 +113482,8 @@ paths: parameters: - *472 - *473 - - *709 - - &713 + - *714 + - &718 name: review_id description: The unique identifier of the review. in: path @@ -113184,9 +113495,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *717 examples: - default: &715 + default: &720 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -113247,8 +113558,8 @@ paths: parameters: - *472 - *473 - - *709 - - *713 + - *714 + - *718 requestBody: required: true content: @@ -113271,7 +113582,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *717 examples: default: value: @@ -113335,16 +113646,16 @@ paths: parameters: - *472 - *473 - - *709 - - *713 + - *714 + - *718 responses: '200': description: Response content: application/json: - schema: *712 + schema: *717 examples: - default: *714 + default: *719 '422': *7 '404': *6 x-github: @@ -113373,8 +113684,8 @@ paths: parameters: - *472 - *473 - - *709 - - *713 + - *714 + - *718 - *17 - *19 responses: @@ -113634,8 +113945,8 @@ paths: parameters: - *472 - *473 - - *709 - - *713 + - *714 + - *718 requestBody: required: true content: @@ -113664,7 +113975,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *717 examples: default: value: @@ -113729,8 +114040,8 @@ paths: parameters: - *472 - *473 - - *709 - - *713 + - *714 + - *718 requestBody: required: true content: @@ -113765,9 +114076,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *717 examples: - default: *715 + default: *720 '404': *6 '422': *7 '403': *27 @@ -113791,7 +114102,7 @@ paths: parameters: - *472 - *473 - - *709 + - *714 requestBody: required: false content: @@ -113869,9 +114180,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *721 examples: - default: &717 + default: &722 value: type: file encoding: base64 @@ -113934,9 +114245,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *721 examples: - default: *717 + default: *722 '404': *6 '422': *15 x-github: @@ -113969,7 +114280,7 @@ paths: application/json: schema: type: array - items: *718 + items: *723 examples: default: value: @@ -114140,9 +114451,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: - default: &722 + default: &727 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -114249,7 +114560,7 @@ paths: parameters: - *472 - *473 - - &720 + - &725 name: asset_id description: The unique identifier of the asset. in: path @@ -114261,9 +114572,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *724 examples: - default: &721 + default: &726 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 @@ -114316,7 +114627,7 @@ paths: parameters: - *472 - *473 - - *720 + - *725 requestBody: required: false content: @@ -114345,9 +114656,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *724 examples: - default: *721 + default: *726 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114365,7 +114676,7 @@ paths: parameters: - *472 - *473 - - *720 + - *725 responses: '204': description: Response @@ -114484,9 +114795,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: - default: *722 + default: *727 '404': *6 x-github: githubCloudOnly: false @@ -114518,9 +114829,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: - default: *722 + default: *727 '404': *6 x-github: githubCloudOnly: false @@ -114544,7 +114855,7 @@ paths: parameters: - *472 - *473 - - &723 + - &728 name: release_id description: The unique identifier of the release. in: path @@ -114558,9 +114869,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: *718 + schema: *723 examples: - default: *722 + default: *727 '401': description: Unauthorized x-github: @@ -114580,7 +114891,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 requestBody: required: false content: @@ -114644,9 +114955,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *723 examples: - default: *722 + default: *727 '404': description: Not Found if the discussion category name is invalid content: @@ -114669,7 +114980,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 responses: '204': description: Response @@ -114692,7 +115003,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 - *17 - *19 responses: @@ -114702,7 +115013,7 @@ paths: application/json: schema: type: array - items: *719 + items: *724 examples: default: value: @@ -114786,7 +115097,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 - name: name in: query required: true @@ -114812,7 +115123,7 @@ paths: description: Response for successful upload content: application/json: - schema: *719 + schema: *724 examples: response-for-successful-upload: value: @@ -114869,7 +115180,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 - 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. @@ -114918,7 +115229,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 requestBody: required: true content: @@ -114981,7 +115292,7 @@ paths: parameters: - *472 - *473 - - *723 + - *728 - *662 responses: '204': @@ -115025,7 +115336,7 @@ paths: oneOf: - allOf: - *166 - - &724 + - &729 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -115046,67 +115357,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *724 + - *729 - allOf: - *168 - - *724 + - *729 - allOf: - *169 - - *724 + - *729 - allOf: - - *725 - - *724 + - *730 + - *729 - allOf: - *170 - - *724 + - *729 - allOf: - *171 - - *724 + - *729 - allOf: - *172 - - *724 + - *729 - allOf: - *173 - - *724 + - *729 - allOf: - *174 - - *724 + - *729 - allOf: - *175 - - *724 + - *729 - allOf: - *176 - - *724 + - *729 - allOf: - *177 - - *724 + - *729 - allOf: - *178 - - *724 + - *729 - allOf: - *179 - - *724 + - *729 - allOf: - *180 - - *724 + - *729 - allOf: - *181 - - *724 + - *729 - allOf: - *182 - - *724 + - *729 - allOf: - *183 - - *724 + - *729 - allOf: - *184 - - *724 + - *729 - allOf: - *185 - - *724 + - *729 - allOf: - *186 - - *724 + - *729 examples: default: value: @@ -115157,7 +115468,7 @@ paths: schema: type: boolean default: true - - *726 + - *731 responses: '200': description: Response @@ -115242,7 +115553,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *727 + items: *732 required: - name - enforcement @@ -115275,7 +115586,7 @@ paths: application/json: schema: *187 examples: - default: &737 + default: &742 value: id: 42 name: super cool ruleset @@ -115325,11 +115636,11 @@ paths: parameters: - *472 - *473 - - *728 + - *733 - *105 - - *729 - - *730 - - *731 + - *734 + - *735 + - *736 - *17 - *19 responses: @@ -115337,9 +115648,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *737 examples: - default: *733 + default: *738 '404': *6 '500': *38 x-github: @@ -115362,15 +115673,15 @@ paths: parameters: - *472 - *473 - - *734 + - *739 responses: '200': description: Response content: application/json: - schema: *735 + schema: *740 examples: - default: *736 + default: *741 '404': *6 '500': *38 x-github: @@ -115421,7 +115732,7 @@ paths: application/json: schema: *187 examples: - default: *737 + default: *742 '404': *6 '500': *38 put: @@ -115474,7 +115785,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *727 + items: *732 examples: default: value: @@ -115504,7 +115815,7 @@ paths: application/json: schema: *187 examples: - default: *737 + default: *742 '404': *6 '422': *15 '500': *38 @@ -115672,8 +115983,8 @@ paths: - *110 - *19 - *17 - - *738 - - *739 + - *743 + - *744 - *447 - *448 - *449 @@ -115686,7 +115997,7 @@ paths: application/json: schema: type: array - items: &743 + items: &748 type: object properties: number: *127 @@ -115702,8 +116013,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *740 - resolution: *741 + state: *745 + resolution: *746 resolved_at: type: - string @@ -115809,7 +116120,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *742 + - *747 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -115977,7 +116288,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *748 examples: default: value: @@ -116041,8 +116352,8 @@ paths: schema: type: object properties: - state: *740 - resolution: *741 + state: *745 + resolution: *746 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -116090,7 +116401,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *748 examples: default: value: @@ -116202,7 +116513,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &922 + items: &927 type: object properties: type: @@ -116229,11 +116540,6 @@ paths: - commit details: oneOf: - - *744 - - *745 - - *746 - - *747 - - *748 - *749 - *750 - *751 @@ -116242,6 +116548,11 @@ paths: - *754 - *755 - *756 + - *757 + - *758 + - *759 + - *760 + - *761 examples: default: value: @@ -116336,14 +116647,14 @@ paths: schema: type: object properties: - reason: &758 + reason: &763 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *757 + placeholder_id: *762 required: - reason - placeholder_id @@ -116360,7 +116671,7 @@ paths: schema: type: object properties: - reason: *758 + reason: *763 expire_at: type: - string @@ -116423,7 +116734,7 @@ paths: properties: incremental_scans: type: array - items: &759 + items: &764 description: Information on a single scan performed by secret scanning on the repository type: object @@ -116456,15 +116767,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *759 + items: *764 backfill_scans: type: array - items: *759 + items: *764 custom_pattern_backfill_scans: type: array items: allOf: - - *759 + - *764 - type: object properties: pattern_name: @@ -116477,7 +116788,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *759 + items: *764 examples: default: value: @@ -116587,9 +116898,9 @@ paths: application/json: schema: type: array - items: *760 + items: *765 examples: - default: *761 + default: *766 '400': *14 '404': *6 x-github: @@ -116783,9 +117094,9 @@ paths: description: Response content: application/json: - schema: *760 + schema: *765 examples: - default: &763 + default: &768 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -117132,7 +117443,7 @@ paths: description: Response content: application/json: - schema: *760 + schema: *765 examples: default: value: @@ -117281,15 +117592,15 @@ paths: parameters: - *472 - *473 - - *762 + - *767 responses: '200': description: Response content: application/json: - schema: *760 + schema: *765 examples: - default: *763 + default: *768 '403': *27 '404': *6 x-github: @@ -117315,7 +117626,7 @@ paths: parameters: - *472 - *473 - - *762 + - *767 requestBody: required: true content: @@ -117486,10 +117797,10 @@ paths: description: Response content: application/json: - schema: *760 + schema: *765 examples: - default: *763 - add_credit: *763 + default: *768 + add_credit: *768 '403': *27 '404': *6 '422': @@ -117529,7 +117840,7 @@ paths: parameters: - *472 - *473 - - *762 + - *767 responses: '202': *37 '400': *14 @@ -117558,7 +117869,7 @@ paths: parameters: - *472 - *473 - - *762 + - *767 responses: '202': description: Response @@ -117699,7 +118010,7 @@ paths: application/json: schema: type: array - items: &764 + items: &769 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -118072,7 +118383,7 @@ paths: application/json: schema: type: array - items: *764 + items: *769 examples: default: value: @@ -118162,7 +118473,7 @@ paths: description: Response content: application/json: - schema: *765 + schema: *770 examples: default: value: @@ -118256,7 +118567,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &766 + schema: &771 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -118356,7 +118667,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *771 examples: default: value: @@ -118566,7 +118877,7 @@ paths: description: Response content: application/json: - schema: &767 + schema: &772 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -118578,7 +118889,7 @@ paths: required: - names examples: - default: &768 + default: &773 value: names: - octocat @@ -118633,9 +118944,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *772 examples: - default: *768 + default: *773 '404': *6 '422': *7 x-github: @@ -118658,7 +118969,7 @@ paths: parameters: - *472 - *473 - - &769 + - &774 name: per description: The time frame to display results for. in: query @@ -118689,7 +119000,7 @@ paths: - 128 clones: type: array - items: &770 + items: &775 title: Traffic type: object properties: @@ -118937,7 +119248,7 @@ paths: parameters: - *472 - *473 - - *769 + - *774 responses: '200': description: Response @@ -118958,7 +119269,7 @@ paths: - 3782 views: type: array - items: *770 + items: *775 required: - uniques - count @@ -119630,7 +119941,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &778 + - &783 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -119640,7 +119951,7 @@ paths: type: string examples: - members - - &783 + - &788 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -119652,7 +119963,7 @@ paths: format: int32 examples: - 1 - - &784 + - &789 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -119696,7 +120007,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &773 + items: &778 allOf: - type: object required: @@ -119778,7 +120089,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: &785 + meta: &790 type: object description: The metadata associated with the creation/updates to the user. @@ -119843,30 +120154,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &774 + '400': &779 description: Bad request content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 - '401': *772 - '403': &775 + schema: *776 + '401': *777 + '403': &780 description: Permission denied - '429': &776 + '429': &781 description: Too many requests content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 - '500': &777 + schema: *776 + '500': &782 description: Internal server error content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 + schema: *776 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119890,7 +120201,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &786 type: object required: - schemas @@ -119954,9 +120265,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *773 + schema: *778 examples: - group: &779 + group: &784 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -119975,13 +120286,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': *774 - '401': *772 - '403': *775 - '409': &782 + '400': *779 + '401': *777 + '403': *780 + '409': &787 description: Duplicate record detected - '429': *776 - '500': *777 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119998,7 +120309,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: - - &780 + - &785 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -120007,22 +120318,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *778 + - *783 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *773 + schema: *778 examples: - default: *779 - '400': *774 - '401': *772 - '403': *775 + default: *784 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '429': *776 - '500': *777 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120041,13 +120352,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: - - *780 + - *785 - *39 requestBody: required: true content: application/json: - schema: *781 + schema: *786 examples: group: summary: Group @@ -120073,17 +120384,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *773 + schema: *778 examples: - group: *779 - groupWithMembers: *779 - '400': *774 - '401': *772 - '403': *775 + group: *784 + groupWithMembers: *784 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *787 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120107,13 +120418,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: - - *780 + - *785 - *39 requestBody: required: true content: application/json: - schema: &792 + schema: &797 type: object required: - Operations @@ -120173,17 +120484,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *773 + schema: *778 examples: - updateGroup: *779 - addMembers: *779 - '400': *774 - '401': *772 - '403': *775 + updateGroup: *784 + addMembers: *784 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *787 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120199,17 +120510,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: - - *780 + - *785 - *39 responses: '204': description: Group was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '429': *776 - '500': *777 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120243,8 +120554,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *783 - - *784 + - *788 + - *789 - *39 responses: '200': @@ -120278,7 +120589,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &787 + items: &792 allOf: - type: object required: @@ -120370,7 +120681,7 @@ paths: address. examples: - true - roles: &786 + roles: &791 type: array description: The roles assigned to the user. items: @@ -120429,7 +120740,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *785 + meta: *790 startIndex: type: integer description: A starting index for the returned page @@ -120468,11 +120779,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *774 - '401': *772 - '403': *775 - '429': *776 - '500': *777 + '400': *779 + '401': *777 + '403': *780 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120496,7 +120807,7 @@ paths: required: true content: application/json: - schema: &790 + schema: &795 type: object required: - schemas @@ -120589,9 +120900,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *786 + roles: *791 examples: - user: &791 + user: &796 summary: User value: schemas: @@ -120638,9 +120949,9 @@ paths: description: User has been created content: application/scim+json: - schema: *787 + schema: *792 examples: - user: &788 + user: &793 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -120666,13 +120977,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: *788 - '400': *774 - '401': *772 - '403': *775 - '409': *782 - '429': *776 - '500': *777 + enterpriseOwner: *793 + '400': *779 + '401': *777 + '403': *780 + '409': *787 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120689,7 +121000,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: - - &789 + - &794 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -120702,15 +121013,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *787 + schema: *792 examples: - default: *788 - '400': *774 - '401': *772 - '403': *775 + default: *793 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '429': *776 - '500': *777 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120761,30 +121072,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: - - *789 + - *794 - *39 requestBody: required: true content: application/json: - schema: *790 + schema: *795 examples: - user: *791 + user: *796 responses: '200': description: User was updated content: application/scim+json: - schema: *787 + schema: *792 examples: - user: *788 - '400': *774 - '401': *772 - '403': *775 + user: *793 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *787 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120825,13 +121136,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: - - *789 + - *794 - *39 requestBody: required: true content: application/json: - schema: *792 + schema: *797 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -120871,18 +121182,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *787 - examples: - userMultiValuedProperties: *788 - userSingleValuedProperties: *788 - disableUser: *788 - '400': *774 - '401': *772 - '403': *775 + schema: *792 + examples: + userMultiValuedProperties: *793 + userSingleValuedProperties: *793 + disableUser: *793 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *787 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -120902,17 +121213,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: - - *789 + - *794 - *39 responses: '204': description: User was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *779 + '401': *777 + '403': *780 '404': *6 - '429': *776 - '500': *777 + '429': *781 + '500': *782 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -121003,7 +121314,7 @@ paths: - 1 Resources: type: array - items: &793 + items: &798 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -121250,22 +121561,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': *35 - '404': &794 + '404': &799 description: Resource not found content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 - '403': &795 + schema: *776 + '403': &800 description: Forbidden content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 - '400': *774 - '429': *776 + schema: *776 + '400': *779 + '429': *781 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -121291,9 +121602,9 @@ paths: description: Response content: application/scim+json: - schema: *793 + schema: *798 examples: - default: &796 + default: &801 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -121316,17 +121627,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': *35 - '404': *794 - '403': *795 - '500': *777 + '404': *799 + '403': *800 + '500': *782 '409': description: Conflict content: application/json: - schema: *771 + schema: *776 application/scim+json: - schema: *771 - '400': *774 + schema: *776 + '400': *779 requestBody: required: true content: @@ -121426,17 +121737,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *789 + - *794 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *798 examples: - default: *796 - '404': *794 - '403': *795 + default: *801 + '404': *799 + '403': *800 '304': *35 x-github: githubCloudOnly: true @@ -121460,18 +121771,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *789 + - *794 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *798 examples: - default: *796 + default: *801 '304': *35 - '404': *794 - '403': *795 + '404': *799 + '403': *800 requestBody: required: true content: @@ -121586,19 +121897,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *789 + - *794 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *798 examples: - default: *796 + default: *801 '304': *35 - '404': *794 - '403': *795 - '400': *774 + '404': *799 + '403': *800 + '400': *779 '429': description: Response content: @@ -121694,12 +122005,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *789 + - *794 responses: '204': description: Response - '404': *794 - '403': *795 + '404': *799 + '403': *800 '304': *35 x-github: githubCloudOnly: true @@ -121836,7 +122147,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &797 + text_matches: &802 title: Search Result Text Matches type: array items: @@ -122000,7 +122311,7 @@ paths: enum: - author-date - committer-date - - &798 + - &803 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 @@ -122120,7 +122431,7 @@ paths: type: number node_id: type: string - text_matches: *797 + text_matches: *802 required: - sha - node_id @@ -122313,7 +122624,7 @@ paths: - interactions - created - updated - - *798 + - *803 - *17 - *19 - name: advanced_search @@ -122427,11 +122738,11 @@ paths: type: - string - 'null' - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: type: string state_reason: @@ -122459,7 +122770,7 @@ paths: - string - 'null' format: date-time - text_matches: *797 + text_matches: *802 pull_request: type: object properties: @@ -122735,7 +123046,7 @@ paths: enum: - created - updated - - *798 + - *803 - *17 - *19 responses: @@ -122780,7 +123091,7 @@ paths: - 'null' score: type: number - text_matches: *797 + text_matches: *802 required: - id - node_id @@ -122866,7 +123177,7 @@ paths: - forks - help-wanted-issues - updated - - *798 + - *803 - *17 - *19 responses: @@ -123112,7 +123423,7 @@ paths: - admin - pull - push - text_matches: *797 + text_matches: *802 temp_clone_token: type: string allow_merge_commit: @@ -123421,7 +123732,7 @@ paths: - string - 'null' format: uri - text_matches: *797 + text_matches: *802 related: type: - array @@ -123616,7 +123927,7 @@ paths: - followers - repositories - joined - - *798 + - *803 - *17 - *19 responses: @@ -123726,7 +124037,7 @@ paths: type: - boolean - 'null' - text_matches: *797 + text_matches: *802 blog: type: - string @@ -123808,7 +124119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &801 + - &806 name: team_id description: The unique identifier of the team. in: path @@ -123849,7 +124160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *801 + - *806 requestBody: required: true content: @@ -123950,7 +124261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *801 + - *806 responses: '204': description: Response @@ -123979,7 +124290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *801 + - *806 - *17 - *19 responses: @@ -124017,7 +124328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *801 + - *806 - name: role description: Filters members returned by their role in the team. in: query @@ -124068,7 +124379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *801 + - *806 - *140 responses: '204': @@ -124105,7 +124416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *801 + - *806 - *140 responses: '204': @@ -124145,7 +124456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *801 + - *806 - *140 responses: '204': @@ -124182,7 +124493,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: - - *801 + - *806 - *140 responses: '200': @@ -124191,7 +124502,7 @@ paths: application/json: schema: *471 examples: - response-if-user-is-a-team-maintainer: *802 + response-if-user-is-a-team-maintainer: *807 '404': *6 x-github: githubCloudOnly: false @@ -124224,7 +124535,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: - - *801 + - *806 - *140 requestBody: required: false @@ -124252,7 +124563,7 @@ paths: application/json: schema: *471 examples: - response-if-users-membership-with-team-is-now-pending: *803 + response-if-users-membership-with-team-is-now-pending: *808 '403': description: Forbidden if team synchronization is set up '422': @@ -124286,7 +124597,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: - - *801 + - *806 - *140 responses: '204': @@ -124314,7 +124625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *801 + - *806 - *17 - *19 responses: @@ -124356,7 +124667,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: - - *801 + - *806 - *472 - *473 responses: @@ -124364,7 +124675,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *804 + schema: *809 examples: alternative-response-with-extra-repository-information: value: @@ -124515,7 +124826,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: - - *801 + - *806 - *472 - *473 requestBody: @@ -124567,7 +124878,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: - - *801 + - *806 - *472 - *473 responses: @@ -124598,7 +124909,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: - - *801 + - *806 responses: '200': description: Response @@ -124633,7 +124944,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: - - *801 + - *806 requestBody: required: true content: @@ -124725,7 +125036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *801 + - *806 - *17 - *19 responses: @@ -124737,7 +125048,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *805 + response-if-child-teams-exist: *810 headers: Link: *45 '404': *6 @@ -124770,7 +125081,7 @@ paths: application/json: schema: oneOf: - - &807 + - &812 title: Private User description: Private User type: object @@ -125020,7 +125331,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *806 + - *811 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -125180,7 +125491,7 @@ paths: description: Response content: application/json: - schema: *807 + schema: *812 examples: default: value: @@ -125578,7 +125889,7 @@ paths: type: integer secrets: type: array - items: &808 + items: &813 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -125698,7 +126009,7 @@ paths: description: Response content: application/json: - schema: *808 + schema: *813 examples: default: value: @@ -126111,7 +126422,7 @@ paths: description: Response content: application/json: - schema: &809 + schema: &814 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -126164,7 +126475,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &810 + default: &815 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -126209,9 +126520,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *814 examples: - default: *810 + default: *815 '404': *6 x-github: githubCloudOnly: false @@ -126250,7 +126561,7 @@ paths: type: array items: *575 examples: - default: *811 + default: *816 '304': *35 '500': *38 '401': *23 @@ -127216,7 +127527,7 @@ paths: type: array items: *401 examples: - default: &822 + default: &827 value: - id: 197 name: hello_docker @@ -127317,7 +127628,7 @@ paths: application/json: schema: type: array - items: &812 + items: &817 title: Email description: Email type: object @@ -127387,9 +127698,9 @@ paths: application/json: schema: type: array - items: *812 + items: *817 examples: - default: &824 + default: &829 value: - email: octocat@github.com verified: true @@ -127466,7 +127777,7 @@ paths: application/json: schema: type: array - items: *812 + items: *817 examples: default: value: @@ -127724,7 +128035,7 @@ paths: application/json: schema: type: array - items: &813 + items: &818 title: GPG Key description: A unique encryption key type: object @@ -127869,7 +128180,7 @@ paths: - subkeys - revoked examples: - default: &841 + default: &846 value: - id: 3 name: Octocat's GPG Key @@ -127954,9 +128265,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *818 examples: - default: &814 + default: &819 value: id: 3 name: Octocat's GPG Key @@ -128013,7 +128324,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: - - &815 + - &820 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -128025,9 +128336,9 @@ paths: description: Response content: application/json: - schema: *813 + schema: *818 examples: - default: *814 + default: *819 '404': *6 '304': *35 '403': *27 @@ -128050,7 +128361,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: - - *815 + - *820 responses: '204': description: Response @@ -128517,7 +128828,7 @@ paths: application/json: schema: type: array - items: &816 + items: &821 title: Key description: Key type: object @@ -128620,9 +128931,9 @@ paths: description: Response content: application/json: - schema: *816 + schema: *821 examples: - default: &817 + default: &822 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -128655,15 +128966,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: - - *687 + - *692 responses: '200': description: Response content: application/json: - schema: *816 + schema: *821 examples: - default: *817 + default: *822 '404': *6 '304': *35 '403': *27 @@ -128686,7 +128997,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: - - *687 + - *692 responses: '204': description: Response @@ -128719,7 +129030,7 @@ paths: application/json: schema: type: array - items: &818 + items: &823 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -128798,7 +129109,7 @@ paths: - account - plan examples: - default: &819 + default: &824 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -128860,9 +129171,9 @@ paths: application/json: schema: type: array - items: *818 + items: *823 examples: - default: *819 + default: *824 headers: Link: *45 '304': *35 @@ -129880,7 +130191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - *397 - - *820 + - *825 responses: '204': description: Response @@ -129995,7 +130306,7 @@ paths: - docker - nuget - container - - *821 + - *826 - *19 - *17 responses: @@ -130007,8 +130318,8 @@ paths: type: array items: *401 examples: - default: *822 - '400': *823 + default: *827 + '400': *828 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -130037,7 +130348,7 @@ paths: application/json: schema: *401 examples: - default: &842 + default: &847 value: id: 40201 name: octo-name @@ -130399,9 +130710,9 @@ paths: application/json: schema: type: array - items: *812 + items: *817 examples: - default: *824 + default: *829 headers: Link: *45 '304': *35 @@ -130514,7 +130825,7 @@ paths: type: array items: *78 examples: - default: &831 + default: &836 summary: Default response value: - id: 1296269 @@ -130874,7 +131185,7 @@ paths: type: array items: *657 examples: - default: *825 + default: *830 headers: Link: *45 '304': *35 @@ -130953,7 +131264,7 @@ paths: application/json: schema: type: array - items: &826 + items: &831 title: Social account description: Social media account type: object @@ -130970,7 +131281,7 @@ paths: - provider - url examples: - default: &827 + default: &832 value: - provider: twitter url: https://twitter.com/github @@ -131033,9 +131344,9 @@ paths: application/json: schema: type: array - items: *826 + items: *831 examples: - default: *827 + default: *832 '422': *15 '304': *35 '404': *6 @@ -131123,7 +131434,7 @@ paths: application/json: schema: type: array - items: &828 + items: &833 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -131143,7 +131454,7 @@ paths: - title - created_at examples: - default: &856 + default: &861 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131208,9 +131519,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *833 examples: - default: &829 + default: &834 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -131240,7 +131551,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: - - &830 + - &835 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -131252,9 +131563,9 @@ paths: description: Response content: application/json: - schema: *828 + schema: *833 examples: - default: *829 + default: *834 '404': *6 '304': *35 '403': *27 @@ -131277,7 +131588,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: - - *830 + - *835 responses: '204': description: Response @@ -131306,7 +131617,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: - - &857 + - &862 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 @@ -131331,11 +131642,11 @@ paths: type: array items: *78 examples: - default-response: *831 + default-response: *836 application/vnd.github.v3.star+json: schema: type: array - items: &858 + items: &863 title: Starred Repository description: Starred Repository type: object @@ -131704,10 +132015,10 @@ paths: application/json: schema: oneOf: - - *807 - - *806 + - *812 + - *811 examples: - default-response: &835 + default-response: &840 summary: Default response value: login: octocat @@ -131742,7 +132053,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &836 + response-with-git-hub-plan-information: &841 summary: Response with GitHub plan information value: login: octocat @@ -131799,7 +132110,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: - - &833 + - &838 name: user_id description: The unique identifier of the user. in: path @@ -131865,7 +132176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *832 + - *837 - *17 responses: '200': @@ -131900,7 +132211,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: - - *833 + - *838 - *419 requestBody: required: true @@ -131975,7 +132286,7 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *834 + schema: *839 examples: table_view: summary: Response for creating a table view @@ -132027,11 +132338,11 @@ paths: application/json: schema: oneOf: - - *807 - - *806 + - *812 + - *811 examples: - default-response: *835 - response-with-git-hub-plan-information: *836 + default-response: *840 + response-with-git-hub-plan-information: *841 '404': *6 x-github: githubCloudOnly: false @@ -132081,8 +132392,8 @@ paths: required: - subject_digests examples: - default: *837 - withPredicateType: *838 + default: *842 + withPredicateType: *843 responses: '200': description: Response @@ -132136,7 +132447,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *839 + default: *844 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -132625,7 +132936,7 @@ paths: application/json: schema: *328 examples: - default: &840 + default: &845 summary: Example response for a user copilot space value: id: 42 @@ -132726,7 +133037,7 @@ paths: application/json: schema: *328 examples: - default: *840 + default: *845 '403': *27 '404': *6 x-github: @@ -132852,7 +133163,7 @@ paths: application/json: schema: *328 examples: - default: *840 + default: *845 '403': *27 '404': *6 '422': *15 @@ -133620,7 +133931,7 @@ paths: type: array items: *401 examples: - default: *822 + default: *827 '403': *27 '401': *23 x-github: @@ -134004,9 +134315,9 @@ paths: application/json: schema: type: array - items: *813 + items: *818 examples: - default: *841 + default: *846 headers: Link: *45 x-github: @@ -134235,7 +134546,7 @@ paths: - docker - nuget - container - - *821 + - *826 - *140 - *19 - *17 @@ -134248,10 +134559,10 @@ paths: type: array items: *401 examples: - default: *822 + default: *827 '403': *27 '401': *23 - '400': *823 + '400': *828 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134281,7 +134592,7 @@ paths: application/json: schema: *401 examples: - default: *842 + default: *847 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -134630,7 +134941,7 @@ paths: type: array items: *422 examples: - default: *843 + default: *848 headers: Link: *45 '304': *35 @@ -134690,7 +135001,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *844 + items: *849 required: - name - data_type @@ -134706,7 +135017,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *845 + iteration_configuration: *850 required: - name - data_type @@ -134728,8 +135039,8 @@ paths: value: name: Due date data_type: date - single_select_field: *846 - iteration_field: *847 + single_select_field: *851 + iteration_field: *852 responses: '201': description: Response @@ -134737,11 +135048,11 @@ paths: application/json: schema: *422 examples: - text_field: *848 - number_field: *849 - date_field: *850 - single_select_field: *851 - iteration_field: *852 + text_field: *853 + number_field: *854 + date_field: *855 + single_select_field: *856 + iteration_field: *857 '304': *35 '403': *27 '401': *23 @@ -134763,7 +135074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - *419 - - *853 + - *858 - *140 responses: '200': @@ -134772,7 +135083,7 @@ paths: application/json: schema: *422 examples: - default: *854 + default: *859 headers: Link: *45 '304': *35 @@ -135129,7 +135440,7 @@ paths: parameters: - *419 - *140 - - *855 + - *860 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -135408,9 +135719,9 @@ paths: application/json: schema: type: array - items: *826 + items: *831 examples: - default: *827 + default: *832 headers: Link: *45 x-github: @@ -135440,9 +135751,9 @@ paths: application/json: schema: type: array - items: *828 + items: *833 examples: - default: *856 + default: *861 headers: Link: *45 x-github: @@ -135467,7 +135778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *857 + - *862 - *110 - *17 - *19 @@ -135479,11 +135790,11 @@ paths: schema: anyOf: - type: array - items: *858 + items: *863 - type: array items: *78 examples: - default-response: *831 + default-response: *836 headers: Link: *45 x-github: @@ -135643,7 +135954,7 @@ webhooks: type: string enum: - disabled - enterprise: &859 + enterprise: &864 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -135712,7 +136023,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &860 + installation: &865 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -135733,7 +136044,7 @@ webhooks: required: - id - node_id - organization: &861 + organization: &866 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -135806,7 +136117,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &862 + repository: &867 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -136732,10 +137043,10 @@ webhooks: type: string enum: - enabled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -136811,11 +137122,11 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: &863 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + rule: &868 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) @@ -137038,11 +137349,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + rule: *868 sender: *4 required: - action @@ -137230,11 +137541,11 @@ webhooks: - everyone required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - rule: *863 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + rule: *868 sender: *4 required: - action @@ -137307,7 +137618,7 @@ webhooks: required: true content: application/json: - schema: &883 + schema: &888 title: Exemption request cancellation event type: object properties: @@ -137315,11 +137626,11 @@ webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: &864 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + exemption_request: &869 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -137628,7 +137939,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &865 + items: &870 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -137740,7 +138051,7 @@ webhooks: required: true content: application/json: - schema: &884 + schema: &889 title: Exemption request completed event type: object properties: @@ -137748,11 +138059,11 @@ webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + exemption_request: *869 sender: *4 required: - action @@ -137824,7 +138135,7 @@ webhooks: required: true content: application/json: - schema: &881 + schema: &886 title: Exemption request created event type: object properties: @@ -137832,11 +138143,11 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + exemption_request: *869 sender: *4 required: - action @@ -137908,7 +138219,7 @@ webhooks: required: true content: application/json: - schema: &885 + schema: &890 title: Exemption response dismissed event type: object properties: @@ -137916,12 +138227,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + exemption_request: *869 + exemption_response: *870 sender: *4 required: - action @@ -137995,7 +138306,7 @@ webhooks: required: true content: application/json: - schema: &882 + schema: &887 title: Exemption response submitted event type: object properties: @@ -138003,12 +138314,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - exemption_request: *864 - exemption_response: *865 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + exemption_request: *869 + exemption_response: *870 sender: *4 required: - action @@ -138092,7 +138403,7 @@ webhooks: type: string enum: - completed - check_run: &867 + check_run: &872 title: CheckRun description: A check performed on the code of a given code change type: object @@ -138202,7 +138513,7 @@ webhooks: - examples: - neutral - deployment: *866 + deployment: *871 details_url: type: string examples: @@ -138300,10 +138611,10 @@ webhooks: - output - app - pull_requests - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + installation: *865 + enterprise: *864 + organization: *866 + repository: *867 sender: *4 required: - check_run @@ -138694,11 +139005,11 @@ webhooks: type: string enum: - created - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *872 + installation: *865 + enterprise: *864 + organization: *866 + repository: *867 sender: *4 required: - check_run @@ -139092,11 +139403,11 @@ webhooks: type: string enum: - requested_action - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *872 + installation: *865 + enterprise: *864 + organization: *866 + repository: *867 requested_action: description: The action requested by the user. type: object @@ -139499,11 +139810,11 @@ webhooks: type: string enum: - rerequested - check_run: *867 - installation: *860 - enterprise: *859 - organization: *861 - repository: *862 + check_run: *872 + installation: *865 + enterprise: *864 + organization: *866 + repository: *867 sender: *4 required: - check_run @@ -140488,10 +140799,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -141205,10 +141516,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -141916,10 +142227,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -142240,20 +142551,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &868 + commit_oid: &873 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: *859 - installation: *860 - organization: *861 - ref: &869 + enterprise: *864 + installation: *865 + organization: *866 + ref: &874 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: *862 + repository: *867 sender: *4 required: - action @@ -142661,12 +142972,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *873 + enterprise: *864 + installation: *865 + organization: *866 + ref: *874 + repository: *867 sender: *4 required: - action @@ -142949,12 +143260,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *873 + enterprise: *864 + installation: *865 + organization: *866 + ref: *874 + repository: *867 sender: *4 required: - action @@ -143300,12 +143611,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *873 + enterprise: *864 + installation: *865 + organization: *866 + ref: *874 + repository: *867 sender: *4 required: - action @@ -143595,9 +143906,9 @@ webhooks: type: - string - 'null' - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -143605,7 +143916,7 @@ webhooks: type: - string - 'null' - repository: *862 + repository: *867 sender: *4 required: - action @@ -143851,12 +144162,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *868 - enterprise: *859 - installation: *860 - organization: *861 - ref: *869 - repository: *862 + commit_oid: *873 + enterprise: *864 + installation: *865 + organization: *866 + ref: *874 + repository: *867 sender: *4 required: - action @@ -144177,10 +144488,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -144440,10 +144751,10 @@ webhooks: - updated_at - author_association - body - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -144524,18 +144835,18 @@ webhooks: type: - string - 'null' - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *861 - pusher_type: &870 + organization: *866 + pusher_type: &875 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &871 + ref: &876 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -144545,7 +144856,7 @@ webhooks: enum: - tag - branch - repository: *862 + repository: *867 sender: *4 required: - ref @@ -144628,9 +144939,9 @@ webhooks: enum: - created definition: *153 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 required: - action @@ -144715,9 +145026,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 required: - action @@ -144795,9 +145106,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 required: - action @@ -144875,9 +145186,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 required: - action @@ -144954,10 +145265,10 @@ webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - repository: *862 - organization: *861 + enterprise: *864 + installation: *865 + repository: *867 + organization: *866 sender: *4 new_property_values: type: array @@ -145042,18 +145353,18 @@ webhooks: title: delete event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - pusher_type: *870 - ref: *871 + enterprise: *864 + installation: *865 + organization: *866 + pusher_type: *875 + ref: *876 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *862 + repository: *867 sender: *4 required: - ref @@ -145134,10 +145445,10 @@ webhooks: enum: - assignees_changed alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145218,10 +145529,10 @@ webhooks: enum: - auto_dismissed alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145303,10 +145614,10 @@ webhooks: enum: - auto_reopened alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145388,10 +145699,10 @@ webhooks: enum: - created alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145471,10 +145782,10 @@ webhooks: enum: - dismissed alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145554,10 +145865,10 @@ webhooks: enum: - fixed alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145638,10 +145949,10 @@ webhooks: enum: - reintroduced alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145721,10 +146032,10 @@ webhooks: enum: - reopened alert: *606 - installation: *860 - organization: *861 - enterprise: *859 - repository: *862 + installation: *865 + organization: *866 + enterprise: *864 + repository: *867 sender: *4 required: - action @@ -145801,9 +146112,9 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - key: &872 + enterprise: *864 + installation: *865 + key: &877 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -145841,8 +146152,8 @@ webhooks: - verified - created_at - read_only - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -145919,11 +146230,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - key: *872 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + key: *877 + organization: *866 + repository: *867 sender: *4 required: - action @@ -146490,12 +146801,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - workflow: &876 + workflow: &881 title: Workflow type: - object @@ -147249,10 +147560,10 @@ webhooks: - *613 pull_requests: type: array - items: *707 - repository: *862 - organization: *861 - installation: *860 + items: *712 + repository: *867 + organization: *866 + installation: *865 sender: *4 responses: '200': @@ -147323,7 +147634,7 @@ webhooks: type: string enum: - approved - approver: &873 + approver: &878 type: object properties: avatar_url: @@ -147366,11 +147677,11 @@ webhooks: type: string comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: &874 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + reviewers: &879 type: array items: type: object @@ -147451,7 +147762,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &875 + workflow_job_run: &880 type: object properties: conclusion: @@ -148197,18 +148508,18 @@ webhooks: type: string enum: - rejected - approver: *873 + approver: *878 comment: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - reviewers: *874 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + reviewers: *879 sender: *4 since: type: string - workflow_job_run: *875 + workflow_job_run: *880 workflow_job_runs: type: array items: @@ -148925,13 +149236,13 @@ webhooks: type: string enum: - requested - enterprise: *859 + enterprise: *864 environment: type: string - installation: *860 - organization: *861 - repository: *862 - requestor: &886 + installation: *865 + organization: *866 + repository: *867 + requestor: &891 title: User type: - object @@ -150864,12 +151175,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - workflow: *876 + workflow: *881 workflow_run: title: Deployment Workflow Run type: @@ -151560,7 +151871,7 @@ webhooks: type: string enum: - answered - answer: &879 + answer: &884 type: object properties: author_association: @@ -151720,11 +152031,11 @@ webhooks: - created_at - updated_at - body - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -151851,11 +152162,11 @@ webhooks: - from required: - category - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -151938,11 +152249,11 @@ webhooks: type: string enum: - closed - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152024,7 +152335,7 @@ webhooks: type: string enum: - created - comment: &878 + comment: &883 type: object properties: author_association: @@ -152184,11 +152495,11 @@ webhooks: - updated_at - body - reactions - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152271,12 +152582,12 @@ webhooks: type: string enum: - deleted - comment: *878 - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *883 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152371,12 +152682,12 @@ webhooks: - from required: - body - comment: *878 - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + comment: *883 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152460,11 +152771,11 @@ webhooks: type: string enum: - created - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152546,11 +152857,11 @@ webhooks: type: string enum: - deleted - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152650,11 +152961,11 @@ webhooks: type: string required: - from - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152736,10 +153047,10 @@ webhooks: type: string enum: - labeled - discussion: *877 - enterprise: *859 - installation: *860 - label: &880 + discussion: *882 + enterprise: *864 + installation: *865 + label: &885 title: Label type: object properties: @@ -152772,8 +153083,8 @@ webhooks: - color - default - description - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152856,11 +153167,11 @@ webhooks: type: string enum: - locked - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -152942,11 +153253,11 @@ webhooks: type: string enum: - pinned - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153028,11 +153339,11 @@ webhooks: type: string enum: - reopened - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153117,16 +153428,16 @@ webhooks: changes: type: object properties: - new_discussion: *877 - new_repository: *862 + new_discussion: *882 + new_repository: *867 required: - new_discussion - new_repository - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153209,10 +153520,10 @@ webhooks: type: string enum: - unanswered - discussion: *877 - old_answer: *879 - organization: *861 - repository: *862 + discussion: *882 + old_answer: *884 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153294,12 +153605,12 @@ webhooks: type: string enum: - unlabeled - discussion: *877 - enterprise: *859 - installation: *860 - label: *880 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153382,11 +153693,11 @@ webhooks: type: string enum: - unlocked - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153468,11 +153779,11 @@ webhooks: type: string enum: - unpinned - discussion: *877 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + discussion: *882 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -153541,7 +153852,7 @@ webhooks: required: true content: application/json: - schema: *881 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153604,7 +153915,7 @@ webhooks: required: true content: application/json: - schema: *882 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153667,7 +153978,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153730,7 +154041,7 @@ webhooks: required: true content: application/json: - schema: *881 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153793,7 +154104,7 @@ webhooks: required: true content: application/json: - schema: *882 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153859,7 +154170,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153925,7 +154236,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153991,7 +154302,7 @@ webhooks: required: true content: application/json: - schema: *881 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154057,7 +154368,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *890 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154123,7 +154434,7 @@ webhooks: required: true content: application/json: - schema: *882 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154188,7 +154499,7 @@ webhooks: required: true content: application/json: - schema: *883 + schema: *888 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154253,7 +154564,7 @@ webhooks: required: true content: application/json: - schema: *884 + schema: *889 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154318,7 +154629,7 @@ webhooks: required: true content: application/json: - schema: *881 + schema: *886 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154383,7 +154694,7 @@ webhooks: required: true content: application/json: - schema: *885 + schema: *890 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154449,7 +154760,7 @@ webhooks: required: true content: application/json: - schema: *882 + schema: *887 responses: '200': description: Return a 200 status to indicate that the data was received @@ -154516,7 +154827,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *859 + enterprise: *864 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -155194,9 +155505,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - forkee @@ -155342,9 +155653,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pages: description: The pages that were updated. type: array @@ -155382,7 +155693,7 @@ webhooks: - action - sha - html_url - repository: *862 + repository: *867 sender: *4 required: - pages @@ -155458,10 +155769,10 @@ webhooks: type: string enum: - created - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories: &887 + organization: *866 + repositories: &892 description: An array of repository objects that the installation can access. type: array @@ -155487,8 +155798,8 @@ webhooks: - name - full_name - private - repository: *862 - requester: *886 + repository: *867 + requester: *891 sender: *4 required: - action @@ -155563,11 +155874,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories: *887 - repository: *862 + organization: *866 + repositories: *892 + repository: *867 requester: type: - 'null' @@ -155644,11 +155955,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories: *887 - repository: *862 + organization: *866 + repositories: *892 + repository: *867 requester: type: - 'null' @@ -155725,10 +156036,10 @@ webhooks: type: string enum: - added - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories_added: &888 + organization: *866 + repositories_added: &893 description: An array of repository objects, which were added to the installation. type: array @@ -155774,15 +156085,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *862 - repository_selection: &889 + repository: *867 + repository_selection: &894 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *886 + requester: *891 sender: *4 required: - action @@ -155861,10 +156172,10 @@ webhooks: type: string enum: - removed - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories_added: *888 + organization: *866 + repositories_added: *893 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -155891,9 +156202,9 @@ webhooks: - name - full_name - private - repository: *862 - repository_selection: *889 - requester: *886 + repository: *867 + repository_selection: *894 + requester: *891 sender: *4 required: - action @@ -155972,11 +156283,11 @@ webhooks: type: string enum: - suspend - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories: *887 - repository: *862 + organization: *866 + repositories: *892 + repository: *867 requester: type: - 'null' @@ -156159,10 +156470,10 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 target_type: type: string @@ -156241,11 +156552,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *859 + enterprise: *864 installation: *20 - organization: *861 - repositories: *887 - repository: *862 + organization: *866 + repositories: *892 + repository: *867 requester: type: - 'null' @@ -156411,7 +156722,11 @@ webhooks: pin: anyOf: - type: 'null' - - *684 + - *685 + minimized: + anyOf: + - type: 'null' + - *686 user: title: User type: @@ -156497,8 +156812,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157310,8 +157625,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157672,8 +157987,8 @@ webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -157753,7 +158068,7 @@ webhooks: type: string enum: - deleted - comment: &890 + comment: &895 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -157910,7 +158225,11 @@ webhooks: pin: anyOf: - type: 'null' - - *684 + - *685 + minimized: + anyOf: + - type: 'null' + - *686 required: - url - html_url @@ -157924,8 +158243,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158733,8 +159052,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159097,8 +159416,8 @@ webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -159178,7 +159497,7 @@ webhooks: type: string enum: - edited - changes: &914 + changes: &919 description: The changes to the comment. type: object properties: @@ -159190,9 +159509,9 @@ webhooks: type: string required: - from - comment: *890 - enterprise: *859 - installation: *860 + comment: *895 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160003,8 +160322,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160365,8 +160684,8 @@ webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -160447,9 +160766,9 @@ webhooks: type: string enum: - pinned - comment: *890 - enterprise: *859 - installation: *860 + comment: *895 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161262,8 +161581,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161626,8 +161945,8 @@ webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -161707,9 +162026,9 @@ webhooks: type: string enum: - unpinned - comment: *890 - enterprise: *859 - installation: *860 + comment: *895 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -162522,8 +162841,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162886,8 +163205,8 @@ webhooks: - state - locked - assignee - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -162976,9 +163295,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -163067,9 +163386,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *78 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -163157,9 +163476,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -163248,9 +163567,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -163330,10 +163649,10 @@ webhooks: type: string enum: - assigned - assignee: *886 - enterprise: *859 - installation: *860 - issue: &891 + assignee: *891 + enterprise: *864 + installation: *865 + issue: &896 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -164144,11 +164463,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164268,8 +164587,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -164349,8 +164668,8 @@ webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -165166,11 +165485,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165433,8 +165752,8 @@ webhooks: required: - state - closed_at - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -165513,8 +165832,8 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166321,11 +166640,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166444,8 +166763,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -166524,8 +166843,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167355,11 +167674,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167457,7 +167776,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &892 + milestone: &897 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167600,8 +167919,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -167700,8 +168019,8 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168512,11 +168831,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168636,9 +168955,9 @@ webhooks: - active_lock_reason - body - reactions - label: *880 - organization: *861 - repository: *862 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -168718,9 +169037,9 @@ webhooks: type: string enum: - field_added - enterprise: *859 - installation: *860 - issue: *891 + enterprise: *864 + installation: *865 + issue: *896 issue_field: type: object description: The issue field whose value was set or updated on the @@ -168886,8 +169205,8 @@ webhooks: - id required: - from - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -168967,9 +169286,9 @@ webhooks: type: string enum: - field_removed - enterprise: *859 - installation: *860 - issue: *891 + enterprise: *864 + installation: *865 + issue: *896 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -169056,8 +169375,8 @@ webhooks: - 'null' required: - id - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -169137,8 +169456,8 @@ webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169948,11 +170267,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170072,9 +170391,9 @@ webhooks: - active_lock_reason - body - reactions - label: *880 - organization: *861 - repository: *862 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -170154,8 +170473,8 @@ webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170990,11 +171309,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171091,8 +171410,8 @@ webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -171171,8 +171490,8 @@ webhooks: type: string enum: - milestoned - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172001,11 +172320,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172102,9 +172421,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *892 - organization: *861 - repository: *862 + milestone: *897 + organization: *866 + repository: *867 sender: *4 required: - action @@ -172991,11 +173310,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173587,8 +173906,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174395,11 +174714,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174522,8 +174841,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -174603,9 +174922,9 @@ webhooks: type: string enum: - pinned - enterprise: *859 - installation: *860 - issue: &893 + enterprise: *864 + installation: *865 + issue: &898 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -175410,11 +175729,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175533,8 +175852,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -175613,8 +175932,8 @@ webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176447,11 +176766,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176549,8 +176868,8 @@ webhooks: user_view_type: type: string type: *386 - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -177438,11 +177757,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178052,11 +178371,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *859 - installation: *860 - issue: *893 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + issue: *898 + organization: *866 + repository: *867 sender: *4 required: - action @@ -178136,12 +178455,12 @@ webhooks: type: string enum: - typed - enterprise: *859 - installation: *860 - issue: *891 + enterprise: *864 + installation: *865 + issue: *896 type: *386 - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -178222,7 +178541,7 @@ webhooks: type: string enum: - unassigned - assignee: &917 + assignee: &922 title: User type: - object @@ -178294,11 +178613,11 @@ webhooks: required: - login - id - enterprise: *859 - installation: *860 - issue: *891 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + issue: *896 + organization: *866 + repository: *867 sender: *4 required: - action @@ -178377,12 +178696,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - issue: *891 - label: *880 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + issue: *896 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -178462,8 +178781,8 @@ webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179296,11 +179615,11 @@ webhooks: anyOf: - type: 'null' - *219 - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *804 + issue_dependencies_summary: *805 issue_field_values: type: array - items: *668 + items: *669 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179397,8 +179716,8 @@ webhooks: format: uri user_view_type: type: string - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179478,11 +179797,11 @@ webhooks: type: string enum: - unpinned - enterprise: *859 - installation: *860 - issue: *893 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + issue: *898 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179561,12 +179880,12 @@ webhooks: type: string enum: - untyped - enterprise: *859 - installation: *860 - issue: *891 + enterprise: *864 + installation: *865 + issue: *896 type: *386 - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179646,11 +179965,11 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - label: *880 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179728,11 +180047,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - label: *880 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179842,11 +180161,11 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - label: *880 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + label: *885 + organization: *866 + repository: *867 sender: *4 required: - action @@ -179928,9 +180247,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: &894 + enterprise: *864 + installation: *865 + marketplace_purchase: &899 title: Marketplace Purchase type: object required: @@ -180018,8 +180337,8 @@ webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: &895 + organization: *866 + previous_marketplace_purchase: &900 title: Marketplace Purchase type: object properties: @@ -180103,7 +180422,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *867 sender: *4 required: - action @@ -180183,10 +180502,10 @@ webhooks: - changed effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *894 - organization: *861 + enterprise: *864 + installation: *865 + marketplace_purchase: *899 + organization: *866 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180274,7 +180593,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *867 sender: *4 required: - action @@ -180356,10 +180675,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *894 - organization: *861 + enterprise: *864 + installation: *865 + marketplace_purchase: *899 + organization: *866 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -180445,7 +180764,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *862 + repository: *867 sender: *4 required: - action @@ -180526,8 +180845,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 marketplace_purchase: title: Marketplace Purchase type: object @@ -180613,9 +180932,9 @@ webhooks: type: integer unit_count: type: integer - organization: *861 - previous_marketplace_purchase: *895 - repository: *862 + organization: *866 + previous_marketplace_purchase: *900 + repository: *867 sender: *4 required: - action @@ -180695,12 +181014,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *859 - installation: *860 - marketplace_purchase: *894 - organization: *861 - previous_marketplace_purchase: *895 - repository: *862 + enterprise: *864 + installation: *865 + marketplace_purchase: *899 + organization: *866 + previous_marketplace_purchase: *900 + repository: *867 sender: *4 required: - action @@ -180802,11 +181121,11 @@ webhooks: type: string required: - to - enterprise: *859 - installation: *860 - member: *886 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + member: *891 + organization: *866 + repository: *867 sender: *4 required: - action @@ -180908,11 +181227,11 @@ webhooks: type: - string - 'null' - enterprise: *859 - installation: *860 - member: *886 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + member: *891 + organization: *866 + repository: *867 sender: *4 required: - action @@ -180991,11 +181310,11 @@ webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *886 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + member: *891 + organization: *866 + repository: *867 sender: *4 required: - action @@ -181073,11 +181392,11 @@ webhooks: type: string enum: - added - enterprise: *859 - installation: *860 - member: *886 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + member: *891 + organization: *866 + repository: *867 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181155,7 +181474,7 @@ webhooks: required: - login - id - team: &896 + team: &901 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -181385,11 +181704,11 @@ webhooks: type: string enum: - removed - enterprise: *859 - installation: *860 - member: *886 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + member: *891 + organization: *866 + repository: *867 scope: description: The scope of the membership. Currently, can only be `team`. @@ -181468,7 +181787,7 @@ webhooks: required: - login - id - team: *896 + team: *901 required: - action - scope @@ -181550,8 +181869,8 @@ webhooks: type: string enum: - checks_requested - installation: *860 - merge_group: &897 + installation: *865 + merge_group: &902 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -181577,8 +181896,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -181664,10 +181983,10 @@ webhooks: - merged - invalidated - dequeued - installation: *860 - merge_group: *897 - organization: *861 - repository: *862 + installation: *865 + merge_group: *902 + organization: *866 + repository: *867 sender: *4 required: - action @@ -181740,7 +182059,7 @@ webhooks: type: string enum: - deleted - enterprise: *859 + enterprise: *864 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -181849,12 +182168,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *860 - organization: *861 + installation: *865 + organization: *866 repository: anyOf: - type: 'null' - - *862 + - *867 sender: *4 required: - action @@ -181934,11 +182253,11 @@ webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - milestone: *892 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + milestone: *897 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182017,9 +182336,9 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - milestone: &898 + enterprise: *864 + installation: *865 + milestone: &903 title: Milestone description: A collection of related issues and pull requests. type: object @@ -182161,8 +182480,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182241,11 +182560,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - milestone: *892 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + milestone: *897 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182355,11 +182674,11 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - milestone: *892 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + milestone: *897 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182439,11 +182758,11 @@ webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - milestone: *898 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + milestone: *903 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182522,11 +182841,11 @@ webhooks: type: string enum: - blocked - blocked_user: *886 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *891 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182605,11 +182924,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *886 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + blocked_user: *891 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -182685,7 +183004,7 @@ webhooks: enum: - created definition: *148 - enterprise: *859 + enterprise: *864 sender: *4 required: - action @@ -182765,8 +183084,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 sender: *4 required: - action @@ -182839,8 +183158,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 sender: *4 required: - action @@ -182912,9 +183231,9 @@ webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 new_property_values: type: array @@ -183002,9 +183321,9 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - membership: &899 + enterprise: *864 + installation: *865 + membership: &904 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -183114,8 +183433,8 @@ webhooks: - role - organization_url - user - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 required: - action @@ -183193,11 +183512,11 @@ webhooks: type: string enum: - member_added - enterprise: *859 - installation: *860 - membership: *899 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + membership: *904 + organization: *866 + repository: *867 sender: *4 required: - action @@ -183276,8 +183595,8 @@ webhooks: type: string enum: - member_invited - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -183399,10 +183718,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 - user: *886 + user: *891 required: - action - invitation @@ -183480,11 +183799,11 @@ webhooks: type: string enum: - member_removed - enterprise: *859 - installation: *860 - membership: *899 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + membership: *904 + organization: *866 + repository: *867 sender: *4 required: - action @@ -183571,11 +183890,11 @@ webhooks: properties: from: type: string - enterprise: *859 - installation: *860 - membership: *899 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + membership: *904 + organization: *866 + repository: *867 sender: *4 required: - action @@ -183653,9 +183972,9 @@ webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 package: description: Information about the package. type: object @@ -184178,7 +184497,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &900 + items: &905 title: Ruby Gems metadata type: object properties: @@ -184275,7 +184594,7 @@ webhooks: - owner - package_version - registry - repository: *862 + repository: *867 sender: *4 required: - action @@ -184352,9 +184671,9 @@ webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 package: description: Information about the package. type: object @@ -184716,7 +185035,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *905 source_url: type: string format: uri @@ -184787,7 +185106,7 @@ webhooks: - owner - package_version - registry - repository: *862 + repository: *867 sender: *4 required: - action @@ -184967,12 +185286,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *859 + enterprise: *864 id: type: integer - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - id @@ -185049,7 +185368,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &901 + personal_access_token_request: &906 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -185199,10 +185518,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *859 - organization: *861 + enterprise: *864 + organization: *866 sender: *4 - installation: *860 + installation: *865 required: - action - personal_access_token_request @@ -185279,11 +185598,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *901 - enterprise: *859 - organization: *861 + personal_access_token_request: *906 + enterprise: *864 + organization: *866 sender: *4 - installation: *860 + installation: *865 required: - action - personal_access_token_request @@ -185359,11 +185678,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *901 - enterprise: *859 - organization: *861 + personal_access_token_request: *906 + enterprise: *864 + organization: *866 sender: *4 - installation: *860 + installation: *865 required: - action - personal_access_token_request @@ -185438,11 +185757,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *901 - organization: *861 - enterprise: *859 + personal_access_token_request: *906 + organization: *866 + enterprise: *864 sender: *4 - installation: *860 + installation: *865 required: - action - personal_access_token_request @@ -185547,7 +185866,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *902 + last_response: *907 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -185579,8 +185898,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 zen: description: Random string of GitHub zen. @@ -185825,10 +186144,10 @@ webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: &903 + enterprise: *864 + installation: *865 + organization: *866 + project_card: &908 title: Project Card type: object properties: @@ -185951,7 +186270,7 @@ webhooks: - creator - created_at - updated_at - repository: *862 + repository: *867 sender: *4 required: - action @@ -186032,11 +186351,11 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_card: *903 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project_card: *908 + repository: *867 sender: *4 required: - action @@ -186116,9 +186435,9 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 project_card: title: Project Card type: object @@ -186248,7 +186567,7 @@ webhooks: repository: anyOf: - type: 'null' - - *862 + - *867 sender: *4 required: - action @@ -186342,11 +186661,11 @@ webhooks: - from required: - note - enterprise: *859 - installation: *860 - organization: *861 - project_card: *903 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project_card: *908 + repository: *867 sender: *4 required: - action @@ -186440,9 +186759,9 @@ webhooks: - from required: - column_id - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 project_card: allOf: - title: Project Card @@ -186639,7 +186958,7 @@ webhooks: type: string required: - after_id - repository: *862 + repository: *867 sender: *4 required: - action @@ -186719,10 +187038,10 @@ webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - organization: *861 - project: &905 + enterprise: *864 + installation: *865 + organization: *866 + project: &910 title: Project type: object properties: @@ -186849,7 +187168,7 @@ webhooks: - creator - created_at - updated_at - repository: *862 + repository: *867 sender: *4 required: - action @@ -186929,10 +187248,10 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project_column: &904 + enterprise: *864 + installation: *865 + organization: *866 + project_column: &909 title: Project Column type: object properties: @@ -186972,7 +187291,7 @@ webhooks: - name - created_at - updated_at - repository: *862 + repository: *867 sender: *4 required: - action @@ -187051,14 +187370,14 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project_column: *904 + enterprise: *864 + installation: *865 + organization: *866 + project_column: *909 repository: anyOf: - type: 'null' - - *862 + - *867 sender: *4 required: - action @@ -187147,11 +187466,11 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project_column: *904 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project_column: *909 + repository: *867 sender: *4 required: - action @@ -187231,11 +187550,11 @@ webhooks: type: string enum: - moved - enterprise: *859 - installation: *860 - organization: *861 - project_column: *904 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project_column: *909 + repository: *867 sender: *4 required: - action @@ -187315,11 +187634,11 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - project: *905 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project: *910 + repository: *867 sender: *4 required: - action @@ -187399,14 +187718,14 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - project: *905 + enterprise: *864 + installation: *865 + organization: *866 + project: *910 repository: anyOf: - type: 'null' - - *862 + - *867 sender: *4 required: - action @@ -187507,11 +187826,11 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - project: *905 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project: *910 + repository: *867 sender: *4 required: - action @@ -187590,11 +187909,11 @@ webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - organization: *861 - project: *905 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + project: *910 + repository: *867 sender: *4 required: - action @@ -187675,8 +187994,8 @@ webhooks: type: string enum: - closed - installation: *860 - organization: *861 + installation: *865 + organization: *866 projects_v2: *417 sender: *4 required: @@ -187758,8 +188077,8 @@ webhooks: type: string enum: - created - installation: *860 - organization: *861 + installation: *865 + organization: *866 projects_v2: *417 sender: *4 required: @@ -187841,8 +188160,8 @@ webhooks: type: string enum: - deleted - installation: *860 - organization: *861 + installation: *865 + organization: *866 projects_v2: *417 sender: *4 required: @@ -187964,8 +188283,8 @@ webhooks: type: string to: type: string - installation: *860 - organization: *861 + installation: *865 + organization: *866 projects_v2: *417 sender: *4 required: @@ -188049,7 +188368,7 @@ webhooks: type: string enum: - archived - changes: &909 + changes: &914 type: object properties: archived_at: @@ -188065,9 +188384,9 @@ webhooks: - string - 'null' format: date-time - installation: *860 - organization: *861 - projects_v2_item: &906 + installation: *865 + organization: *866 + projects_v2_item: &911 title: Projects v2 Item description: An item belonging to a project type: object @@ -188207,9 +188526,9 @@ webhooks: - 'null' to: type: string - installation: *860 - organization: *861 - projects_v2_item: *906 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188291,9 +188610,9 @@ webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_item: *906 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188374,9 +188693,9 @@ webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_item: *906 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188481,7 +188800,7 @@ webhooks: oneOf: - type: string - type: integer - - &907 + - &912 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -188505,7 +188824,7 @@ webhooks: required: - id - name - - &908 + - &913 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -188545,8 +188864,8 @@ webhooks: oneOf: - type: string - type: integer - - *907 - - *908 + - *912 + - *913 type: - 'null' - string @@ -188569,9 +188888,9 @@ webhooks: - 'null' required: - body - installation: *860 - organization: *861 - projects_v2_item: *906 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188668,9 +188987,9 @@ webhooks: type: - string - 'null' - installation: *860 - organization: *861 - projects_v2_item: *906 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188753,10 +189072,10 @@ webhooks: type: string enum: - restored - changes: *909 - installation: *860 - organization: *861 - projects_v2_item: *906 + changes: *914 + installation: *865 + organization: *866 + projects_v2_item: *911 sender: *4 required: - action @@ -188838,8 +189157,8 @@ webhooks: type: string enum: - reopened - installation: *860 - organization: *861 + installation: *865 + organization: *866 projects_v2: *417 sender: *4 required: @@ -188921,9 +189240,9 @@ webhooks: type: string enum: - created - installation: *860 - organization: *861 - projects_v2_status_update: *910 + installation: *865 + organization: *866 + projects_v2_status_update: *915 sender: *4 required: - action @@ -189004,9 +189323,9 @@ webhooks: type: string enum: - deleted - installation: *860 - organization: *861 - projects_v2_status_update: *910 + installation: *865 + organization: *866 + projects_v2_status_update: *915 sender: *4 required: - action @@ -189152,9 +189471,9 @@ webhooks: - string - 'null' format: date - installation: *860 - organization: *861 - projects_v2_status_update: *910 + installation: *865 + organization: *866 + projects_v2_status_update: *915 sender: *4 required: - action @@ -189225,10 +189544,10 @@ webhooks: title: public event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - repository @@ -189305,13 +189624,13 @@ webhooks: type: string enum: - assigned - assignee: *886 - enterprise: *859 - installation: *860 - number: &911 + assignee: *891 + enterprise: *864 + installation: *865 + number: &916 description: The pull request number. type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -191682,7 +192001,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -191764,11 +192083,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -194132,7 +194451,7 @@ webhooks: - draft reason: type: string - repository: *862 + repository: *867 sender: *4 required: - action @@ -194214,11 +194533,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -196582,7 +196901,7 @@ webhooks: - draft reason: type: string - repository: *862 + repository: *867 sender: *4 required: - action @@ -196664,13 +196983,13 @@ webhooks: type: string enum: - closed - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: &912 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: &917 allOf: - - *707 + - *712 - type: object properties: allow_auto_merge: @@ -196732,7 +197051,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *862 + repository: *867 sender: *4 required: - action @@ -196813,12 +197132,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: *912 - repository: *862 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: *917 + repository: *867 sender: *4 required: - action @@ -196898,11 +197217,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *859 + enterprise: *864 milestone: *420 - number: *911 - organization: *861 - pull_request: &913 + number: *916 + organization: *866 + pull_request: &918 title: Pull Request type: object properties: @@ -199251,7 +199570,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -199330,11 +199649,11 @@ webhooks: type: string enum: - dequeued - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -201702,7 +202021,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *862 + repository: *867 sender: *4 required: - action @@ -201826,12 +202145,12 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: *912 - repository: *862 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: *917 + repository: *867 sender: *4 required: - action @@ -201911,11 +202230,11 @@ webhooks: type: string enum: - enqueued - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -204268,7 +204587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -204348,11 +204667,11 @@ webhooks: type: string enum: - labeled - enterprise: *859 - installation: *860 - label: *880 - number: *911 - organization: *861 + enterprise: *864 + installation: *865 + label: *885 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -206722,7 +207041,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -206803,10 +207122,10 @@ webhooks: type: string enum: - locked - enterprise: *859 - installation: *860 - number: *911 - organization: *861 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -209174,7 +209493,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -209254,12 +209573,12 @@ webhooks: type: string enum: - milestoned - enterprise: *859 + enterprise: *864 milestone: *420 - number: *911 - organization: *861 - pull_request: *913 - repository: *862 + number: *916 + organization: *866 + pull_request: *918 + repository: *867 sender: *4 required: - action @@ -209338,12 +209657,12 @@ webhooks: type: string enum: - opened - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: *912 - repository: *862 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: *917 + repository: *867 sender: *4 required: - action @@ -209424,12 +209743,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: *912 - repository: *862 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: *917 + repository: *867 sender: *4 required: - action @@ -209509,12 +209828,12 @@ webhooks: type: string enum: - reopened - enterprise: *859 - installation: *860 - number: *911 - organization: *861 - pull_request: *912 - repository: *862 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 + pull_request: *917 + repository: *867 sender: *4 required: - action @@ -209889,9 +210208,9 @@ webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: type: object properties: @@ -212143,7 +212462,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *867 sender: *4 required: - action @@ -212223,7 +212542,7 @@ webhooks: type: string enum: - deleted - comment: &915 + comment: &920 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. @@ -212516,9 +212835,9 @@ webhooks: - start_side - side - reactions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: type: object properties: @@ -214758,7 +215077,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *867 sender: *4 required: - action @@ -214838,11 +215157,11 @@ webhooks: type: string enum: - edited - changes: *914 - comment: *915 - enterprise: *859 - installation: *860 - organization: *861 + changes: *919 + comment: *920 + enterprise: *864 + installation: *865 + organization: *866 pull_request: type: object properties: @@ -217085,7 +217404,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *862 + repository: *867 sender: *4 required: - action @@ -217166,9 +217485,9 @@ webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: title: Simple Pull Request type: object @@ -219423,7 +219742,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *867 review: description: The review that was affected. type: object @@ -219674,9 +219993,9 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: title: Simple Pull Request type: object @@ -221790,8 +222109,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: &916 + repository: *867 + review: &921 description: The review that was affected. type: object properties: @@ -222029,12 +222348,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: description: The pull request number. type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -224403,7 +224722,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 requested_reviewer: title: User type: @@ -224489,12 +224808,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: description: The pull request number. type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -226870,7 +227189,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 requested_team: title: Team description: Groups of organization members that gives permissions @@ -227065,12 +227384,12 @@ webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: description: The pull request number. type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -229441,7 +229760,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 requested_reviewer: title: User type: @@ -229528,12 +229847,12 @@ webhooks: type: string enum: - review_requested - enterprise: *859 - installation: *860 + enterprise: *864 + installation: *865 number: description: The pull request number. type: integer - organization: *861 + organization: *866 pull_request: title: Pull Request type: object @@ -231895,7 +232214,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 requested_team: title: Team description: Groups of organization members that gives permissions @@ -232079,9 +232398,9 @@ webhooks: type: string enum: - submitted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: title: Simple Pull Request type: object @@ -234339,8 +234658,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 - review: *916 + repository: *867 + review: *921 sender: *4 required: - action @@ -234420,9 +234739,9 @@ webhooks: type: string enum: - resolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: title: Simple Pull Request type: object @@ -236575,7 +236894,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *867 sender: *4 thread: type: object @@ -236972,9 +237291,9 @@ webhooks: type: string enum: - unresolved - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 pull_request: title: Simple Pull Request type: object @@ -239110,7 +239429,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *862 + repository: *867 sender: *4 thread: type: object @@ -239509,10 +239828,10 @@ webhooks: type: string before: type: string - enterprise: *859 - installation: *860 - number: *911 - organization: *861 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -241869,7 +242188,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -241951,11 +242270,11 @@ webhooks: type: string enum: - unassigned - assignee: *917 - enterprise: *859 - installation: *860 - number: *911 - organization: *861 + assignee: *922 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -244327,7 +244646,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -244406,11 +244725,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *859 - installation: *860 - label: *880 - number: *911 - organization: *861 + enterprise: *864 + installation: *865 + label: *885 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -246771,7 +247090,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -246852,10 +247171,10 @@ webhooks: type: string enum: - unlocked - enterprise: *859 - installation: *860 - number: *911 - organization: *861 + enterprise: *864 + installation: *865 + number: *916 + organization: *866 pull_request: title: Pull Request type: object @@ -249206,7 +249525,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *862 + repository: *867 sender: *4 required: - action @@ -249409,7 +249728,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *859 + enterprise: *864 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -249504,8 +249823,8 @@ webhooks: - url - author - committer - installation: *860 - organization: *861 + installation: *865 + organization: *866 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -250104,9 +250423,9 @@ webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 registry_package: type: object properties: @@ -250583,7 +250902,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *900 + items: *905 summary: type: string tag_name: @@ -250639,7 +250958,7 @@ webhooks: - owner - package_version - registry - repository: *862 + repository: *867 sender: *4 required: - action @@ -250717,9 +251036,9 @@ webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 registry_package: type: object properties: @@ -251031,7 +251350,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *905 summary: type: string tag_name: @@ -251081,7 +251400,7 @@ webhooks: - owner - package_version - registry - repository: *862 + repository: *867 sender: *4 required: - action @@ -251158,10 +251477,10 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - release: &918 + enterprise: *864 + installation: *865 + organization: *866 + release: &923 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -251492,7 +251811,7 @@ webhooks: - updated_at - zipball_url - body - repository: *862 + repository: *867 sender: *4 required: - action @@ -251569,11 +251888,11 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - release: *918 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + release: *923 + repository: *867 sender: *4 required: - action @@ -251690,11 +252009,11 @@ webhooks: type: boolean required: - to - enterprise: *859 - installation: *860 - organization: *861 - release: *918 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + release: *923 + repository: *867 sender: *4 required: - action @@ -251772,9 +252091,9 @@ webhooks: type: string enum: - prereleased - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -252110,7 +252429,7 @@ webhooks: - string - 'null' format: uri - repository: *862 + repository: *867 sender: *4 required: - action @@ -252186,10 +252505,10 @@ webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - release: &919 + enterprise: *864 + installation: *865 + organization: *866 + release: &924 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -252522,7 +252841,7 @@ webhooks: - string - 'null' format: uri - repository: *862 + repository: *867 sender: *4 required: - action @@ -252598,11 +252917,11 @@ webhooks: type: string enum: - released - enterprise: *859 - installation: *860 - organization: *861 - release: *918 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + release: *923 + repository: *867 sender: *4 required: - action @@ -252678,11 +252997,11 @@ webhooks: type: string enum: - unpublished - enterprise: *859 - installation: *860 - organization: *861 - release: *919 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + release: *924 + repository: *867 sender: *4 required: - action @@ -252758,11 +253077,11 @@ webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *760 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + repository_advisory: *765 sender: *4 required: - action @@ -252838,11 +253157,11 @@ webhooks: type: string enum: - reported - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - repository_advisory: *760 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + repository_advisory: *765 sender: *4 required: - action @@ -252918,10 +253237,10 @@ webhooks: type: string enum: - archived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -252998,10 +253317,10 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253079,10 +253398,10 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253167,10 +253486,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253285,10 +253604,10 @@ webhooks: - 'null' items: type: string - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253360,10 +253679,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 status: type: string @@ -253444,10 +253763,10 @@ webhooks: type: string enum: - privatized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253524,10 +253843,10 @@ webhooks: type: string enum: - publicized - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253621,10 +253940,10 @@ webhooks: - name required: - repository - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -253704,10 +254023,10 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 repository_ruleset: *187 sender: *4 required: @@ -253786,10 +254105,10 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 repository_ruleset: *187 sender: *4 required: @@ -253868,10 +254187,10 @@ webhooks: type: string enum: - edited - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 repository_ruleset: *187 changes: type: object @@ -253933,16 +254252,16 @@ webhooks: properties: added: type: array - items: *727 + items: *732 deleted: type: array - items: *727 + items: *732 updated: type: array items: type: object properties: - rule: *727 + rule: *732 changes: type: object properties: @@ -254179,10 +254498,10 @@ webhooks: - from required: - owner - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -254260,10 +254579,10 @@ webhooks: type: string enum: - unarchived - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -254341,7 +254660,7 @@ webhooks: type: string enum: - create - alert: &920 + alert: &925 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -254466,10 +254785,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -254679,10 +254998,10 @@ webhooks: type: string enum: - dismissed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -254760,11 +255079,11 @@ webhooks: type: string enum: - reopen - alert: *920 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *925 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -254966,10 +255285,10 @@ webhooks: enum: - fixed - open - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255047,7 +255366,7 @@ webhooks: type: string enum: - assigned - alert: &921 + alert: &926 type: object properties: number: *127 @@ -255187,10 +255506,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255268,11 +255587,11 @@ webhooks: type: string enum: - created - alert: *921 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *926 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255353,11 +255672,11 @@ webhooks: type: string enum: - created - alert: *921 - installation: *860 - location: *922 - organization: *861 - repository: *862 + alert: *926 + installation: *865 + location: *927 + organization: *866 + repository: *867 sender: *4 required: - location @@ -255595,11 +255914,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *921 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *926 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255677,11 +255996,11 @@ webhooks: type: string enum: - reopened - alert: *921 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *926 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255759,11 +256078,11 @@ webhooks: type: string enum: - resolved - alert: *921 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *926 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255841,12 +256160,12 @@ webhooks: type: string enum: - unassigned - alert: *921 + alert: *926 assignee: *4 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -255924,11 +256243,11 @@ webhooks: type: string enum: - validated - alert: *921 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + alert: *926 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -256058,10 +256377,10 @@ webhooks: - organization - enterprise - - repository: *862 - enterprise: *859 - installation: *860 - organization: *861 + repository: *867 + enterprise: *864 + installation: *865 + organization: *866 sender: *4 required: - action @@ -256139,11 +256458,11 @@ webhooks: type: string enum: - published - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: &923 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + security_advisory: &928 description: The details of the security advisory, including summary, description, and severity. type: object @@ -256329,11 +256648,11 @@ webhooks: type: string enum: - updated - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 - security_advisory: *923 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 + security_advisory: *928 sender: *4 required: - action @@ -256406,10 +256725,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -256596,9 +256915,9 @@ webhooks: type: object properties: security_and_analysis: *431 - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: *477 sender: *4 required: @@ -256677,12 +256996,12 @@ webhooks: type: string enum: - cancelled - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: &924 + sponsorship: &929 type: object properties: created_at: @@ -256987,12 +257306,12 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: *924 + sponsorship: *929 required: - action - sponsorship @@ -257080,12 +257399,12 @@ webhooks: type: string required: - from - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: *924 + sponsorship: *929 required: - action - changes @@ -257162,17 +257481,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &925 + effective_date: &930 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: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: *924 + sponsorship: *929 required: - action - sponsorship @@ -257246,7 +257565,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &926 + changes: &931 type: object properties: tier: @@ -257290,13 +257609,13 @@ webhooks: - from required: - tier - effective_date: *925 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + effective_date: *930 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: *924 + sponsorship: *929 required: - action - changes @@ -257373,13 +257692,13 @@ webhooks: type: string enum: - tier_changed - changes: *926 - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + changes: *931 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - sponsorship: *924 + sponsorship: *929 required: - action - changes @@ -257453,10 +257772,10 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257540,10 +257859,10 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -257977,15 +258296,15 @@ webhooks: type: - string - 'null' - enterprise: *859 + enterprise: *864 id: description: The unique identifier of the status. type: integer - installation: *860 + installation: *865 name: type: string - organization: *861 - repository: *862 + organization: *866 + repository: *867 sender: *4 sha: description: The Commit SHA. @@ -258101,9 +258420,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -258192,9 +258511,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -258283,9 +258602,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -258374,9 +258693,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *860 - organization: *861 - repository: *862 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -258452,12 +258771,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - team: &927 + team: &932 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -258687,9 +259006,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: title: Repository description: A git repository @@ -259159,7 +259478,7 @@ webhooks: - topics - visibility sender: *4 - team: *927 + team: *932 required: - action - team @@ -259235,9 +259554,9 @@ webhooks: type: string enum: - created - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: title: Repository description: A git repository @@ -259707,7 +260026,7 @@ webhooks: - topics - visibility sender: *4 - team: *927 + team: *932 required: - action - team @@ -259784,9 +260103,9 @@ webhooks: type: string enum: - deleted - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: title: Repository description: A git repository @@ -260256,7 +260575,7 @@ webhooks: - topics - visibility sender: *4 - team: *927 + team: *932 required: - action - team @@ -260400,9 +260719,9 @@ webhooks: - from required: - permissions - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: title: Repository description: A git repository @@ -260872,7 +261191,7 @@ webhooks: - topics - visibility sender: *4 - team: *927 + team: *932 required: - action - changes @@ -260950,9 +261269,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *859 - installation: *860 - organization: *861 + enterprise: *864 + installation: *865 + organization: *866 repository: title: Repository description: A git repository @@ -261422,7 +261741,7 @@ webhooks: - topics - visibility sender: *4 - team: *927 + team: *932 required: - action - team @@ -261498,10 +261817,10 @@ webhooks: type: string enum: - started - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 required: - action @@ -261574,17 +261893,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *859 + enterprise: *864 inputs: type: - object - 'null' additionalProperties: true - installation: *860 - organization: *861 + installation: *865 + organization: *866 ref: type: string - repository: *862 + repository: *867 sender: *4 workflow: type: string @@ -261666,10 +261985,10 @@ webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 workflow_job: allOf: @@ -262004,10 +262323,10 @@ webhooks: type: string enum: - in_progress - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 workflow_job: allOf: @@ -262368,10 +262687,10 @@ webhooks: type: string enum: - queued - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 workflow_job: type: object @@ -262596,10 +262915,10 @@ webhooks: type: string enum: - waiting - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 workflow_job: type: object @@ -262826,12 +263145,12 @@ webhooks: type: string enum: - completed - enterprise: *859 - installation: *860 - organization: *861 - repository: *862 + enterprise: *864 + installation: *865 + organization: *866 + repository: *867 sender: *4 - workflow: *876 + workflow: *881 workflow_run: {"code":"deadline_exceeded","msg":"operation timed out"}