diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 942f06fe4..4ff686519 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -46114,6 +46114,355 @@ } } }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#remove-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#list-sub-issues" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#add-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "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", @@ -96050,6 +96399,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -96266,6 +96635,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -115501,6 +115873,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -121243,6 +121618,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -127425,6 +127820,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -128796,6 +129211,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -152696,6 +153131,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -154258,6 +154713,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -155829,6 +156304,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -157434,6 +157929,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -158855,6 +159370,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -160097,6 +160632,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -161332,6 +161887,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -162560,6 +163135,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -163814,6 +164409,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -165032,6 +165647,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -166231,6 +166866,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -168040,6 +168695,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -169321,6 +169996,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -170516,6 +171211,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -172466,6 +173181,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 4e8908173..7a836a9a8 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -33580,6 +33580,255 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': + "$ref": "#/components/responses/forbidden" + '410': + "$ref": "#/components/responses/gone" + '422': + "$ref": "#/components/responses/validation_failed" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + '503': + "$ref": "#/components/responses/service_unavailable" + 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 @@ -69919,6 +70168,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -70084,6 +70347,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -85109,6 +85374,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -89345,6 +89612,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -94094,6 +94375,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -95129,6 +95424,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112900,6 +113209,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114062,6 +114385,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115231,6 +115568,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116425,6 +116776,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117479,6 +117844,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118421,6 +118800,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119346,6 +119739,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120273,6 +120680,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121223,6 +121644,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122142,6 +122577,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123043,6 +123492,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124413,6 +124876,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125383,6 +125860,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126281,6 +126772,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127756,6 +128261,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 942f06fe4..4ff686519 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -46114,6 +46114,355 @@ } } }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#remove-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#list-sub-issues" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#add-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "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", @@ -96050,6 +96399,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -96266,6 +96635,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -115501,6 +115873,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -121243,6 +121618,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -127425,6 +127820,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -128796,6 +129211,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -152696,6 +153131,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -154258,6 +154713,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -155829,6 +156304,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -157434,6 +157929,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -158855,6 +159370,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -160097,6 +160632,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -161332,6 +161887,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -162560,6 +163135,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -163814,6 +164409,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -165032,6 +165647,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -166231,6 +166866,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -168040,6 +168695,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -169321,6 +169996,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -170516,6 +171211,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -172466,6 +173181,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 4e8908173..7a836a9a8 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -33580,6 +33580,255 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': + "$ref": "#/components/responses/forbidden" + '410': + "$ref": "#/components/responses/gone" + '422': + "$ref": "#/components/responses/validation_failed" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + '503': + "$ref": "#/components/responses/service_unavailable" + 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 @@ -69919,6 +70168,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -70084,6 +70347,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -85109,6 +85374,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -89345,6 +89612,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -94094,6 +94375,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -95129,6 +95424,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112900,6 +113209,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114062,6 +114385,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115231,6 +115568,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116425,6 +116776,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117479,6 +117844,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118421,6 +118800,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119346,6 +119739,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120273,6 +120680,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121223,6 +121644,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122142,6 +122577,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123043,6 +123492,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124413,6 +124876,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125383,6 +125860,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126281,6 +126772,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127756,6 +128261,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index e4f881d50..4321e3c33 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -23862,6 +23862,26 @@ "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" + ] } }, "required": [ @@ -38774,6 +38794,26 @@ "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" + ] } }, "required": [ @@ -44382,6 +44422,26 @@ "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" + ] } }, "required": [ @@ -79135,6 +79195,26 @@ "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" + ] } }, "required": [ @@ -89132,6 +89212,26 @@ "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" + ] } }, "required": [ @@ -260221,6 +260321,26 @@ "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" + ] } }, "required": [ @@ -279824,6 +279944,26 @@ "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" + ] } }, "required": [ @@ -282240,6 +282380,26 @@ "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" + ] } }, "required": [ @@ -287922,6 +288082,26 @@ "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" + ] } }, "required": [ @@ -291433,6 +291613,26 @@ "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" + ] } }, "required": [ @@ -294820,6 +295020,26 @@ "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" + ] } }, "required": [ @@ -297213,6 +297433,26 @@ "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" + ] } }, "required": [ @@ -299632,6 +299872,26 @@ "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" + ] } }, "required": [ @@ -301854,6 +302114,26 @@ "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" + ] } }, "required": [ @@ -313572,494 +313852,9964 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-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" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + }, + "post": { + "summary": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "tags": [ + "reactions" + ], + "operationId": "reactions/create-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-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": { + "content": { + "type": "string", + "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + } + }, + "required": [ + "content" + ] + }, + "examples": { + "default": { + "value": { + "content": "heart" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { + "delete": { + "summary": "Delete an issue reaction", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue).", + "tags": [ + "reactions" + ], + "operationId": "reactions/delete-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction" + }, + "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": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#remove-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#list-sub-issues" + }, + "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", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#add-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + } }, - { - "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": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" + "message": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" + "status": { + "type": "string" } } } @@ -314071,8 +323821,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -314088,122 +323838,42 @@ "errors": { "type": "array", "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } + "type": "string" } } } } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction" - }, - "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": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } } } - ], - "responses": { - "204": { - "description": "Response" - } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "sub-issues" } } }, @@ -323484,6 +333154,26 @@ "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" + ] } }, "required": [ @@ -419637,6 +429327,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -463258,6 +472968,26 @@ "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" + ] } }, "required": [ @@ -491838,6 +501568,26 @@ "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" + ] } }, "required": [ @@ -494610,6 +504360,26 @@ "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" + ] } }, "required": [ @@ -497384,6 +507154,26 @@ "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" + ] } }, "required": [ @@ -506476,6 +516266,26 @@ "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" + ] } }, "required": [ @@ -509250,6 +519060,26 @@ "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" + ] } }, "required": [ @@ -669404,6 +679234,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -673007,6 +682857,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -676634,6 +686504,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -679869,6 +689759,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -682679,6 +692589,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -685678,6 +695608,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -688498,6 +698448,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -691491,6 +701461,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -694335,6 +704325,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -697205,6 +707215,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -700001,6 +710031,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -702875,6 +712925,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -704767,6 +714837,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -707565,6 +717655,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -710388,6 +720498,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -713078,6 +723208,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -714967,6 +725117,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -717869,6 +728039,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -720674,6 +730864,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -723542,6 +733752,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -726317,6 +736547,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -1072846,6 +1083096,26 @@ "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" + ] } }, "required": [ @@ -1075543,6 +1085813,26 @@ "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" + ] } }, "required": [ @@ -1079068,6 +1089358,26 @@ "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" + ] } }, "required": [ @@ -1081765,6 +1092075,26 @@ "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" + ] } }, "required": [ @@ -1085290,6 +1095620,26 @@ "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" + ] } }, "required": [ @@ -1087987,6 +1098337,26 @@ "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" + ] } }, "required": [ @@ -1091512,6 +1101882,26 @@ "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" + ] } }, "required": [ @@ -1094209,6 +1104599,26 @@ "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" + ] } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 5c3474180..39fe70b11 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &549 + - &550 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9203,14 +9203,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &541 + state: &542 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: &542 + resolution: &543 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -10174,6 +10174,20 @@ paths: - 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 required: &451 - assignee - closed_at @@ -10761,7 +10775,7 @@ paths: url: type: string format: uri - user: &572 + user: &573 title: Public User description: Public User type: object @@ -14146,7 +14160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &479 + - &480 name: all description: If `true`, show notifications marked as read. in: query @@ -14154,7 +14168,7 @@ paths: schema: type: boolean default: false - - &480 + - &481 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14164,7 +14178,7 @@ paths: type: boolean default: false - *65 - - &481 + - &482 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: @@ -14620,7 +14634,7 @@ paths: - url - subscription_url examples: - default: &482 + default: &483 value: - id: '1' repository: @@ -15169,7 +15183,7 @@ paths: properties: *92 required: *93 examples: - default: &590 + default: &591 value: - login: github id: 1 @@ -16335,7 +16349,7 @@ paths: type: array items: *58 examples: - default: &584 + default: &585 value: total_count: 1 repositories: @@ -17149,7 +17163,7 @@ paths: type: array items: *113 examples: - default: &575 + default: &576 value: total_count: 1 repositories: @@ -27410,7 +27424,7 @@ paths: parameters: - *94 - *191 - - &589 + - &590 name: repo_name description: repo_name parameter in: path @@ -28429,7 +28443,7 @@ paths: - nuget - container - *94 - - &591 + - &592 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28470,7 +28484,7 @@ paths: default: *199 '403': *29 '401': *25 - '400': &593 + '400': &594 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31736,7 +31750,7 @@ paths: - *94 - *18 - *20 - - &528 + - &529 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32014,7 +32028,7 @@ paths: type: object description: A repository rule. oneOf: - - &510 + - &511 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32026,7 +32040,7 @@ paths: type: string enum: - creation - - &511 + - &512 title: update description: Only allow users with bypass permission to update matching refs. @@ -32047,7 +32061,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &513 + - &514 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32059,7 +32073,7 @@ paths: type: string enum: - deletion - - &514 + - &515 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32071,7 +32085,7 @@ paths: type: string enum: - required_linear_history - - &515 + - &516 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32149,7 +32163,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &516 + - &517 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32173,7 +32187,7 @@ paths: type: string required: - required_deployment_environments - - &517 + - &518 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32185,7 +32199,7 @@ paths: type: string enum: - required_signatures - - &518 + - &519 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32231,7 +32245,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &519 + - &520 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32279,7 +32293,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &520 + - &521 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32291,7 +32305,7 @@ paths: type: string enum: - non_fast_forward - - &521 + - &522 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32327,7 +32341,7 @@ paths: required: - operator - pattern - - &522 + - &523 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32363,7 +32377,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32399,7 +32413,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32435,7 +32449,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32561,7 +32575,7 @@ paths: maximum: 100 required: - max_file_size - - &526 + - &527 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32611,7 +32625,7 @@ paths: - repository_id required: - workflows - - &527 + - &528 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32848,7 +32862,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &529 + - &530 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 @@ -32863,7 +32877,7 @@ paths: in: query schema: type: string - - &530 + - &531 name: time_period description: |- The time period to filter by. @@ -32879,14 +32893,14 @@ paths: - week - month default: day - - &531 + - &532 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 - - &532 + - &533 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32906,7 +32920,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 title: Rule Suites description: Response type: array @@ -32961,7 +32975,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &534 + default: &535 value: - id: 21 actor_id: 12 @@ -33005,7 +33019,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &535 + - &536 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33021,7 +33035,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &537 title: Rule Suite description: Response type: object @@ -33120,7 +33134,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &537 + default: &538 value: id: 21 actor_id: 12 @@ -33338,7 +33352,7 @@ paths: - *42 - *20 - *18 - - &539 + - &540 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 @@ -33348,7 +33362,7 @@ paths: required: false schema: type: string - - &540 + - &541 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 @@ -33440,7 +33454,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 description: A repository security advisory. type: object properties: @@ -33731,7 +33745,7 @@ paths: - private_fork additionalProperties: false examples: - default: &548 + default: &549 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34205,7 +34219,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &608 type: object properties: total_minutes_used: @@ -34275,7 +34289,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &608 + default: &609 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34311,7 +34325,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &610 type: object properties: total_gigabytes_bandwidth_used: @@ -34329,7 +34343,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &610 + default: &611 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34361,7 +34375,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &612 type: object properties: days_left_in_billing_cycle: @@ -34379,7 +34393,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &612 + default: &613 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35300,7 +35314,7 @@ paths: - updated_at - url examples: - default: &562 + default: &563 value: - author: login: octocat @@ -35548,7 +35562,7 @@ paths: application/json: schema: *241 examples: - default: &563 + default: &564 value: author: login: octocat @@ -35731,7 +35745,7 @@ paths: - updated_at - url examples: - default: &564 + default: &565 value: - author: login: octocat @@ -35957,7 +35971,7 @@ paths: application/json: schema: *244 examples: - default: &565 + default: &566 value: author: login: octocat @@ -36573,7 +36587,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &566 + response-if-user-is-a-team-maintainer: &567 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36638,7 +36652,7 @@ paths: application/json: schema: *251 examples: - response-if-users-membership-with-team-is-now-pending: &567 + response-if-users-membership-with-team-is-now-pending: &568 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36780,7 +36794,7 @@ paths: - updated_at - permissions examples: - default: &568 + default: &569 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36857,7 +36871,7 @@ paths: application/json: schema: *252 examples: - default: &569 + default: &570 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37060,7 +37074,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &570 + schema: &571 title: Team Repository description: A team's access to a repository. type: object @@ -37717,7 +37731,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &571 + response-if-child-teams-exist: &572 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49391,7 +49405,7 @@ paths: check. type: array items: *333 - deployment: &621 + deployment: &622 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -50305,7 +50319,7 @@ paths: type: string format: date-time nullable: true - head_commit: &647 + head_commit: &648 title: Simple Commit description: A commit. type: object @@ -54249,14 +54263,14 @@ paths: type: integer machines: type: array - items: &578 + items: &579 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *372 required: *373 examples: - default: &579 + default: &580 value: total_count: 2 machines: @@ -55785,7 +55799,7 @@ paths: type: array items: *382 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56073,7 +56087,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Pull Request Simple description: Pull Request Simple type: object @@ -56302,7 +56316,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &490 + auto_merge: &491 title: Auto merge description: The status of auto merging a pull request. type: object @@ -56365,7 +56379,7 @@ paths: - author_association - auto_merge examples: - default: &489 + default: &490 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56922,7 +56936,7 @@ paths: application/json: schema: *382 examples: - default: &475 + default: &476 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57539,7 +57553,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Status description: The status of a commit. type: object @@ -58475,7 +58489,7 @@ paths: - size - type - url - - &502 + - &503 title: Content File description: Content File type: object @@ -59089,7 +59103,7 @@ paths: items: type: object properties: - placeholder_id: &544 + placeholder_id: &545 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64829,7 +64843,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &655 + last_response: &656 title: Hook Response type: object properties: @@ -65786,7 +65800,7 @@ paths: parameters: - *254 - *255 - - &602 + - &603 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -66220,7 +66234,7 @@ paths: type: array items: *447 examples: - default: &595 + default: &596 value: - id: 1 repository: @@ -66612,7 +66626,7 @@ paths: type: array items: *75 examples: - default: + default: &458 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68426,7 +68440,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &458 + - &459 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68480,7 +68494,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &459 + - &460 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68616,7 +68630,7 @@ paths: - performed_via_github_app - assignee - assigner - - &460 + - &461 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68667,7 +68681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68718,7 +68732,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68772,7 +68786,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68819,7 +68833,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68866,7 +68880,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68926,7 +68940,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Locked Issue Event description: Locked Issue Event type: object @@ -68974,7 +68988,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69040,7 +69054,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69106,7 +69120,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69172,7 +69186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69819,6 +69833,234 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *15 + '404': *7 + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues + parameters: + - *254 + - *255 + - *454 + - *18 + - *20 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *75 + examples: + default: *458 + headers: + Link: *39 + '404': *7 + '410': *263 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *29 + '410': *263 + '422': *16 + '404': *7 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + '403': *29 + '404': *7 + '422': *8 + '503': *63 + 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 @@ -69847,7 +70089,6 @@ paths: description: Timeline Event type: object anyOf: - - *458 - *459 - *460 - *461 @@ -69860,6 +70101,7 @@ paths: - *468 - *469 - *470 + - *471 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70163,7 +70405,7 @@ paths: type: string comments: type: array - items: &491 + items: &492 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70689,7 +70931,7 @@ paths: application/json: schema: type: array - items: &471 + items: &472 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70791,9 +71033,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &472 + default: &473 value: id: 1 key: ssh-rsa AAA... @@ -70829,7 +71071,7 @@ paths: parameters: - *254 - *255 - - &473 + - &474 name: key_id description: The unique identifier of the key. in: path @@ -70841,9 +71083,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '404': *7 x-github: githubCloudOnly: false @@ -70863,7 +71105,7 @@ paths: parameters: - *254 - *255 - - *473 + - *474 responses: '204': description: Response @@ -70956,7 +71198,7 @@ paths: application/json: schema: *456 examples: - default: &474 + default: &475 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71002,7 +71244,7 @@ paths: application/json: schema: *456 examples: - default: *474 + default: *475 '404': *7 x-github: githubCloudOnly: false @@ -71402,7 +71644,7 @@ paths: application/json: schema: *382 examples: - default: *475 + default: *476 '204': description: Response when already merged '404': @@ -71469,7 +71711,7 @@ paths: application/json: schema: type: array - items: &476 + items: &477 title: Milestone description: A collection of related issues and pull requests. type: object @@ -71571,9 +71813,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &477 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71634,7 +71876,7 @@ paths: parameters: - *254 - *255 - - &478 + - &479 name: milestone_number description: The number that identifies the milestone. in: path @@ -71646,9 +71888,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 '404': *7 x-github: githubCloudOnly: false @@ -71667,7 +71909,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 requestBody: required: false content: @@ -71705,9 +71947,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71725,7 +71967,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 responses: '204': description: Response @@ -71748,7 +71990,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 - *18 - *20 responses: @@ -71781,10 +72023,10 @@ paths: parameters: - *254 - *255 - - *479 - *480 - - *65 - *481 + - *65 + - *482 - *18 - *20 responses: @@ -71796,7 +72038,7 @@ paths: type: array items: *88 examples: - default: *482 + default: *483 headers: Link: *39 x-github: @@ -71886,7 +72128,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &484 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72011,7 +72253,7 @@ paths: - custom_404 - public examples: - default: &484 + default: &485 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72107,9 +72349,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 '422': *16 '409': *134 x-github: @@ -72270,7 +72512,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Page Build description: Page Build type: object @@ -72417,9 +72659,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72479,9 +72721,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72610,7 +72852,7 @@ paths: parameters: - *254 - *255 - - &487 + - &488 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72670,7 +72912,7 @@ paths: parameters: - *254 - *255 - - *487 + - *488 responses: '204': *137 '404': *7 @@ -73339,9 +73581,9 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *489 + default: *490 headers: Link: *39 '304': *37 @@ -73439,7 +73681,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &494 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73653,7 +73895,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *490 + auto_merge: *491 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -73745,7 +73987,7 @@ paths: - merged_by - review_comments examples: - default: &494 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74302,9 +74544,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: &496 + default: &497 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74389,9 +74631,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &492 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74490,9 +74732,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74695,7 +74937,7 @@ paths: parameters: - *254 - *255 - - &495 + - &496 name: pull_number description: The number that identifies the pull request. in: path @@ -74708,9 +74950,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '304': *37 '404': *7 '406': @@ -74747,7 +74989,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -74789,9 +75031,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *16 '403': *29 x-github: @@ -74815,7 +75057,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -74917,7 +75159,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74938,9 +75180,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: *496 + default: *497 headers: Link: *39 x-github: @@ -74975,7 +75217,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -75080,7 +75322,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: example-for-a-multi-line-comment: value: @@ -75170,7 +75412,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *74 requestBody: required: true @@ -75193,7 +75435,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: value: @@ -75281,7 +75523,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -75293,7 +75535,7 @@ paths: type: array items: *382 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -75325,7 +75567,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -75375,7 +75617,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 responses: '204': description: Response if pull request has been merged @@ -75400,7 +75642,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -75513,7 +75755,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 responses: '200': description: Response @@ -75590,7 +75832,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -75627,7 +75869,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -76165,7 +76407,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -76199,7 +76441,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -76706,7 +76948,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -76716,7 +76958,7 @@ paths: application/json: schema: type: array - items: &498 + items: &499 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76869,7 +77111,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -76955,9 +77197,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &500 + default: &501 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77022,8 +77264,8 @@ paths: parameters: - *254 - *255 - - *495 - - &499 + - *496 + - &500 name: review_id description: The unique identifier of the review. in: path @@ -77035,9 +77277,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77098,8 +77340,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77122,7 +77364,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77186,16 +77428,16 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 responses: '200': description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *500 + default: *501 '422': *8 '404': *7 x-github: @@ -77224,8 +77466,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 - *18 - *20 responses: @@ -77455,8 +77697,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77484,7 +77726,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77549,8 +77791,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77585,9 +77827,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *501 + default: *502 '404': *7 '422': *8 '403': *29 @@ -77611,7 +77853,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -77688,9 +77930,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &503 + default: &504 value: type: file encoding: base64 @@ -77753,9 +77995,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *503 + default: *504 '404': *7 '422': *16 x-github: @@ -77788,7 +78030,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Release description: A release. type: object @@ -77851,7 +78093,7 @@ paths: author: *19 assets: type: array - items: &505 + items: &506 title: Release Asset description: Data related to a release. type: object @@ -78109,9 +78351,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78216,7 +78458,7 @@ paths: parameters: - *254 - *255 - - &506 + - &507 name: asset_id description: The unique identifier of the asset. in: path @@ -78228,9 +78470,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &507 + default: &508 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 @@ -78282,7 +78524,7 @@ paths: parameters: - *254 - *255 - - *506 + - *507 requestBody: required: false content: @@ -78310,9 +78552,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78330,7 +78572,7 @@ paths: parameters: - *254 - *255 - - *506 + - *507 responses: '204': description: Response @@ -78447,9 +78689,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78480,9 +78722,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 '404': *7 x-github: githubCloudOnly: false @@ -78506,7 +78748,7 @@ paths: parameters: - *254 - *255 - - &509 + - &510 name: release_id description: The unique identifier of the release. in: path @@ -78520,9 +78762,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: *504 + schema: *505 examples: - default: *508 + default: *509 '401': description: Unauthorized x-github: @@ -78542,7 +78784,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 requestBody: required: false content: @@ -78606,9 +78848,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 '404': description: Not Found if the discussion category name is invalid content: @@ -78631,7 +78873,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 responses: '204': description: Response @@ -78653,7 +78895,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - *18 - *20 responses: @@ -78663,7 +78905,7 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: default: value: @@ -78745,7 +78987,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - name: name in: query required: true @@ -78771,7 +79013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *505 + schema: *506 examples: response-for-successful-upload: value: @@ -78827,7 +79069,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - 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. @@ -78876,7 +79118,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 requestBody: required: true content: @@ -78939,7 +79181,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - *250 responses: '204': @@ -78982,8 +79224,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *510 - - &512 + - *511 + - &513 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79003,53 +79245,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *511 - *512 - - allOf: - *513 - - *512 - allOf: - *514 - - *512 + - *513 - allOf: - *515 - - *512 + - *513 - allOf: - *516 - - *512 + - *513 - allOf: - *517 - - *512 + - *513 - allOf: - *518 - - *512 + - *513 - allOf: - *519 - - *512 + - *513 - allOf: - *520 - - *512 + - *513 - allOf: - *521 - - *512 + - *513 - allOf: - *522 - - *512 + - *513 - allOf: - *523 - - *512 + - *513 - allOf: - *524 - - *512 + - *513 - allOf: - *525 - - *512 + - *513 - allOf: - *526 - - *512 + - *513 - allOf: - *527 - - *512 + - *513 + - allOf: + - *528 + - *513 examples: default: value: @@ -79100,7 +79342,7 @@ paths: schema: type: boolean default: true - - *528 + - *529 responses: '200': description: Response @@ -79218,7 +79460,7 @@ paths: application/json: schema: *226 examples: - default: &538 + default: &539 value: id: 42 name: super cool ruleset @@ -79267,10 +79509,10 @@ paths: parameters: - *254 - *255 - - *529 - *530 - *531 - *532 + - *533 - *18 - *20 responses: @@ -79278,9 +79520,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *7 '500': *41 x-github: @@ -79303,15 +79545,15 @@ paths: parameters: - *254 - *255 - - *535 + - *536 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 '404': *7 '500': *41 x-github: @@ -79362,7 +79604,7 @@ paths: application/json: schema: *226 examples: - default: *538 + default: *539 '404': *7 '500': *41 put: @@ -79445,7 +79687,7 @@ paths: application/json: schema: *226 examples: - default: *538 + default: *539 '404': *7 '500': *41 delete: @@ -79501,8 +79743,8 @@ paths: - *42 - *20 - *18 - - *539 - *540 + - *541 - *232 - *233 - *234 @@ -79513,7 +79755,7 @@ paths: application/json: schema: type: array - items: &543 + items: &544 type: object properties: number: *48 @@ -79532,8 +79774,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *541 - resolution: *542 + state: *542 + resolution: *543 resolved_at: type: string format: date-time @@ -79747,7 +79989,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -79808,8 +80050,8 @@ paths: schema: type: object properties: - state: *541 - resolution: *542 + state: *542 + resolution: *543 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -79827,7 +80069,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -79914,7 +80156,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &676 + items: &677 type: object properties: type: @@ -80282,14 +80524,14 @@ paths: schema: type: object properties: - reason: &545 + reason: &546 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *544 + placeholder_id: *545 required: - reason - placeholder_id @@ -80306,7 +80548,7 @@ paths: schema: type: object properties: - reason: *545 + reason: *546 expire_at: type: string format: date-time @@ -80365,7 +80607,7 @@ paths: properties: incremental_scans: type: array - items: &546 + items: &547 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80389,15 +80631,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *546 + items: *547 backfill_scans: type: array - items: *546 + items: *547 custom_pattern_backfill_scans: type: array items: allOf: - - *546 + - *547 - type: object properties: pattern_name: @@ -80512,9 +80754,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 '400': *15 '404': *7 x-github: @@ -80698,9 +80940,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: &550 + default: &551 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81038,7 +81280,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -81187,15 +81429,15 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '200': description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *550 + default: *551 '403': *29 '404': *7 x-github: @@ -81221,7 +81463,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 requestBody: required: true content: @@ -81380,10 +81622,10 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *550 - add_credit: *550 + default: *551 + add_credit: *551 '403': *29 '404': *7 '422': @@ -81423,7 +81665,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '202': *99 '400': *15 @@ -81452,7 +81694,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '202': description: Response @@ -81596,7 +81838,7 @@ paths: application/json: schema: type: array - items: &551 + items: &552 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81969,7 +82211,7 @@ paths: application/json: schema: type: array - items: *551 + items: *552 examples: default: value: @@ -82057,7 +82299,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -82151,7 +82393,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &553 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -82246,7 +82488,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -82383,7 +82625,7 @@ paths: application/json: schema: type: array - items: &554 + items: &555 title: Tag protection description: Tag protection type: object @@ -82459,7 +82701,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -82607,7 +82849,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &556 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82619,7 +82861,7 @@ paths: required: - names examples: - default: &556 + default: &557 value: names: - octocat @@ -82674,9 +82916,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *7 '422': *8 x-github: @@ -82699,7 +82941,7 @@ paths: parameters: - *254 - *255 - - &557 + - &558 name: per description: The time frame to display results for. in: query @@ -82728,7 +82970,7 @@ paths: example: 128 clones: type: array - items: &558 + items: &559 title: Traffic type: object properties: @@ -82969,7 +83211,7 @@ paths: parameters: - *254 - *255 - - *557 + - *558 responses: '200': description: Response @@ -82988,7 +83230,7 @@ paths: example: 3782 views: type: array - items: *558 + items: *559 required: - uniques - count @@ -83757,7 +83999,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &559 + text_matches: &560 title: Search Result Text Matches type: array items: @@ -83919,7 +84161,7 @@ paths: enum: - author-date - committer-date - - &560 + - &561 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 @@ -84047,7 +84289,7 @@ paths: type: number node_id: type: string - text_matches: *559 + text_matches: *560 required: - sha - node_id @@ -84239,7 +84481,7 @@ paths: - interactions - created - updated - - *560 + - *561 - *18 - *20 responses: @@ -84328,6 +84570,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -84359,7 +84615,7 @@ paths: type: string format: date-time nullable: true - text_matches: *559 + text_matches: *560 pull_request: type: object properties: @@ -84583,7 +84839,7 @@ paths: enum: - created - updated - - *560 + - *561 - *18 - *20 responses: @@ -84627,7 +84883,7 @@ paths: nullable: true score: type: number - text_matches: *559 + text_matches: *560 required: - id - node_id @@ -84712,7 +84968,7 @@ paths: - forks - help-wanted-issues - updated - - *560 + - *561 - *18 - *20 responses: @@ -84951,7 +85207,7 @@ paths: - admin - pull - push - text_matches: *559 + text_matches: *560 temp_clone_token: type: string allow_merge_commit: @@ -85251,7 +85507,7 @@ paths: type: string format: uri nullable: true - text_matches: *559 + text_matches: *560 related: type: array nullable: true @@ -85442,7 +85698,7 @@ paths: - followers - repositories - joined - - *560 + - *561 - *18 - *20 responses: @@ -85546,7 +85802,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *559 + text_matches: *560 blog: type: string nullable: true @@ -85625,7 +85881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &561 + - &562 name: team_id description: The unique identifier of the team. in: path @@ -85666,7 +85922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *561 + - *562 requestBody: required: true content: @@ -85766,7 +86022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *561 + - *562 responses: '204': description: Response @@ -85797,7 +86053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *561 + - *562 - *42 - *18 - *20 @@ -85810,7 +86066,7 @@ paths: type: array items: *241 examples: - default: *562 + default: *563 headers: Link: *39 x-github: @@ -85839,7 +86095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *561 + - *562 requestBody: required: true content: @@ -85902,7 +86158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *561 + - *562 - *243 responses: '200': @@ -85936,7 +86192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *561 + - *562 - *243 requestBody: required: false @@ -85962,7 +86218,7 @@ paths: application/json: schema: *241 examples: - default: *563 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85987,7 +86243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *561 + - *562 - *243 responses: '204': @@ -86017,7 +86273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *561 + - *562 - *243 - *42 - *18 @@ -86031,7 +86287,7 @@ paths: type: array items: *244 examples: - default: *564 + default: *565 headers: Link: *39 x-github: @@ -86060,7 +86316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 requestBody: required: true @@ -86112,7 +86368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 responses: @@ -86147,7 +86403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 requestBody: @@ -86173,7 +86429,7 @@ paths: application/json: schema: *244 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86198,7 +86454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 responses: @@ -86229,7 +86485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 - name: content @@ -86288,7 +86544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 requestBody: @@ -86350,7 +86606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *561 + - *562 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86408,7 +86664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *561 + - *562 - *243 requestBody: required: true @@ -86467,7 +86723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -86505,7 +86761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *561 + - *562 - name: role description: Filters members returned by their role in the team. in: query @@ -86556,7 +86812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86593,7 +86849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86633,7 +86889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86670,7 +86926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 responses: '200': @@ -86679,7 +86935,7 @@ paths: application/json: schema: *251 examples: - response-if-user-is-a-team-maintainer: *566 + response-if-user-is-a-team-maintainer: *567 '404': *7 x-github: githubCloudOnly: false @@ -86712,7 +86968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 requestBody: required: false @@ -86740,7 +86996,7 @@ paths: application/json: schema: *251 examples: - response-if-users-membership-with-team-is-now-pending: *567 + response-if-users-membership-with-team-is-now-pending: *568 '403': description: Forbidden if team synchronization is set up '422': @@ -86774,7 +87030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86804,7 +87060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -86816,7 +87072,7 @@ paths: type: array items: *252 examples: - default: *568 + default: *569 headers: Link: *39 '404': *7 @@ -86843,7 +87099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *561 + - *562 - *253 responses: '200': @@ -86852,7 +87108,7 @@ paths: application/json: schema: *252 examples: - default: *569 + default: *570 '404': description: Not Found if project is not managed by this team x-github: @@ -86877,7 +87133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *561 + - *562 - *253 requestBody: required: false @@ -86946,7 +87202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *561 + - *562 - *253 responses: '204': @@ -86974,7 +87230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -87016,7 +87272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *561 + - *562 - *254 - *255 responses: @@ -87024,7 +87280,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *570 + schema: *571 examples: alternative-response-with-extra-repository-information: value: @@ -87175,7 +87431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *561 + - *562 - *254 - *255 requestBody: @@ -87227,7 +87483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *561 + - *562 - *254 - *255 responses: @@ -87254,7 +87510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -87266,7 +87522,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *571 + response-if-child-teams-exist: *572 headers: Link: *39 '404': *7 @@ -87299,7 +87555,7 @@ paths: application/json: schema: oneOf: - - &573 + - &574 title: Private User description: Private User type: object @@ -87502,7 +87758,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *572 + - *573 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -87655,7 +87911,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -88053,7 +88309,7 @@ paths: type: integer secrets: type: array - items: &574 + items: &575 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -88169,7 +88425,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *575 examples: default: value: @@ -88315,7 +88571,7 @@ paths: type: array items: *113 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *7 @@ -88582,7 +88838,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &577 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -88623,7 +88879,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &577 + default: &578 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -88668,9 +88924,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '404': *7 x-github: githubCloudOnly: false @@ -88707,9 +88963,9 @@ paths: type: integer machines: type: array - items: *578 + items: *579 examples: - default: *579 + default: *580 '304': *37 '500': *41 '401': *25 @@ -89648,7 +89904,7 @@ paths: type: array items: *198 examples: - default: &592 + default: &593 value: - id: 197 name: hello_docker @@ -89749,7 +90005,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Email description: Email type: object @@ -89814,9 +90070,9 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: - default: &594 + default: &595 value: - email: octocat@github.com verified: true @@ -89891,7 +90147,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -90147,7 +90403,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: GPG Key description: A unique encryption key type: object @@ -90278,7 +90534,7 @@ paths: - subkeys - revoked examples: - default: &605 + default: &606 value: - id: 3 name: Octocat's GPG Key @@ -90363,9 +90619,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: &582 + default: &583 value: id: 3 name: Octocat's GPG Key @@ -90422,7 +90678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &583 + - &584 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -90434,9 +90690,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 '404': *7 '304': *37 '403': *29 @@ -90459,7 +90715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *583 + - *584 responses: '204': description: Response @@ -90650,7 +90906,7 @@ paths: type: array items: *58 examples: - default: *584 + default: *585 headers: Link: *39 '404': *7 @@ -90914,7 +91170,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 title: Key description: Key type: object @@ -91011,9 +91267,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: &586 + default: &587 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91046,15 +91302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '404': *7 '304': *37 '403': *29 @@ -91077,7 +91333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *473 + - *474 responses: '204': description: Response @@ -91110,7 +91366,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -91178,7 +91434,7 @@ paths: - account - plan examples: - default: &588 + default: &589 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -91240,9 +91496,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 headers: Link: *39 '304': *37 @@ -92237,7 +92493,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *191 - - *589 + - *590 responses: '204': description: Response @@ -92310,7 +92566,7 @@ paths: type: array items: *187 examples: - default: *590 + default: *591 headers: Link: *39 '304': *37 @@ -92352,7 +92608,7 @@ paths: - docker - nuget - container - - *591 + - *592 - *20 - *18 responses: @@ -92364,8 +92620,8 @@ paths: type: array items: *198 examples: - default: *592 - '400': *593 + default: *593 + '400': *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92394,7 +92650,7 @@ paths: application/json: schema: *198 examples: - default: &606 + default: &607 value: id: 40201 name: octo-name @@ -92844,9 +93100,9 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: - default: *594 + default: *595 headers: Link: *39 '304': *37 @@ -92959,7 +93215,7 @@ paths: type: array items: *58 examples: - default: &601 + default: &602 summary: Default response value: - id: 1296269 @@ -93303,7 +93559,7 @@ paths: type: array items: *447 examples: - default: *595 + default: *596 headers: Link: *39 '304': *37 @@ -93382,7 +93638,7 @@ paths: application/json: schema: type: array - items: &596 + items: &597 title: Social account description: Social media account type: object @@ -93397,7 +93653,7 @@ paths: - provider - url examples: - default: &597 + default: &598 value: - provider: twitter url: https://twitter.com/github @@ -93459,9 +93715,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *597 + default: *598 '422': *16 '304': *37 '404': *7 @@ -93548,7 +93804,7 @@ paths: application/json: schema: type: array - items: &598 + items: &599 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -93568,7 +93824,7 @@ paths: - title - created_at examples: - default: &613 + default: &614 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93634,9 +93890,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: &599 + default: &600 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93667,7 +93923,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: - - &600 + - &601 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -93679,9 +93935,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 '404': *7 '304': *37 '403': *29 @@ -93704,7 +93960,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: - - *600 + - *601 responses: '204': description: Response @@ -93733,7 +93989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &614 + - &615 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 @@ -93758,11 +94014,11 @@ paths: type: array items: *58 examples: - default-response: *601 + default-response: *602 application/vnd.github.v3.star+json: schema: type: array - items: &615 + items: &616 title: Starred Repository description: Starred Repository type: object @@ -94129,10 +94385,10 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: &603 + default-response: &604 summary: Default response value: login: octocat @@ -94167,7 +94423,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &604 + response-with-git-hub-plan-information: &605 summary: Response with GitHub plan information value: login: octocat @@ -94227,7 +94483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *602 + - *603 - *18 responses: '200': @@ -94274,11 +94530,11 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: *603 - response-with-git-hub-plan-information: *604 + default-response: *604 + response-with-git-hub-plan-information: *605 '404': *7 x-github: githubCloudOnly: false @@ -94440,7 +94696,7 @@ paths: type: array items: *198 examples: - default: *592 + default: *593 '403': *29 '401': *25 x-github: @@ -94844,9 +95100,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: *605 + default: *606 headers: Link: *39 x-github: @@ -95028,7 +95284,7 @@ paths: type: array items: *187 examples: - default: *590 + default: *591 headers: Link: *39 x-github: @@ -95067,7 +95323,7 @@ paths: - docker - nuget - container - - *591 + - *592 - *126 - *20 - *18 @@ -95080,10 +95336,10 @@ paths: type: array items: *198 examples: - default: *592 + default: *593 '403': *29 '401': *25 - '400': *593 + '400': *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95113,7 +95369,7 @@ paths: application/json: schema: *198 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95706,9 +95962,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *608 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95736,9 +95992,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *610 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95766,9 +96022,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95796,9 +96052,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *597 + default: *598 headers: Link: *39 x-github: @@ -95828,9 +96084,9 @@ paths: application/json: schema: type: array - items: *598 + items: *599 examples: - default: *613 + default: *614 headers: Link: *39 x-github: @@ -95855,7 +96111,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *614 + - *615 - *42 - *18 - *20 @@ -95867,11 +96123,11 @@ paths: schema: anyOf: - type: array - items: *615 + items: *616 - type: array items: *58 examples: - default-response: *601 + default-response: *602 headers: Link: *39 x-github: @@ -96030,7 +96286,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &616 + enterprise: &617 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -96088,7 +96344,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &617 + installation: &618 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -96107,7 +96363,7 @@ x-webhooks: required: - id - node_id - organization: &618 + organization: &619 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -96167,13 +96423,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &619 + repository: &620 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &649 + properties: &650 id: description: Unique identifier of the repository example: 42 @@ -96856,7 +97112,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &650 + required: &651 - archive_url - assignees_url - blobs_url @@ -97007,10 +97263,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -97086,11 +97342,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: &620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: &621 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) @@ -97313,11 +97569,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: *621 sender: *19 required: - action @@ -97500,11 +97756,11 @@ x-webhooks: - everyone required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: *621 sender: *19 required: - action @@ -97588,7 +97844,7 @@ x-webhooks: type: string enum: - completed - check_run: &622 + check_run: &623 title: CheckRun description: A check performed on the code of a given code change type: object @@ -97689,7 +97945,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *621 + deployment: *622 details_url: example: https://example.com type: string @@ -97774,9 +98030,9 @@ x-webhooks: - output - app - pull_requests - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -98169,10 +98425,10 @@ x-webhooks: type: string enum: - created - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -98568,10 +98824,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 requested_action: description: The action requested by the user. type: object @@ -98976,10 +99232,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -99956,10 +100212,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -100629,10 +100885,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -101296,10 +101552,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -101599,20 +101855,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &623 + commit_oid: &624 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: *616 - installation: *617 - organization: *618 - ref: &624 + enterprise: *617 + installation: *618 + organization: *619 + ref: &625 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: *619 + repository: *620 sender: *19 required: - action @@ -101930,12 +102186,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102192,12 +102448,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102518,12 +102774,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102780,16 +103036,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *619 + repository: *620 sender: *19 required: - action @@ -103015,12 +103271,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -103277,10 +103533,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -103360,18 +103616,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *618 - pusher_type: &625 + organization: *619 + pusher_type: &626 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &626 + ref: &627 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -103381,7 +103637,7 @@ x-webhooks: enum: - tag - branch - repository: *619 + repository: *620 sender: *19 required: - ref @@ -103464,9 +103720,9 @@ x-webhooks: enum: - created definition: *212 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103551,9 +103807,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103631,9 +103887,9 @@ x-webhooks: enum: - updated definition: *212 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103710,10 +103966,10 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - repository: *619 - organization: *618 + enterprise: *617 + installation: *618 + repository: *620 + organization: *619 sender: *19 new_property_values: type: array @@ -103798,18 +104054,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - pusher_type: *625 - ref: *626 + enterprise: *617 + installation: *618 + organization: *619 + pusher_type: *626 + ref: *627 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *619 + repository: *620 sender: *19 required: - ref @@ -103894,10 +104150,10 @@ x-webhooks: enum: - auto_dismissed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -103982,10 +104238,10 @@ x-webhooks: enum: - auto_reopened alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104070,10 +104326,10 @@ x-webhooks: enum: - created alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104156,10 +104412,10 @@ x-webhooks: enum: - dismissed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104242,10 +104498,10 @@ x-webhooks: enum: - fixed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104329,10 +104585,10 @@ x-webhooks: enum: - reintroduced alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104415,10 +104671,10 @@ x-webhooks: enum: - reopened alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104495,9 +104751,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - key: &627 + enterprise: *617 + installation: *618 + key: &628 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -104533,8 +104789,8 @@ x-webhooks: - verified - created_at - read_only - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -104611,11 +104867,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - key: *627 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + key: *628 + organization: *619 + repository: *620 sender: *19 required: - action @@ -105176,12 +105432,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: &631 + workflow: &632 title: Workflow type: object nullable: true @@ -105910,10 +106166,10 @@ x-webhooks: deployment: *409 pull_requests: type: array - items: *493 - repository: *619 - organization: *618 - installation: *617 + items: *494 + repository: *620 + organization: *619 + installation: *618 sender: *19 responses: '200': @@ -105984,7 +106240,7 @@ x-webhooks: type: string enum: - approved - approver: &628 + approver: &629 type: object properties: avatar_url: @@ -106027,11 +106283,11 @@ x-webhooks: type: string comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: &629 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + reviewers: &630 type: array items: type: object @@ -106110,7 +106366,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &630 + workflow_job_run: &631 type: object properties: conclusion: @@ -106841,18 +107097,18 @@ x-webhooks: type: string enum: - rejected - approver: *628 + approver: *629 comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: *629 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + reviewers: *630 sender: *19 since: type: string - workflow_job_run: *630 + workflow_job_run: *631 workflow_job_runs: type: array items: @@ -107556,13 +107812,13 @@ x-webhooks: type: string enum: - requested - enterprise: *616 + enterprise: *617 environment: type: string - installation: *617 - organization: *618 - repository: *619 - requestor: &636 + installation: *618 + organization: *619 + repository: *620 + requestor: &637 title: User type: object nullable: true @@ -109461,12 +109717,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Deployment Workflow Run type: object @@ -110146,7 +110402,7 @@ x-webhooks: type: string enum: - answered - answer: &634 + answer: &635 type: object properties: author_association: @@ -110303,7 +110559,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &632 + discussion: &633 title: Discussion description: A Discussion in a repository. type: object @@ -110611,10 +110867,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110741,11 +110997,11 @@ x-webhooks: - from required: - category - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110828,11 +111084,11 @@ x-webhooks: type: string enum: - closed - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110914,7 +111170,7 @@ x-webhooks: type: string enum: - created - comment: &633 + comment: &634 type: object properties: author_association: @@ -111071,11 +111327,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111158,12 +111414,12 @@ x-webhooks: type: string enum: - deleted - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *634 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111258,12 +111514,12 @@ x-webhooks: - from required: - body - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *634 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111347,11 +111603,11 @@ x-webhooks: type: string enum: - created - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111433,11 +111689,11 @@ x-webhooks: type: string enum: - deleted - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111537,11 +111793,11 @@ x-webhooks: type: string required: - from - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111623,10 +111879,10 @@ x-webhooks: type: string enum: - labeled - discussion: *632 - enterprise: *616 - installation: *617 - label: &635 + discussion: *633 + enterprise: *617 + installation: *618 + label: &636 title: Label type: object properties: @@ -111658,8 +111914,8 @@ x-webhooks: - color - default - description - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111742,11 +111998,11 @@ x-webhooks: type: string enum: - locked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111828,11 +112084,11 @@ x-webhooks: type: string enum: - pinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111914,11 +112170,11 @@ x-webhooks: type: string enum: - reopened - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112003,16 +112259,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *632 - new_repository: *619 + new_discussion: *633 + new_repository: *620 required: - new_discussion - new_repository - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112095,10 +112351,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *632 - old_answer: *634 - organization: *618 - repository: *619 + discussion: *633 + old_answer: *635 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112180,12 +112436,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *632 - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112268,11 +112524,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112354,11 +112610,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112431,7 +112687,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *616 + enterprise: *617 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -113091,9 +113347,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - forkee @@ -113239,9 +113495,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pages: description: The pages that were updated. type: array @@ -113278,7 +113534,7 @@ x-webhooks: - action - sha - html_url - repository: *619 + repository: *620 sender: *19 required: - pages @@ -113354,10 +113610,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: &637 + organization: *619 + repositories: &638 description: An array of repository objects that the installation can access. type: array @@ -113383,8 +113639,8 @@ x-webhooks: - name - full_name - private - repository: *619 - requester: *636 + repository: *620 + requester: *637 sender: *19 required: - action @@ -113459,11 +113715,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -113539,11 +113795,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -113619,10 +113875,10 @@ x-webhooks: type: string enum: - added - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories_added: &638 + organization: *619 + repositories_added: &639 description: An array of repository objects, which were added to the installation. type: array @@ -113668,15 +113924,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *619 - repository_selection: &639 + repository: *620 + repository_selection: &640 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *636 + requester: *637 sender: *19 required: - action @@ -113755,10 +114011,10 @@ x-webhooks: type: string enum: - removed - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories_added: *638 + organization: *619 + repositories_added: *639 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113785,9 +114041,9 @@ x-webhooks: - name - full_name - private - repository: *619 - repository_selection: *639 - requester: *636 + repository: *620 + repository_selection: *640 + requester: *637 sender: *19 required: - action @@ -113866,11 +114122,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -114048,10 +114304,10 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 target_type: type: string @@ -114130,11 +114386,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -114386,8 +114642,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115181,6 +115437,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115528,8 +115798,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -115609,7 +115879,7 @@ x-webhooks: type: string enum: - deleted - comment: &640 + comment: &641 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -115774,8 +116044,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116565,6 +116835,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116914,8 +117198,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -116995,7 +117279,7 @@ x-webhooks: type: string enum: - edited - changes: &668 + changes: &669 description: The changes to the comment. type: object properties: @@ -117007,9 +117291,9 @@ x-webhooks: type: string required: - from - comment: *640 - enterprise: *616 - installation: *617 + comment: *641 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117802,6 +118086,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118149,8 +118447,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -118232,10 +118530,10 @@ x-webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - issue: &643 + assignee: *637 + enterprise: *617 + installation: *618 + issue: &644 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119024,6 +119322,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119139,8 +119451,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -119220,8 +119532,8 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120015,6 +120327,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120265,8 +120591,8 @@ x-webhooks: required: - state - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -120345,8 +120671,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121129,6 +121455,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121243,8 +121583,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -121323,8 +121663,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122131,6 +122471,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122224,7 +122578,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &641 + milestone: &642 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122362,8 +122716,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -122462,8 +122816,8 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123252,6 +123606,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123367,9 +123735,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -123449,8 +123817,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124238,6 +124606,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124353,9 +124735,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -124435,8 +124817,8 @@ x-webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125248,6 +125630,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125340,8 +125736,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -125420,8 +125816,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126227,6 +126623,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126319,9 +126729,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *641 - organization: *618 - repository: *619 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -127189,6 +127599,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127768,8 +128192,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128558,6 +128982,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128672,8 +129110,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -128753,9 +129191,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *616 - installation: *617 - issue: &642 + enterprise: *617 + installation: *618 + issue: &643 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129538,6 +129976,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129652,8 +130104,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -129732,8 +130184,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130543,6 +130995,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130636,8 +131102,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -131503,6 +131969,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132085,11 +132565,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *643 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132170,7 +132650,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &671 + assignee: &672 title: User type: object nullable: true @@ -132240,11 +132720,11 @@ x-webhooks: required: - login - id - enterprise: *616 - installation: *617 - issue: *643 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *644 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132323,12 +132803,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - issue: *643 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *644 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132408,8 +132888,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133219,6 +133699,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133311,8 +133805,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133392,11 +133886,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *643 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133475,11 +133969,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133557,11 +134051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133671,11 +134165,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133757,9 +134251,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: &644 + enterprise: *617 + installation: *618 + marketplace_purchase: &645 title: Marketplace Purchase type: object required: @@ -133842,8 +134336,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: &645 + organization: *619 + previous_marketplace_purchase: &646 title: Marketplace Purchase type: object properties: @@ -133923,7 +134417,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134003,10 +134497,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134089,7 +134583,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134171,10 +134665,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134256,7 +134750,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134337,8 +134831,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 marketplace_purchase: title: Marketplace Purchase type: object @@ -134420,9 +134914,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + organization: *619 + previous_marketplace_purchase: *646 + repository: *620 sender: *19 required: - action @@ -134502,12 +134996,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 + previous_marketplace_purchase: *646 + repository: *620 sender: *19 required: - action @@ -134609,11 +135103,11 @@ x-webhooks: type: string required: - to - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134713,11 +135207,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134796,11 +135290,11 @@ x-webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134878,11 +135372,11 @@ x-webhooks: type: string enum: - added - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134958,7 +135452,7 @@ x-webhooks: required: - login - id - team: &646 + team: &647 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135148,11 +135642,11 @@ x-webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135229,7 +135723,7 @@ x-webhooks: required: - login - id - team: *646 + team: *647 required: - action - scope @@ -135311,8 +135805,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *617 - merge_group: &648 + installation: *618 + merge_group: &649 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -135331,15 +135825,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *647 + head_commit: *648 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135425,10 +135919,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *617 - merge_group: *648 - organization: *618 - repository: *619 + installation: *618 + merge_group: *649 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135501,7 +135995,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *617 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -135609,16 +136103,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *617 - organization: *618 + installation: *618 + organization: *619 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -135699,11 +136193,11 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135782,9 +136276,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - milestone: &651 + enterprise: *617 + installation: *618 + milestone: &652 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135921,8 +136415,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136001,11 +136495,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136115,11 +136609,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136199,11 +136693,11 @@ x-webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - milestone: *651 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *652 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136282,11 +136776,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *637 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136365,11 +136859,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *637 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136448,9 +136942,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - membership: &652 + enterprise: *617 + installation: *618 + membership: &653 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -136542,8 +137036,8 @@ x-webhooks: - role - organization_url - user - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136621,11 +137115,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136704,8 +137198,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -136821,10 +137315,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 - user: *636 + user: *637 required: - action - invitation @@ -136902,11 +137396,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136993,11 +137487,11 @@ x-webhooks: properties: from: type: string - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -137073,9 +137567,9 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 package: description: Information about the package. type: object @@ -137574,7 +138068,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &653 + items: &654 title: Ruby Gems metadata type: object properties: @@ -137669,7 +138163,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -137745,9 +138239,9 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 package: description: Information about the package. type: object @@ -138100,7 +138594,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *653 + items: *654 source_url: type: string format: uri @@ -138170,7 +138664,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -138347,12 +138841,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *616 + enterprise: *617 id: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - id @@ -138432,7 +138926,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &654 + personal_access_token_request: &655 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -138578,10 +139072,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *616 - organization: *618 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138660,11 +139154,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *654 - enterprise: *616 - organization: *618 + personal_access_token_request: *655 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138742,11 +139236,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *654 - enterprise: *616 - organization: *618 + personal_access_token_request: *655 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138823,11 +139317,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *654 - organization: *618 - enterprise: *616 + personal_access_token_request: *655 + organization: *619 + enterprise: *617 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138931,7 +139425,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *655 + last_response: *656 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -138963,8 +139457,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 zen: description: Random string of GitHub zen. @@ -139209,10 +139703,10 @@ x-webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: &656 + enterprise: *617 + installation: *618 + organization: *619 + project_card: &657 title: Project Card type: object properties: @@ -139331,7 +139825,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -139412,11 +139906,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_card: *656 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_card: *657 + repository: *620 sender: *19 required: - action @@ -139496,9 +139990,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 project_card: title: Project Card type: object @@ -139626,8 +140120,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -139721,11 +140215,11 @@ x-webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: *656 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_card: *657 + repository: *620 sender: *19 required: - action @@ -139819,9 +140313,9 @@ x-webhooks: - from required: - column_id - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 project_card: allOf: - title: Project Card @@ -140011,7 +140505,7 @@ x-webhooks: type: string required: - after_id - repository: *619 + repository: *620 sender: *19 required: - action @@ -140091,10 +140585,10 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - organization: *618 - project: &658 + enterprise: *617 + installation: *618 + organization: *619 + project: &659 title: Project type: object properties: @@ -140218,7 +140712,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -140298,10 +140792,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_column: &657 + enterprise: *617 + installation: *618 + organization: *619 + project_column: &658 title: Project Column type: object properties: @@ -140340,7 +140834,7 @@ x-webhooks: - name - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -140419,18 +140913,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -140520,11 +141014,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 + repository: *620 sender: *19 required: - action @@ -140604,11 +141098,11 @@ x-webhooks: type: string enum: - moved - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 + repository: *620 sender: *19 required: - action @@ -140688,11 +141182,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -140772,18 +141266,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project: *658 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -140885,11 +141379,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -140968,11 +141462,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -141053,9 +141547,9 @@ x-webhooks: type: string enum: - closed - installation: *617 - organization: *618 - projects_v2: &659 + installation: *618 + organization: *619 + projects_v2: &660 title: Projects v2 Project description: A projects v2 project type: object @@ -141198,9 +141692,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141281,9 +141775,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141400,9 +141894,9 @@ x-webhooks: type: string to: type: string - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141485,7 +141979,7 @@ x-webhooks: type: string enum: - archived - changes: &663 + changes: &664 type: object properties: archived_at: @@ -141499,9 +141993,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *617 - organization: *618 - projects_v2_item: &660 + installation: *618 + organization: *619 + projects_v2_item: &661 title: Projects v2 Item description: An item belonging to a project type: object @@ -141635,9 +142129,9 @@ x-webhooks: nullable: true to: type: string - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141719,9 +142213,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141802,9 +142296,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141910,7 +142404,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &661 + - &662 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -141928,7 +142422,7 @@ x-webhooks: required: - id - name - - &662 + - &663 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -141951,8 +142445,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *661 - *662 + - *663 required: - field_value - type: object @@ -141968,9 +142462,9 @@ x-webhooks: nullable: true required: - body - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142065,9 +142559,9 @@ x-webhooks: to: type: string nullable: true - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142150,10 +142644,10 @@ x-webhooks: type: string enum: - restored - changes: *663 - installation: *617 - organization: *618 - projects_v2_item: *660 + changes: *664 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142235,9 +142729,9 @@ x-webhooks: type: string enum: - reopened - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -142318,9 +142812,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_status_update: &664 + installation: *618 + organization: *619 + projects_v2_status_update: &665 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -142447,9 +142941,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_status_update: *664 + installation: *618 + organization: *619 + projects_v2_status_update: *665 sender: *19 required: - action @@ -142585,9 +143079,9 @@ x-webhooks: type: string format: date nullable: true - installation: *617 - organization: *618 - projects_v2_status_update: *664 + installation: *618 + organization: *619 + projects_v2_status_update: *665 sender: *19 required: - action @@ -142658,10 +143152,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - repository @@ -142738,13 +143232,13 @@ x-webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - number: &665 + assignee: *637 + enterprise: *617 + installation: *618 + number: &666 description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -145027,7 +145521,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -145109,11 +145603,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -147391,7 +147885,7 @@ x-webhooks: - draft reason: type: string - repository: *619 + repository: *620 sender: *19 required: - action @@ -147473,11 +147967,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -149755,7 +150249,7 @@ x-webhooks: - draft reason: type: string - repository: *619 + repository: *620 sender: *19 required: - action @@ -149837,13 +150331,13 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: &666 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: &667 allOf: - - *493 + - *494 - type: object properties: allow_auto_merge: @@ -149905,7 +150399,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *619 + repository: *620 sender: *19 required: - action @@ -149986,12 +150480,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -150071,11 +150565,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *616 - milestone: *476 - number: *665 - organization: *618 - pull_request: &667 + enterprise: *617 + milestone: *477 + number: *666 + organization: *619 + pull_request: &668 title: Pull Request type: object properties: @@ -152338,7 +152832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -152417,11 +152911,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -154703,7 +155197,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *619 + repository: *620 sender: *19 required: - action @@ -154827,12 +155321,12 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -154912,11 +155406,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -157183,7 +157677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -157263,11 +157757,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 - label: *635 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + label: *636 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -159549,7 +160043,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -159630,10 +160124,10 @@ x-webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -161913,7 +162407,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -161993,12 +162487,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *616 - milestone: *476 - number: *665 - organization: *618 - pull_request: *667 - repository: *619 + enterprise: *617 + milestone: *477 + number: *666 + organization: *619 + pull_request: *668 + repository: *620 sender: *19 required: - action @@ -162077,12 +162571,12 @@ x-webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162163,12 +162657,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162248,12 +162742,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162619,9 +163113,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -164791,7 +165285,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -164871,7 +165365,7 @@ x-webhooks: type: string enum: - deleted - comment: &669 + comment: &670 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165156,9 +165650,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -167316,7 +167810,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -167396,11 +167890,11 @@ x-webhooks: type: string enum: - edited - changes: *668 - comment: *669 - enterprise: *616 - installation: *617 - organization: *618 + changes: *669 + comment: *670 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -169561,7 +170055,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -169642,9 +170136,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -171817,7 +172311,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 review: description: The review that was affected. type: object @@ -172060,9 +172554,9 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -174116,8 +174610,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: &670 + repository: *620 + review: &671 description: The review that was affected. type: object properties: @@ -174346,12 +174840,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -176634,7 +177128,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_reviewer: title: User type: object @@ -176718,12 +177212,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -179013,7 +179507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179205,12 +179699,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -181495,7 +181989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_reviewer: title: User type: object @@ -181580,12 +182074,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -183861,7 +184355,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184042,9 +184536,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -186219,8 +186713,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: *670 + repository: *620 + review: *671 sender: *19 required: - action @@ -186300,9 +186794,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -188372,7 +188866,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 sender: *19 thread: type: object @@ -188755,9 +189249,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -190813,7 +191307,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 sender: *19 thread: type: object @@ -191199,10 +191693,10 @@ x-webhooks: type: string before: type: string - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -193473,7 +193967,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -193555,11 +194049,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *671 - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + assignee: *672 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -195842,7 +196336,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -195921,11 +196415,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - label: *635 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + label: *636 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -198198,7 +198692,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -198279,10 +198773,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -200547,7 +201041,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -200747,7 +201241,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *616 + enterprise: *617 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -200839,8 +201333,8 @@ x-webhooks: - url - author - committer - installation: *617 - organization: *618 + installation: *618 + organization: *619 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201415,9 +201909,9 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 registry_package: type: object properties: @@ -201863,7 +202357,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *653 + items: *654 summary: type: string tag_name: @@ -201917,7 +202411,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -201995,9 +202489,9 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 registry_package: type: object properties: @@ -202305,7 +202799,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *653 + items: *654 summary: type: string tag_name: @@ -202354,7 +202848,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -202431,10 +202925,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - release: &672 + enterprise: *617 + installation: *618 + organization: *619 + release: &673 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202739,7 +203233,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *619 + repository: *620 sender: *19 required: - action @@ -202816,11 +203310,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -202928,11 +203422,11 @@ x-webhooks: type: boolean required: - to - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -203010,9 +203504,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -203321,7 +203815,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *619 + repository: *620 sender: *19 required: - action @@ -203397,10 +203891,10 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - release: &673 + enterprise: *617 + installation: *618 + organization: *619 + release: &674 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -203706,7 +204200,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *619 + repository: *620 sender: *19 required: - action @@ -203782,11 +204276,11 @@ x-webhooks: type: string enum: - released - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -203862,11 +204356,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *616 - installation: *617 - organization: *618 - release: *673 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *674 + repository: *620 sender: *19 required: - action @@ -203942,11 +204436,11 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *547 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + repository_advisory: *548 sender: *19 required: - action @@ -204022,11 +204516,11 @@ x-webhooks: type: string enum: - reported - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *547 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + repository_advisory: *548 sender: *19 required: - action @@ -204102,10 +204596,10 @@ x-webhooks: type: string enum: - archived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204182,10 +204676,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204263,10 +204757,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204350,10 +204844,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204465,10 +204959,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204540,10 +205034,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 status: type: string @@ -204624,10 +205118,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204704,10 +205198,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204801,10 +205295,10 @@ x-webhooks: - name required: - repository - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204884,10 +205378,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 sender: *19 required: @@ -204966,10 +205460,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 sender: *19 required: @@ -205048,10 +205542,10 @@ x-webhooks: type: string enum: - edited - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 changes: type: object @@ -205356,10 +205850,10 @@ x-webhooks: - from required: - owner - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205437,10 +205931,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205518,7 +206012,7 @@ x-webhooks: type: string enum: - create - alert: &674 + alert: &675 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -205639,10 +206133,10 @@ x-webhooks: type: string enum: - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205848,10 +206342,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205929,11 +206423,11 @@ x-webhooks: type: string enum: - reopen - alert: *674 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206132,10 +206626,10 @@ x-webhooks: enum: - fixed - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206213,7 +206707,7 @@ x-webhooks: type: string enum: - created - alert: &675 + alert: &676 type: object properties: number: *48 @@ -206319,10 +206813,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206403,11 +206897,11 @@ x-webhooks: type: string enum: - created - alert: *675 - installation: *617 - location: *676 - organization: *618 - repository: *619 + alert: *676 + installation: *618 + location: *677 + organization: *619 + repository: *620 sender: *19 required: - location @@ -206645,11 +207139,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206727,11 +207221,11 @@ x-webhooks: type: string enum: - reopened - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206809,11 +207303,11 @@ x-webhooks: type: string enum: - resolved - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206891,11 +207385,11 @@ x-webhooks: type: string enum: - validated - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206971,11 +207465,11 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: &677 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + security_advisory: &678 description: The details of the security advisory, including summary, description, and severity. type: object @@ -207158,11 +207652,11 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: *677 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + security_advisory: *678 sender: *19 required: - action @@ -207235,10 +207729,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -207423,9 +207917,9 @@ x-webhooks: type: object properties: security_and_analysis: *219 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: *265 sender: *19 required: @@ -207504,12 +207998,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: &678 + sponsorship: &679 type: object properties: created_at: @@ -207810,12 +208304,12 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - sponsorship @@ -207903,12 +208397,12 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -207985,17 +208479,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &679 + effective_date: &680 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: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - sponsorship @@ -208069,7 +208563,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &680 + changes: &681 type: object properties: tier: @@ -208113,13 +208607,13 @@ x-webhooks: - from required: - tier - effective_date: *679 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + effective_date: *680 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -208196,13 +208690,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *680 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + changes: *681 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -208276,10 +208770,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208362,10 +208856,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208784,15 +209278,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *616 + enterprise: *617 id: description: The unique identifier of the status. type: integer - installation: *617 + installation: *618 name: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 sha: description: The Commit SHA. @@ -208907,9 +209401,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -208999,9 +209493,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209091,9 +209585,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209183,9 +209677,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209262,12 +209756,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - team: &681 + team: &682 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -209457,9 +209951,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -209917,7 +210411,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -209993,9 +210487,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -210453,7 +210947,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -210530,9 +211024,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -210990,7 +211484,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -211134,9 +211628,9 @@ x-webhooks: - from required: - permissions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -211594,7 +212088,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - changes @@ -211672,9 +212166,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -212132,7 +212626,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -212208,10 +212702,10 @@ x-webhooks: type: string enum: - started - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -212284,16 +212778,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *616 + enterprise: *617 inputs: type: object nullable: true additionalProperties: true - installation: *617 - organization: *618 + installation: *618 + organization: *619 ref: type: string - repository: *619 + repository: *620 sender: *19 workflow: type: string @@ -212375,10 +212869,10 @@ x-webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: allOf: @@ -212694,10 +213188,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: allOf: @@ -213036,10 +213530,10 @@ x-webhooks: type: string enum: - queued - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: type: object @@ -213253,10 +213747,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: type: object @@ -213472,12 +213966,12 @@ x-webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object @@ -214476,12 +214970,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object @@ -215465,12 +215959,12 @@ x-webhooks: type: string enum: - requested - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index e4f881d50..4321e3c33 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -23862,6 +23862,26 @@ "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" + ] } }, "required": [ @@ -38774,6 +38794,26 @@ "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" + ] } }, "required": [ @@ -44382,6 +44422,26 @@ "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" + ] } }, "required": [ @@ -79135,6 +79195,26 @@ "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" + ] } }, "required": [ @@ -89132,6 +89212,26 @@ "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" + ] } }, "required": [ @@ -260221,6 +260321,26 @@ "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" + ] } }, "required": [ @@ -279824,6 +279944,26 @@ "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" + ] } }, "required": [ @@ -282240,6 +282380,26 @@ "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" + ] } }, "required": [ @@ -287922,6 +288082,26 @@ "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" + ] } }, "required": [ @@ -291433,6 +291613,26 @@ "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" + ] } }, "required": [ @@ -294820,6 +295020,26 @@ "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" + ] } }, "required": [ @@ -297213,6 +297433,26 @@ "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" + ] } }, "required": [ @@ -299632,6 +299872,26 @@ "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" + ] } }, "required": [ @@ -301854,6 +302114,26 @@ "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" + ] } }, "required": [ @@ -313572,494 +313852,9964 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-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" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + }, + "post": { + "summary": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "tags": [ + "reactions" + ], + "operationId": "reactions/create-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reactions/reactions#create-reaction-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": { + "content": { + "type": "string", + "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + } + }, + "required": [ + "content" + ] + }, + "examples": { + "default": { + "value": { + "content": "heart" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { + "delete": { + "summary": "Delete an issue reaction", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue).", + "tags": [ + "reactions" + ], + "operationId": "reactions/delete-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction" + }, + "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": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#remove-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#list-sub-issues" + }, + "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", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#add-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + } }, - { - "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": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" + "message": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" + "status": { + "type": "string" } } } @@ -314071,8 +323821,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -314088,122 +323838,42 @@ "errors": { "type": "array", "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } + "type": "string" } } } } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction" - }, - "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": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } } } - ], - "responses": { - "204": { - "description": "Response" - } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "sub-issues" } } }, @@ -323484,6 +333154,26 @@ "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" + ] } }, "required": [ @@ -419637,6 +429327,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -463258,6 +472968,26 @@ "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" + ] } }, "required": [ @@ -491838,6 +501568,26 @@ "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" + ] } }, "required": [ @@ -494610,6 +504360,26 @@ "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" + ] } }, "required": [ @@ -497384,6 +507154,26 @@ "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" + ] } }, "required": [ @@ -506476,6 +516266,26 @@ "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" + ] } }, "required": [ @@ -509250,6 +519060,26 @@ "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" + ] } }, "required": [ @@ -669404,6 +679234,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -673007,6 +682857,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -676634,6 +686504,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -679869,6 +689759,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -682679,6 +692589,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -685678,6 +695608,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -688498,6 +698448,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -691491,6 +701461,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -694335,6 +704325,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -697205,6 +707215,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -700001,6 +710031,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -702875,6 +712925,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -704767,6 +714837,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -707565,6 +717655,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -710388,6 +720498,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -713078,6 +723208,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -714967,6 +725117,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -717869,6 +728039,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -720674,6 +730864,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -723542,6 +733752,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -726317,6 +736547,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -1072846,6 +1083096,26 @@ "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" + ] } }, "required": [ @@ -1075543,6 +1085813,26 @@ "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" + ] } }, "required": [ @@ -1079068,6 +1089358,26 @@ "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" + ] } }, "required": [ @@ -1081765,6 +1092075,26 @@ "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" + ] } }, "required": [ @@ -1085290,6 +1095620,26 @@ "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" + ] } }, "required": [ @@ -1087987,6 +1098337,26 @@ "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" + ] } }, "required": [ @@ -1091512,6 +1101882,26 @@ "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" + ] } }, "required": [ @@ -1094209,6 +1104599,26 @@ "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" + ] } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 5c3474180..39fe70b11 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &549 + - &550 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9203,14 +9203,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &541 + state: &542 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: &542 + resolution: &543 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -10174,6 +10174,20 @@ paths: - 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 required: &451 - assignee - closed_at @@ -10761,7 +10775,7 @@ paths: url: type: string format: uri - user: &572 + user: &573 title: Public User description: Public User type: object @@ -14146,7 +14160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &479 + - &480 name: all description: If `true`, show notifications marked as read. in: query @@ -14154,7 +14168,7 @@ paths: schema: type: boolean default: false - - &480 + - &481 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14164,7 +14178,7 @@ paths: type: boolean default: false - *65 - - &481 + - &482 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: @@ -14620,7 +14634,7 @@ paths: - url - subscription_url examples: - default: &482 + default: &483 value: - id: '1' repository: @@ -15169,7 +15183,7 @@ paths: properties: *92 required: *93 examples: - default: &590 + default: &591 value: - login: github id: 1 @@ -16335,7 +16349,7 @@ paths: type: array items: *58 examples: - default: &584 + default: &585 value: total_count: 1 repositories: @@ -17149,7 +17163,7 @@ paths: type: array items: *113 examples: - default: &575 + default: &576 value: total_count: 1 repositories: @@ -27410,7 +27424,7 @@ paths: parameters: - *94 - *191 - - &589 + - &590 name: repo_name description: repo_name parameter in: path @@ -28429,7 +28443,7 @@ paths: - nuget - container - *94 - - &591 + - &592 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28470,7 +28484,7 @@ paths: default: *199 '403': *29 '401': *25 - '400': &593 + '400': &594 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -31736,7 +31750,7 @@ paths: - *94 - *18 - *20 - - &528 + - &529 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32014,7 +32028,7 @@ paths: type: object description: A repository rule. oneOf: - - &510 + - &511 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32026,7 +32040,7 @@ paths: type: string enum: - creation - - &511 + - &512 title: update description: Only allow users with bypass permission to update matching refs. @@ -32047,7 +32061,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &513 + - &514 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32059,7 +32073,7 @@ paths: type: string enum: - deletion - - &514 + - &515 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32071,7 +32085,7 @@ paths: type: string enum: - required_linear_history - - &515 + - &516 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32149,7 +32163,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &516 + - &517 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32173,7 +32187,7 @@ paths: type: string required: - required_deployment_environments - - &517 + - &518 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32185,7 +32199,7 @@ paths: type: string enum: - required_signatures - - &518 + - &519 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32231,7 +32245,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &519 + - &520 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32279,7 +32293,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &520 + - &521 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32291,7 +32305,7 @@ paths: type: string enum: - non_fast_forward - - &521 + - &522 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32327,7 +32341,7 @@ paths: required: - operator - pattern - - &522 + - &523 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32363,7 +32377,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32399,7 +32413,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32435,7 +32449,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32561,7 +32575,7 @@ paths: maximum: 100 required: - max_file_size - - &526 + - &527 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32611,7 +32625,7 @@ paths: - repository_id required: - workflows - - &527 + - &528 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32848,7 +32862,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &529 + - &530 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 @@ -32863,7 +32877,7 @@ paths: in: query schema: type: string - - &530 + - &531 name: time_period description: |- The time period to filter by. @@ -32879,14 +32893,14 @@ paths: - week - month default: day - - &531 + - &532 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 - - &532 + - &533 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32906,7 +32920,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 title: Rule Suites description: Response type: array @@ -32961,7 +32975,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &534 + default: &535 value: - id: 21 actor_id: 12 @@ -33005,7 +33019,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &535 + - &536 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33021,7 +33035,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &537 title: Rule Suite description: Response type: object @@ -33120,7 +33134,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &537 + default: &538 value: id: 21 actor_id: 12 @@ -33338,7 +33352,7 @@ paths: - *42 - *20 - *18 - - &539 + - &540 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 @@ -33348,7 +33362,7 @@ paths: required: false schema: type: string - - &540 + - &541 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 @@ -33440,7 +33454,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 description: A repository security advisory. type: object properties: @@ -33731,7 +33745,7 @@ paths: - private_fork additionalProperties: false examples: - default: &548 + default: &549 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34205,7 +34219,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &608 type: object properties: total_minutes_used: @@ -34275,7 +34289,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &608 + default: &609 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34311,7 +34325,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &610 type: object properties: total_gigabytes_bandwidth_used: @@ -34329,7 +34343,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &610 + default: &611 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34361,7 +34375,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &612 type: object properties: days_left_in_billing_cycle: @@ -34379,7 +34393,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &612 + default: &613 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35300,7 +35314,7 @@ paths: - updated_at - url examples: - default: &562 + default: &563 value: - author: login: octocat @@ -35548,7 +35562,7 @@ paths: application/json: schema: *241 examples: - default: &563 + default: &564 value: author: login: octocat @@ -35731,7 +35745,7 @@ paths: - updated_at - url examples: - default: &564 + default: &565 value: - author: login: octocat @@ -35957,7 +35971,7 @@ paths: application/json: schema: *244 examples: - default: &565 + default: &566 value: author: login: octocat @@ -36573,7 +36587,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &566 + response-if-user-is-a-team-maintainer: &567 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36638,7 +36652,7 @@ paths: application/json: schema: *251 examples: - response-if-users-membership-with-team-is-now-pending: &567 + response-if-users-membership-with-team-is-now-pending: &568 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36780,7 +36794,7 @@ paths: - updated_at - permissions examples: - default: &568 + default: &569 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36857,7 +36871,7 @@ paths: application/json: schema: *252 examples: - default: &569 + default: &570 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37060,7 +37074,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &570 + schema: &571 title: Team Repository description: A team's access to a repository. type: object @@ -37717,7 +37731,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: &571 + response-if-child-teams-exist: &572 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49391,7 +49405,7 @@ paths: check. type: array items: *333 - deployment: &621 + deployment: &622 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -50305,7 +50319,7 @@ paths: type: string format: date-time nullable: true - head_commit: &647 + head_commit: &648 title: Simple Commit description: A commit. type: object @@ -54249,14 +54263,14 @@ paths: type: integer machines: type: array - items: &578 + items: &579 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *372 required: *373 examples: - default: &579 + default: &580 value: total_count: 2 machines: @@ -55785,7 +55799,7 @@ paths: type: array items: *382 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56073,7 +56087,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Pull Request Simple description: Pull Request Simple type: object @@ -56302,7 +56316,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &490 + auto_merge: &491 title: Auto merge description: The status of auto merging a pull request. type: object @@ -56365,7 +56379,7 @@ paths: - author_association - auto_merge examples: - default: &489 + default: &490 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56922,7 +56936,7 @@ paths: application/json: schema: *382 examples: - default: &475 + default: &476 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57539,7 +57553,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Status description: The status of a commit. type: object @@ -58475,7 +58489,7 @@ paths: - size - type - url - - &502 + - &503 title: Content File description: Content File type: object @@ -59089,7 +59103,7 @@ paths: items: type: object properties: - placeholder_id: &544 + placeholder_id: &545 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64829,7 +64843,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &655 + last_response: &656 title: Hook Response type: object properties: @@ -65786,7 +65800,7 @@ paths: parameters: - *254 - *255 - - &602 + - &603 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -66220,7 +66234,7 @@ paths: type: array items: *447 examples: - default: &595 + default: &596 value: - id: 1 repository: @@ -66612,7 +66626,7 @@ paths: type: array items: *75 examples: - default: + default: &458 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68426,7 +68440,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &458 + - &459 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68480,7 +68494,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &459 + - &460 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68616,7 +68630,7 @@ paths: - performed_via_github_app - assignee - assigner - - &460 + - &461 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68667,7 +68681,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &461 + - &462 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68718,7 +68732,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68772,7 +68786,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68819,7 +68833,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68866,7 +68880,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68926,7 +68940,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Locked Issue Event description: Locked Issue Event type: object @@ -68974,7 +68988,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69040,7 +69054,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69106,7 +69120,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69172,7 +69186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69819,6 +69833,234 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *15 + '404': *7 + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues + parameters: + - *254 + - *255 + - *454 + - *18 + - *20 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *75 + examples: + default: *458 + headers: + Link: *39 + '404': *7 + '410': *263 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *29 + '410': *263 + '422': *16 + '404': *7 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - *254 + - *255 + - *454 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: *75 + examples: + default: *453 + '403': *29 + '404': *7 + '422': *8 + '503': *63 + 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 @@ -69847,7 +70089,6 @@ paths: description: Timeline Event type: object anyOf: - - *458 - *459 - *460 - *461 @@ -69860,6 +70101,7 @@ paths: - *468 - *469 - *470 + - *471 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70163,7 +70405,7 @@ paths: type: string comments: type: array - items: &491 + items: &492 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70689,7 +70931,7 @@ paths: application/json: schema: type: array - items: &471 + items: &472 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70791,9 +71033,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &472 + default: &473 value: id: 1 key: ssh-rsa AAA... @@ -70829,7 +71071,7 @@ paths: parameters: - *254 - *255 - - &473 + - &474 name: key_id description: The unique identifier of the key. in: path @@ -70841,9 +71083,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '404': *7 x-github: githubCloudOnly: false @@ -70863,7 +71105,7 @@ paths: parameters: - *254 - *255 - - *473 + - *474 responses: '204': description: Response @@ -70956,7 +71198,7 @@ paths: application/json: schema: *456 examples: - default: &474 + default: &475 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71002,7 +71244,7 @@ paths: application/json: schema: *456 examples: - default: *474 + default: *475 '404': *7 x-github: githubCloudOnly: false @@ -71402,7 +71644,7 @@ paths: application/json: schema: *382 examples: - default: *475 + default: *476 '204': description: Response when already merged '404': @@ -71469,7 +71711,7 @@ paths: application/json: schema: type: array - items: &476 + items: &477 title: Milestone description: A collection of related issues and pull requests. type: object @@ -71571,9 +71813,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &477 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71634,7 +71876,7 @@ paths: parameters: - *254 - *255 - - &478 + - &479 name: milestone_number description: The number that identifies the milestone. in: path @@ -71646,9 +71888,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 '404': *7 x-github: githubCloudOnly: false @@ -71667,7 +71909,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 requestBody: required: false content: @@ -71705,9 +71947,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71725,7 +71967,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 responses: '204': description: Response @@ -71748,7 +71990,7 @@ paths: parameters: - *254 - *255 - - *478 + - *479 - *18 - *20 responses: @@ -71781,10 +72023,10 @@ paths: parameters: - *254 - *255 - - *479 - *480 - - *65 - *481 + - *65 + - *482 - *18 - *20 responses: @@ -71796,7 +72038,7 @@ paths: type: array items: *88 examples: - default: *482 + default: *483 headers: Link: *39 x-github: @@ -71886,7 +72128,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &484 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72011,7 +72253,7 @@ paths: - custom_404 - public examples: - default: &484 + default: &485 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72107,9 +72349,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *484 + default: *485 '422': *16 '409': *134 x-github: @@ -72270,7 +72512,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Page Build description: Page Build type: object @@ -72417,9 +72659,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72479,9 +72721,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72610,7 +72852,7 @@ paths: parameters: - *254 - *255 - - &487 + - &488 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72670,7 +72912,7 @@ paths: parameters: - *254 - *255 - - *487 + - *488 responses: '204': *137 '404': *7 @@ -73339,9 +73581,9 @@ paths: application/json: schema: type: array - items: *488 + items: *489 examples: - default: *489 + default: *490 headers: Link: *39 '304': *37 @@ -73439,7 +73681,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &494 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73653,7 +73895,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *490 + auto_merge: *491 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -73745,7 +73987,7 @@ paths: - merged_by - review_comments examples: - default: &494 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74302,9 +74544,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: &496 + default: &497 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74389,9 +74631,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &492 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74490,9 +74732,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *492 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74695,7 +74937,7 @@ paths: parameters: - *254 - *255 - - &495 + - &496 name: pull_number description: The number that identifies the pull request. in: path @@ -74708,9 +74950,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '304': *37 '404': *7 '406': @@ -74747,7 +74989,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -74789,9 +75031,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *16 '403': *29 x-github: @@ -74815,7 +75057,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -74917,7 +75159,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74938,9 +75180,9 @@ paths: application/json: schema: type: array - items: *491 + items: *492 examples: - default: *496 + default: *497 headers: Link: *39 x-github: @@ -74975,7 +75217,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -75080,7 +75322,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: example-for-a-multi-line-comment: value: @@ -75170,7 +75412,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *74 requestBody: required: true @@ -75193,7 +75435,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: default: value: @@ -75281,7 +75523,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -75293,7 +75535,7 @@ paths: type: array items: *382 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -75325,7 +75567,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -75375,7 +75617,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 responses: '204': description: Response if pull request has been merged @@ -75400,7 +75642,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -75513,7 +75755,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 responses: '200': description: Response @@ -75590,7 +75832,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -75627,7 +75869,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -76165,7 +76407,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: true content: @@ -76199,7 +76441,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -76706,7 +76948,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 - *18 - *20 responses: @@ -76716,7 +76958,7 @@ paths: application/json: schema: type: array - items: &498 + items: &499 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76869,7 +77111,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -76955,9 +77197,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &500 + default: &501 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77022,8 +77264,8 @@ paths: parameters: - *254 - *255 - - *495 - - &499 + - *496 + - &500 name: review_id description: The unique identifier of the review. in: path @@ -77035,9 +77277,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77098,8 +77340,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77122,7 +77364,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77186,16 +77428,16 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 responses: '200': description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *500 + default: *501 '422': *8 '404': *7 x-github: @@ -77224,8 +77466,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 - *18 - *20 responses: @@ -77455,8 +77697,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77484,7 +77726,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -77549,8 +77791,8 @@ paths: parameters: - *254 - *255 - - *495 - - *499 + - *496 + - *500 requestBody: required: true content: @@ -77585,9 +77827,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *501 + default: *502 '404': *7 '422': *8 '403': *29 @@ -77611,7 +77853,7 @@ paths: parameters: - *254 - *255 - - *495 + - *496 requestBody: required: false content: @@ -77688,9 +77930,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &503 + default: &504 value: type: file encoding: base64 @@ -77753,9 +77995,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *503 + default: *504 '404': *7 '422': *16 x-github: @@ -77788,7 +78030,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Release description: A release. type: object @@ -77851,7 +78093,7 @@ paths: author: *19 assets: type: array - items: &505 + items: &506 title: Release Asset description: Data related to a release. type: object @@ -78109,9 +78351,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &508 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78216,7 +78458,7 @@ paths: parameters: - *254 - *255 - - &506 + - &507 name: asset_id description: The unique identifier of the asset. in: path @@ -78228,9 +78470,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &507 + default: &508 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 @@ -78282,7 +78524,7 @@ paths: parameters: - *254 - *255 - - *506 + - *507 requestBody: required: false content: @@ -78310,9 +78552,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78330,7 +78572,7 @@ paths: parameters: - *254 - *255 - - *506 + - *507 responses: '204': description: Response @@ -78447,9 +78689,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78480,9 +78722,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 '404': *7 x-github: githubCloudOnly: false @@ -78506,7 +78748,7 @@ paths: parameters: - *254 - *255 - - &509 + - &510 name: release_id description: The unique identifier of the release. in: path @@ -78520,9 +78762,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: *504 + schema: *505 examples: - default: *508 + default: *509 '401': description: Unauthorized x-github: @@ -78542,7 +78784,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 requestBody: required: false content: @@ -78606,9 +78848,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *508 + default: *509 '404': description: Not Found if the discussion category name is invalid content: @@ -78631,7 +78873,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 responses: '204': description: Response @@ -78653,7 +78895,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - *18 - *20 responses: @@ -78663,7 +78905,7 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: default: value: @@ -78745,7 +78987,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - name: name in: query required: true @@ -78771,7 +79013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *505 + schema: *506 examples: response-for-successful-upload: value: @@ -78827,7 +79069,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - 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. @@ -78876,7 +79118,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 requestBody: required: true content: @@ -78939,7 +79181,7 @@ paths: parameters: - *254 - *255 - - *509 + - *510 - *250 responses: '204': @@ -78982,8 +79224,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *510 - - &512 + - *511 + - &513 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79003,53 +79245,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *511 - *512 - - allOf: - *513 - - *512 - allOf: - *514 - - *512 + - *513 - allOf: - *515 - - *512 + - *513 - allOf: - *516 - - *512 + - *513 - allOf: - *517 - - *512 + - *513 - allOf: - *518 - - *512 + - *513 - allOf: - *519 - - *512 + - *513 - allOf: - *520 - - *512 + - *513 - allOf: - *521 - - *512 + - *513 - allOf: - *522 - - *512 + - *513 - allOf: - *523 - - *512 + - *513 - allOf: - *524 - - *512 + - *513 - allOf: - *525 - - *512 + - *513 - allOf: - *526 - - *512 + - *513 - allOf: - *527 - - *512 + - *513 + - allOf: + - *528 + - *513 examples: default: value: @@ -79100,7 +79342,7 @@ paths: schema: type: boolean default: true - - *528 + - *529 responses: '200': description: Response @@ -79218,7 +79460,7 @@ paths: application/json: schema: *226 examples: - default: &538 + default: &539 value: id: 42 name: super cool ruleset @@ -79267,10 +79509,10 @@ paths: parameters: - *254 - *255 - - *529 - *530 - *531 - *532 + - *533 - *18 - *20 responses: @@ -79278,9 +79520,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *7 '500': *41 x-github: @@ -79303,15 +79545,15 @@ paths: parameters: - *254 - *255 - - *535 + - *536 responses: '200': description: Response content: application/json: - schema: *536 + schema: *537 examples: - default: *537 + default: *538 '404': *7 '500': *41 x-github: @@ -79362,7 +79604,7 @@ paths: application/json: schema: *226 examples: - default: *538 + default: *539 '404': *7 '500': *41 put: @@ -79445,7 +79687,7 @@ paths: application/json: schema: *226 examples: - default: *538 + default: *539 '404': *7 '500': *41 delete: @@ -79501,8 +79743,8 @@ paths: - *42 - *20 - *18 - - *539 - *540 + - *541 - *232 - *233 - *234 @@ -79513,7 +79755,7 @@ paths: application/json: schema: type: array - items: &543 + items: &544 type: object properties: number: *48 @@ -79532,8 +79774,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *541 - resolution: *542 + state: *542 + resolution: *543 resolved_at: type: string format: date-time @@ -79747,7 +79989,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -79808,8 +80050,8 @@ paths: schema: type: object properties: - state: *541 - resolution: *542 + state: *542 + resolution: *543 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -79827,7 +80069,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: default: value: @@ -79914,7 +80156,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &676 + items: &677 type: object properties: type: @@ -80282,14 +80524,14 @@ paths: schema: type: object properties: - reason: &545 + reason: &546 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *544 + placeholder_id: *545 required: - reason - placeholder_id @@ -80306,7 +80548,7 @@ paths: schema: type: object properties: - reason: *545 + reason: *546 expire_at: type: string format: date-time @@ -80365,7 +80607,7 @@ paths: properties: incremental_scans: type: array - items: &546 + items: &547 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80389,15 +80631,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *546 + items: *547 backfill_scans: type: array - items: *546 + items: *547 custom_pattern_backfill_scans: type: array items: allOf: - - *546 + - *547 - type: object properties: pattern_name: @@ -80512,9 +80754,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 '400': *15 '404': *7 x-github: @@ -80698,9 +80940,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: &550 + default: &551 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81038,7 +81280,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -81187,15 +81429,15 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '200': description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *550 + default: *551 '403': *29 '404': *7 x-github: @@ -81221,7 +81463,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 requestBody: required: true content: @@ -81380,10 +81622,10 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *550 - add_credit: *550 + default: *551 + add_credit: *551 '403': *29 '404': *7 '422': @@ -81423,7 +81665,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '202': *99 '400': *15 @@ -81452,7 +81694,7 @@ paths: parameters: - *254 - *255 - - *549 + - *550 responses: '202': description: Response @@ -81596,7 +81838,7 @@ paths: application/json: schema: type: array - items: &551 + items: &552 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81969,7 +82211,7 @@ paths: application/json: schema: type: array - items: *551 + items: *552 examples: default: value: @@ -82057,7 +82299,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -82151,7 +82393,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &553 + schema: &554 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -82246,7 +82488,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -82383,7 +82625,7 @@ paths: application/json: schema: type: array - items: &554 + items: &555 title: Tag protection description: Tag protection type: object @@ -82459,7 +82701,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -82607,7 +82849,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &556 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82619,7 +82861,7 @@ paths: required: - names examples: - default: &556 + default: &557 value: names: - octocat @@ -82674,9 +82916,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *7 '422': *8 x-github: @@ -82699,7 +82941,7 @@ paths: parameters: - *254 - *255 - - &557 + - &558 name: per description: The time frame to display results for. in: query @@ -82728,7 +82970,7 @@ paths: example: 128 clones: type: array - items: &558 + items: &559 title: Traffic type: object properties: @@ -82969,7 +83211,7 @@ paths: parameters: - *254 - *255 - - *557 + - *558 responses: '200': description: Response @@ -82988,7 +83230,7 @@ paths: example: 3782 views: type: array - items: *558 + items: *559 required: - uniques - count @@ -83757,7 +83999,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &559 + text_matches: &560 title: Search Result Text Matches type: array items: @@ -83919,7 +84161,7 @@ paths: enum: - author-date - committer-date - - &560 + - &561 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 @@ -84047,7 +84289,7 @@ paths: type: number node_id: type: string - text_matches: *559 + text_matches: *560 required: - sha - node_id @@ -84239,7 +84481,7 @@ paths: - interactions - created - updated - - *560 + - *561 - *18 - *20 responses: @@ -84328,6 +84570,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -84359,7 +84615,7 @@ paths: type: string format: date-time nullable: true - text_matches: *559 + text_matches: *560 pull_request: type: object properties: @@ -84583,7 +84839,7 @@ paths: enum: - created - updated - - *560 + - *561 - *18 - *20 responses: @@ -84627,7 +84883,7 @@ paths: nullable: true score: type: number - text_matches: *559 + text_matches: *560 required: - id - node_id @@ -84712,7 +84968,7 @@ paths: - forks - help-wanted-issues - updated - - *560 + - *561 - *18 - *20 responses: @@ -84951,7 +85207,7 @@ paths: - admin - pull - push - text_matches: *559 + text_matches: *560 temp_clone_token: type: string allow_merge_commit: @@ -85251,7 +85507,7 @@ paths: type: string format: uri nullable: true - text_matches: *559 + text_matches: *560 related: type: array nullable: true @@ -85442,7 +85698,7 @@ paths: - followers - repositories - joined - - *560 + - *561 - *18 - *20 responses: @@ -85546,7 +85802,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *559 + text_matches: *560 blog: type: string nullable: true @@ -85625,7 +85881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &561 + - &562 name: team_id description: The unique identifier of the team. in: path @@ -85666,7 +85922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *561 + - *562 requestBody: required: true content: @@ -85766,7 +86022,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *561 + - *562 responses: '204': description: Response @@ -85797,7 +86053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *561 + - *562 - *42 - *18 - *20 @@ -85810,7 +86066,7 @@ paths: type: array items: *241 examples: - default: *562 + default: *563 headers: Link: *39 x-github: @@ -85839,7 +86095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *561 + - *562 requestBody: required: true content: @@ -85902,7 +86158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *561 + - *562 - *243 responses: '200': @@ -85936,7 +86192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *561 + - *562 - *243 requestBody: required: false @@ -85962,7 +86218,7 @@ paths: application/json: schema: *241 examples: - default: *563 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85987,7 +86243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *561 + - *562 - *243 responses: '204': @@ -86017,7 +86273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *561 + - *562 - *243 - *42 - *18 @@ -86031,7 +86287,7 @@ paths: type: array items: *244 examples: - default: *564 + default: *565 headers: Link: *39 x-github: @@ -86060,7 +86316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 requestBody: required: true @@ -86112,7 +86368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 responses: @@ -86147,7 +86403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 requestBody: @@ -86173,7 +86429,7 @@ paths: application/json: schema: *244 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86198,7 +86454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 responses: @@ -86229,7 +86485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 - name: content @@ -86288,7 +86544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *561 + - *562 - *243 - *246 requestBody: @@ -86350,7 +86606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *561 + - *562 - *243 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86408,7 +86664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *561 + - *562 - *243 requestBody: required: true @@ -86467,7 +86723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -86505,7 +86761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *561 + - *562 - name: role description: Filters members returned by their role in the team. in: query @@ -86556,7 +86812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86593,7 +86849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86633,7 +86889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86670,7 +86926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 responses: '200': @@ -86679,7 +86935,7 @@ paths: application/json: schema: *251 examples: - response-if-user-is-a-team-maintainer: *566 + response-if-user-is-a-team-maintainer: *567 '404': *7 x-github: githubCloudOnly: false @@ -86712,7 +86968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 requestBody: required: false @@ -86740,7 +86996,7 @@ paths: application/json: schema: *251 examples: - response-if-users-membership-with-team-is-now-pending: *567 + response-if-users-membership-with-team-is-now-pending: *568 '403': description: Forbidden if team synchronization is set up '422': @@ -86774,7 +87030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *561 + - *562 - *126 responses: '204': @@ -86804,7 +87060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -86816,7 +87072,7 @@ paths: type: array items: *252 examples: - default: *568 + default: *569 headers: Link: *39 '404': *7 @@ -86843,7 +87099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *561 + - *562 - *253 responses: '200': @@ -86852,7 +87108,7 @@ paths: application/json: schema: *252 examples: - default: *569 + default: *570 '404': description: Not Found if project is not managed by this team x-github: @@ -86877,7 +87133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *561 + - *562 - *253 requestBody: required: false @@ -86946,7 +87202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *561 + - *562 - *253 responses: '204': @@ -86974,7 +87230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -87016,7 +87272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *561 + - *562 - *254 - *255 responses: @@ -87024,7 +87280,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *570 + schema: *571 examples: alternative-response-with-extra-repository-information: value: @@ -87175,7 +87431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *561 + - *562 - *254 - *255 requestBody: @@ -87227,7 +87483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *561 + - *562 - *254 - *255 responses: @@ -87254,7 +87510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *561 + - *562 - *18 - *20 responses: @@ -87266,7 +87522,7 @@ paths: type: array items: *180 examples: - response-if-child-teams-exist: *571 + response-if-child-teams-exist: *572 headers: Link: *39 '404': *7 @@ -87299,7 +87555,7 @@ paths: application/json: schema: oneOf: - - &573 + - &574 title: Private User description: Private User type: object @@ -87502,7 +87758,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *572 + - *573 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -87655,7 +87911,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -88053,7 +88309,7 @@ paths: type: integer secrets: type: array - items: &574 + items: &575 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -88169,7 +88425,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *575 examples: default: value: @@ -88315,7 +88571,7 @@ paths: type: array items: *113 examples: - default: *575 + default: *576 '401': *25 '403': *29 '404': *7 @@ -88582,7 +88838,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &577 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -88623,7 +88879,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &577 + default: &578 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -88668,9 +88924,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '404': *7 x-github: githubCloudOnly: false @@ -88707,9 +88963,9 @@ paths: type: integer machines: type: array - items: *578 + items: *579 examples: - default: *579 + default: *580 '304': *37 '500': *41 '401': *25 @@ -89648,7 +89904,7 @@ paths: type: array items: *198 examples: - default: &592 + default: &593 value: - id: 197 name: hello_docker @@ -89749,7 +90005,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Email description: Email type: object @@ -89814,9 +90070,9 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: - default: &594 + default: &595 value: - email: octocat@github.com verified: true @@ -89891,7 +90147,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -90147,7 +90403,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: GPG Key description: A unique encryption key type: object @@ -90278,7 +90534,7 @@ paths: - subkeys - revoked examples: - default: &605 + default: &606 value: - id: 3 name: Octocat's GPG Key @@ -90363,9 +90619,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: &582 + default: &583 value: id: 3 name: Octocat's GPG Key @@ -90422,7 +90678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &583 + - &584 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -90434,9 +90690,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *582 examples: - default: *582 + default: *583 '404': *7 '304': *37 '403': *29 @@ -90459,7 +90715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *583 + - *584 responses: '204': description: Response @@ -90650,7 +90906,7 @@ paths: type: array items: *58 examples: - default: *584 + default: *585 headers: Link: *39 '404': *7 @@ -90914,7 +91170,7 @@ paths: application/json: schema: type: array - items: &585 + items: &586 title: Key description: Key type: object @@ -91011,9 +91267,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: &586 + default: &587 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91046,15 +91302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 '404': *7 '304': *37 '403': *29 @@ -91077,7 +91333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *473 + - *474 responses: '204': description: Response @@ -91110,7 +91366,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -91178,7 +91434,7 @@ paths: - account - plan examples: - default: &588 + default: &589 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -91240,9 +91496,9 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: - default: *588 + default: *589 headers: Link: *39 '304': *37 @@ -92237,7 +92493,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *191 - - *589 + - *590 responses: '204': description: Response @@ -92310,7 +92566,7 @@ paths: type: array items: *187 examples: - default: *590 + default: *591 headers: Link: *39 '304': *37 @@ -92352,7 +92608,7 @@ paths: - docker - nuget - container - - *591 + - *592 - *20 - *18 responses: @@ -92364,8 +92620,8 @@ paths: type: array items: *198 examples: - default: *592 - '400': *593 + default: *593 + '400': *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92394,7 +92650,7 @@ paths: application/json: schema: *198 examples: - default: &606 + default: &607 value: id: 40201 name: octo-name @@ -92844,9 +93100,9 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: - default: *594 + default: *595 headers: Link: *39 '304': *37 @@ -92959,7 +93215,7 @@ paths: type: array items: *58 examples: - default: &601 + default: &602 summary: Default response value: - id: 1296269 @@ -93303,7 +93559,7 @@ paths: type: array items: *447 examples: - default: *595 + default: *596 headers: Link: *39 '304': *37 @@ -93382,7 +93638,7 @@ paths: application/json: schema: type: array - items: &596 + items: &597 title: Social account description: Social media account type: object @@ -93397,7 +93653,7 @@ paths: - provider - url examples: - default: &597 + default: &598 value: - provider: twitter url: https://twitter.com/github @@ -93459,9 +93715,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *597 + default: *598 '422': *16 '304': *37 '404': *7 @@ -93548,7 +93804,7 @@ paths: application/json: schema: type: array - items: &598 + items: &599 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -93568,7 +93824,7 @@ paths: - title - created_at examples: - default: &613 + default: &614 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93634,9 +93890,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: &599 + default: &600 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93667,7 +93923,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: - - &600 + - &601 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -93679,9 +93935,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 '404': *7 '304': *37 '403': *29 @@ -93704,7 +93960,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: - - *600 + - *601 responses: '204': description: Response @@ -93733,7 +93989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &614 + - &615 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 @@ -93758,11 +94014,11 @@ paths: type: array items: *58 examples: - default-response: *601 + default-response: *602 application/vnd.github.v3.star+json: schema: type: array - items: &615 + items: &616 title: Starred Repository description: Starred Repository type: object @@ -94129,10 +94385,10 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: &603 + default-response: &604 summary: Default response value: login: octocat @@ -94167,7 +94423,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &604 + response-with-git-hub-plan-information: &605 summary: Response with GitHub plan information value: login: octocat @@ -94227,7 +94483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *602 + - *603 - *18 responses: '200': @@ -94274,11 +94530,11 @@ paths: application/json: schema: oneOf: + - *574 - *573 - - *572 examples: - default-response: *603 - response-with-git-hub-plan-information: *604 + default-response: *604 + response-with-git-hub-plan-information: *605 '404': *7 x-github: githubCloudOnly: false @@ -94440,7 +94696,7 @@ paths: type: array items: *198 examples: - default: *592 + default: *593 '403': *29 '401': *25 x-github: @@ -94844,9 +95100,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: *605 + default: *606 headers: Link: *39 x-github: @@ -95028,7 +95284,7 @@ paths: type: array items: *187 examples: - default: *590 + default: *591 headers: Link: *39 x-github: @@ -95067,7 +95323,7 @@ paths: - docker - nuget - container - - *591 + - *592 - *126 - *20 - *18 @@ -95080,10 +95336,10 @@ paths: type: array items: *198 examples: - default: *592 + default: *593 '403': *29 '401': *25 - '400': *593 + '400': *594 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95113,7 +95369,7 @@ paths: application/json: schema: *198 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95706,9 +95962,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *608 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95736,9 +95992,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *610 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95766,9 +96022,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95796,9 +96052,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *597 + default: *598 headers: Link: *39 x-github: @@ -95828,9 +96084,9 @@ paths: application/json: schema: type: array - items: *598 + items: *599 examples: - default: *613 + default: *614 headers: Link: *39 x-github: @@ -95855,7 +96111,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *614 + - *615 - *42 - *18 - *20 @@ -95867,11 +96123,11 @@ paths: schema: anyOf: - type: array - items: *615 + items: *616 - type: array items: *58 examples: - default-response: *601 + default-response: *602 headers: Link: *39 x-github: @@ -96030,7 +96286,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &616 + enterprise: &617 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -96088,7 +96344,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &617 + installation: &618 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -96107,7 +96363,7 @@ x-webhooks: required: - id - node_id - organization: &618 + organization: &619 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -96167,13 +96423,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &619 + repository: &620 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &649 + properties: &650 id: description: Unique identifier of the repository example: 42 @@ -96856,7 +97112,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &650 + required: &651 - archive_url - assignees_url - blobs_url @@ -97007,10 +97263,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -97086,11 +97342,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: &620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: &621 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) @@ -97313,11 +97569,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: *621 sender: *19 required: - action @@ -97500,11 +97756,11 @@ x-webhooks: - everyone required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - rule: *620 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + rule: *621 sender: *19 required: - action @@ -97588,7 +97844,7 @@ x-webhooks: type: string enum: - completed - check_run: &622 + check_run: &623 title: CheckRun description: A check performed on the code of a given code change type: object @@ -97689,7 +97945,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *621 + deployment: *622 details_url: example: https://example.com type: string @@ -97774,9 +98030,9 @@ x-webhooks: - output - app - pull_requests - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -98169,10 +98425,10 @@ x-webhooks: type: string enum: - created - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -98568,10 +98824,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 requested_action: description: The action requested by the user. type: object @@ -98976,10 +99232,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *622 - installation: *617 - organization: *618 - repository: *619 + check_run: *623 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - check_run @@ -99956,10 +100212,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -100629,10 +100885,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -101296,10 +101552,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -101599,20 +101855,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &623 + commit_oid: &624 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: *616 - installation: *617 - organization: *618 - ref: &624 + enterprise: *617 + installation: *618 + organization: *619 + ref: &625 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: *619 + repository: *620 sender: *19 required: - action @@ -101930,12 +102186,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102192,12 +102448,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102518,12 +102774,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -102780,16 +103036,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *619 + repository: *620 sender: *19 required: - action @@ -103015,12 +103271,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *623 - enterprise: *616 - installation: *617 - organization: *618 - ref: *624 - repository: *619 + commit_oid: *624 + enterprise: *617 + installation: *618 + organization: *619 + ref: *625 + repository: *620 sender: *19 required: - action @@ -103277,10 +103533,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -103360,18 +103616,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *618 - pusher_type: &625 + organization: *619 + pusher_type: &626 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &626 + ref: &627 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -103381,7 +103637,7 @@ x-webhooks: enum: - tag - branch - repository: *619 + repository: *620 sender: *19 required: - ref @@ -103464,9 +103720,9 @@ x-webhooks: enum: - created definition: *212 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103551,9 +103807,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103631,9 +103887,9 @@ x-webhooks: enum: - updated definition: *212 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 sender: *19 required: - action @@ -103710,10 +103966,10 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - repository: *619 - organization: *618 + enterprise: *617 + installation: *618 + repository: *620 + organization: *619 sender: *19 new_property_values: type: array @@ -103798,18 +104054,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - pusher_type: *625 - ref: *626 + enterprise: *617 + installation: *618 + organization: *619 + pusher_type: *626 + ref: *627 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *619 + repository: *620 sender: *19 required: - ref @@ -103894,10 +104150,10 @@ x-webhooks: enum: - auto_dismissed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -103982,10 +104238,10 @@ x-webhooks: enum: - auto_reopened alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104070,10 +104326,10 @@ x-webhooks: enum: - created alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104156,10 +104412,10 @@ x-webhooks: enum: - dismissed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104242,10 +104498,10 @@ x-webhooks: enum: - fixed alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104329,10 +104585,10 @@ x-webhooks: enum: - reintroduced alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104415,10 +104671,10 @@ x-webhooks: enum: - reopened alert: *403 - installation: *617 - organization: *618 - enterprise: *616 - repository: *619 + installation: *618 + organization: *619 + enterprise: *617 + repository: *620 sender: *19 required: - action @@ -104495,9 +104751,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - key: &627 + enterprise: *617 + installation: *618 + key: &628 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -104533,8 +104789,8 @@ x-webhooks: - verified - created_at - read_only - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -104611,11 +104867,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - key: *627 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + key: *628 + organization: *619 + repository: *620 sender: *19 required: - action @@ -105176,12 +105432,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: &631 + workflow: &632 title: Workflow type: object nullable: true @@ -105910,10 +106166,10 @@ x-webhooks: deployment: *409 pull_requests: type: array - items: *493 - repository: *619 - organization: *618 - installation: *617 + items: *494 + repository: *620 + organization: *619 + installation: *618 sender: *19 responses: '200': @@ -105984,7 +106240,7 @@ x-webhooks: type: string enum: - approved - approver: &628 + approver: &629 type: object properties: avatar_url: @@ -106027,11 +106283,11 @@ x-webhooks: type: string comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: &629 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + reviewers: &630 type: array items: type: object @@ -106110,7 +106366,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &630 + workflow_job_run: &631 type: object properties: conclusion: @@ -106841,18 +107097,18 @@ x-webhooks: type: string enum: - rejected - approver: *628 + approver: *629 comment: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - reviewers: *629 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + reviewers: *630 sender: *19 since: type: string - workflow_job_run: *630 + workflow_job_run: *631 workflow_job_runs: type: array items: @@ -107556,13 +107812,13 @@ x-webhooks: type: string enum: - requested - enterprise: *616 + enterprise: *617 environment: type: string - installation: *617 - organization: *618 - repository: *619 - requestor: &636 + installation: *618 + organization: *619 + repository: *620 + requestor: &637 title: User type: object nullable: true @@ -109461,12 +109717,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Deployment Workflow Run type: object @@ -110146,7 +110402,7 @@ x-webhooks: type: string enum: - answered - answer: &634 + answer: &635 type: object properties: author_association: @@ -110303,7 +110559,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &632 + discussion: &633 title: Discussion description: A Discussion in a repository. type: object @@ -110611,10 +110867,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110741,11 +110997,11 @@ x-webhooks: - from required: - category - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110828,11 +111084,11 @@ x-webhooks: type: string enum: - closed - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -110914,7 +111170,7 @@ x-webhooks: type: string enum: - created - comment: &633 + comment: &634 type: object properties: author_association: @@ -111071,11 +111327,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111158,12 +111414,12 @@ x-webhooks: type: string enum: - deleted - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *634 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111258,12 +111514,12 @@ x-webhooks: - from required: - body - comment: *633 - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + comment: *634 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111347,11 +111603,11 @@ x-webhooks: type: string enum: - created - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111433,11 +111689,11 @@ x-webhooks: type: string enum: - deleted - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111537,11 +111793,11 @@ x-webhooks: type: string required: - from - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111623,10 +111879,10 @@ x-webhooks: type: string enum: - labeled - discussion: *632 - enterprise: *616 - installation: *617 - label: &635 + discussion: *633 + enterprise: *617 + installation: *618 + label: &636 title: Label type: object properties: @@ -111658,8 +111914,8 @@ x-webhooks: - color - default - description - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111742,11 +111998,11 @@ x-webhooks: type: string enum: - locked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111828,11 +112084,11 @@ x-webhooks: type: string enum: - pinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -111914,11 +112170,11 @@ x-webhooks: type: string enum: - reopened - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112003,16 +112259,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *632 - new_repository: *619 + new_discussion: *633 + new_repository: *620 required: - new_discussion - new_repository - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112095,10 +112351,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *632 - old_answer: *634 - organization: *618 - repository: *619 + discussion: *633 + old_answer: *635 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112180,12 +112436,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *632 - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112268,11 +112524,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112354,11 +112610,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *632 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + discussion: *633 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -112431,7 +112687,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *616 + enterprise: *617 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -113091,9 +113347,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - forkee @@ -113239,9 +113495,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pages: description: The pages that were updated. type: array @@ -113278,7 +113534,7 @@ x-webhooks: - action - sha - html_url - repository: *619 + repository: *620 sender: *19 required: - pages @@ -113354,10 +113610,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: &637 + organization: *619 + repositories: &638 description: An array of repository objects that the installation can access. type: array @@ -113383,8 +113639,8 @@ x-webhooks: - name - full_name - private - repository: *619 - requester: *636 + repository: *620 + requester: *637 sender: *19 required: - action @@ -113459,11 +113715,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -113539,11 +113795,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -113619,10 +113875,10 @@ x-webhooks: type: string enum: - added - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories_added: &638 + organization: *619 + repositories_added: &639 description: An array of repository objects, which were added to the installation. type: array @@ -113668,15 +113924,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *619 - repository_selection: &639 + repository: *620 + repository_selection: &640 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *636 + requester: *637 sender: *19 required: - action @@ -113755,10 +114011,10 @@ x-webhooks: type: string enum: - removed - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories_added: *638 + organization: *619 + repositories_added: *639 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -113785,9 +114041,9 @@ x-webhooks: - name - full_name - private - repository: *619 - repository_selection: *639 - requester: *636 + repository: *620 + repository_selection: *640 + requester: *637 sender: *19 required: - action @@ -113866,11 +114122,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -114048,10 +114304,10 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 target_type: type: string @@ -114130,11 +114386,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *616 + enterprise: *617 installation: *22 - organization: *618 - repositories: *637 - repository: *619 + organization: *619 + repositories: *638 + repository: *620 requester: nullable: true sender: *19 @@ -114386,8 +114642,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115181,6 +115437,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115528,8 +115798,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -115609,7 +115879,7 @@ x-webhooks: type: string enum: - deleted - comment: &640 + comment: &641 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -115774,8 +116044,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -116565,6 +116835,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116914,8 +117198,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -116995,7 +117279,7 @@ x-webhooks: type: string enum: - edited - changes: &668 + changes: &669 description: The changes to the comment. type: object properties: @@ -117007,9 +117291,9 @@ x-webhooks: type: string required: - from - comment: *640 - enterprise: *616 - installation: *617 + comment: *641 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117802,6 +118086,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118149,8 +118447,8 @@ x-webhooks: - state - locked - assignee - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -118232,10 +118530,10 @@ x-webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - issue: &643 + assignee: *637 + enterprise: *617 + installation: *618 + issue: &644 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119024,6 +119322,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119139,8 +119451,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -119220,8 +119532,8 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120015,6 +120327,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120265,8 +120591,8 @@ x-webhooks: required: - state - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -120345,8 +120671,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121129,6 +121455,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121243,8 +121583,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -121323,8 +121663,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122131,6 +122471,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122224,7 +122578,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &641 + milestone: &642 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122362,8 +122716,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -122462,8 +122816,8 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123252,6 +123606,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123367,9 +123735,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -123449,8 +123817,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124238,6 +124606,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124353,9 +124735,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *635 - organization: *618 - repository: *619 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -124435,8 +124817,8 @@ x-webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125248,6 +125630,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125340,8 +125736,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -125420,8 +125816,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126227,6 +126623,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126319,9 +126729,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *641 - organization: *618 - repository: *619 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -127189,6 +127599,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127768,8 +128192,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128558,6 +128982,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128672,8 +129110,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -128753,9 +129191,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *616 - installation: *617 - issue: &642 + enterprise: *617 + installation: *618 + issue: &643 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129538,6 +129976,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129652,8 +130104,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -129732,8 +130184,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130543,6 +130995,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130636,8 +131102,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -131503,6 +131969,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132085,11 +132565,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *643 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132170,7 +132650,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &671 + assignee: &672 title: User type: object nullable: true @@ -132240,11 +132720,11 @@ x-webhooks: required: - login - id - enterprise: *616 - installation: *617 - issue: *643 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *644 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132323,12 +132803,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - issue: *643 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *644 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -132408,8 +132888,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133219,6 +133699,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133311,8 +133805,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133392,11 +133886,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *616 - installation: *617 - issue: *642 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + issue: *643 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133475,11 +133969,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133557,11 +134051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133671,11 +134165,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - label: *635 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + label: *636 + organization: *619 + repository: *620 sender: *19 required: - action @@ -133757,9 +134251,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: &644 + enterprise: *617 + installation: *618 + marketplace_purchase: &645 title: Marketplace Purchase type: object required: @@ -133842,8 +134336,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: &645 + organization: *619 + previous_marketplace_purchase: &646 title: Marketplace Purchase type: object properties: @@ -133923,7 +134417,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134003,10 +134497,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134089,7 +134583,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134171,10 +134665,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134256,7 +134750,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *619 + repository: *620 sender: *19 required: - action @@ -134337,8 +134831,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 marketplace_purchase: title: Marketplace Purchase type: object @@ -134420,9 +134914,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + organization: *619 + previous_marketplace_purchase: *646 + repository: *620 sender: *19 required: - action @@ -134502,12 +134996,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *616 - installation: *617 - marketplace_purchase: *644 - organization: *618 - previous_marketplace_purchase: *645 - repository: *619 + enterprise: *617 + installation: *618 + marketplace_purchase: *645 + organization: *619 + previous_marketplace_purchase: *646 + repository: *620 sender: *19 required: - action @@ -134609,11 +135103,11 @@ x-webhooks: type: string required: - to - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134713,11 +135207,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134796,11 +135290,11 @@ x-webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 sender: *19 required: - action @@ -134878,11 +135372,11 @@ x-webhooks: type: string enum: - added - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134958,7 +135452,7 @@ x-webhooks: required: - login - id - team: &646 + team: &647 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135148,11 +135642,11 @@ x-webhooks: type: string enum: - removed - enterprise: *616 - installation: *617 - member: *636 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + member: *637 + organization: *619 + repository: *620 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135229,7 +135723,7 @@ x-webhooks: required: - login - id - team: *646 + team: *647 required: - action - scope @@ -135311,8 +135805,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *617 - merge_group: &648 + installation: *618 + merge_group: &649 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -135331,15 +135825,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *647 + head_commit: *648 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135425,10 +135919,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *617 - merge_group: *648 - organization: *618 - repository: *619 + installation: *618 + merge_group: *649 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135501,7 +135995,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 + enterprise: *617 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -135609,16 +136103,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *617 - organization: *618 + installation: *618 + organization: *619 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -135699,11 +136193,11 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -135782,9 +136276,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - milestone: &651 + enterprise: *617 + installation: *618 + milestone: &652 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135921,8 +136415,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136001,11 +136495,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136115,11 +136609,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - milestone: *641 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *642 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136199,11 +136693,11 @@ x-webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - milestone: *651 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + milestone: *652 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136282,11 +136776,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *637 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136365,11 +136859,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *636 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + blocked_user: *637 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136448,9 +136942,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - membership: &652 + enterprise: *617 + installation: *618 + membership: &653 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -136542,8 +137036,8 @@ x-webhooks: - role - organization_url - user - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136621,11 +137115,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136704,8 +137198,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -136821,10 +137315,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 - user: *636 + user: *637 required: - action - invitation @@ -136902,11 +137396,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -136993,11 +137487,11 @@ x-webhooks: properties: from: type: string - enterprise: *616 - installation: *617 - membership: *652 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + membership: *653 + organization: *619 + repository: *620 sender: *19 required: - action @@ -137073,9 +137567,9 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 package: description: Information about the package. type: object @@ -137574,7 +138068,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &653 + items: &654 title: Ruby Gems metadata type: object properties: @@ -137669,7 +138163,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -137745,9 +138239,9 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 package: description: Information about the package. type: object @@ -138100,7 +138594,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *653 + items: *654 source_url: type: string format: uri @@ -138170,7 +138664,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -138347,12 +138841,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *616 + enterprise: *617 id: type: integer - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - id @@ -138432,7 +138926,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &654 + personal_access_token_request: &655 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -138578,10 +139072,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *616 - organization: *618 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138660,11 +139154,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *654 - enterprise: *616 - organization: *618 + personal_access_token_request: *655 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138742,11 +139236,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *654 - enterprise: *616 - organization: *618 + personal_access_token_request: *655 + enterprise: *617 + organization: *619 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138823,11 +139317,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *654 - organization: *618 - enterprise: *616 + personal_access_token_request: *655 + organization: *619 + enterprise: *617 sender: *19 - installation: *617 + installation: *618 required: - action - personal_access_token_request @@ -138931,7 +139425,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *655 + last_response: *656 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -138963,8 +139457,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 zen: description: Random string of GitHub zen. @@ -139209,10 +139703,10 @@ x-webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: &656 + enterprise: *617 + installation: *618 + organization: *619 + project_card: &657 title: Project Card type: object properties: @@ -139331,7 +139825,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -139412,11 +139906,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_card: *656 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_card: *657 + repository: *620 sender: *19 required: - action @@ -139496,9 +139990,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 project_card: title: Project Card type: object @@ -139626,8 +140120,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -139721,11 +140215,11 @@ x-webhooks: - from required: - note - enterprise: *616 - installation: *617 - organization: *618 - project_card: *656 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_card: *657 + repository: *620 sender: *19 required: - action @@ -139819,9 +140313,9 @@ x-webhooks: - from required: - column_id - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 project_card: allOf: - title: Project Card @@ -140011,7 +140505,7 @@ x-webhooks: type: string required: - after_id - repository: *619 + repository: *620 sender: *19 required: - action @@ -140091,10 +140585,10 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - organization: *618 - project: &658 + enterprise: *617 + installation: *618 + organization: *619 + project: &659 title: Project type: object properties: @@ -140218,7 +140712,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -140298,10 +140792,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project_column: &657 + enterprise: *617 + installation: *618 + organization: *619 + project_column: &658 title: Project Column type: object properties: @@ -140340,7 +140834,7 @@ x-webhooks: - name - created_at - updated_at - repository: *619 + repository: *620 sender: *19 required: - action @@ -140419,18 +140913,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -140520,11 +141014,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 + repository: *620 sender: *19 required: - action @@ -140604,11 +141098,11 @@ x-webhooks: type: string enum: - moved - enterprise: *616 - installation: *617 - organization: *618 - project_column: *657 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project_column: *658 + repository: *620 sender: *19 required: - action @@ -140688,11 +141182,11 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -140772,18 +141266,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - project: *658 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *649 - required: *650 + properties: *650 + required: *651 nullable: true sender: *19 required: @@ -140885,11 +141379,11 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -140968,11 +141462,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - organization: *618 - project: *658 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + project: *659 + repository: *620 sender: *19 required: - action @@ -141053,9 +141547,9 @@ x-webhooks: type: string enum: - closed - installation: *617 - organization: *618 - projects_v2: &659 + installation: *618 + organization: *619 + projects_v2: &660 title: Projects v2 Project description: A projects v2 project type: object @@ -141198,9 +141692,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141281,9 +141775,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141400,9 +141894,9 @@ x-webhooks: type: string to: type: string - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -141485,7 +141979,7 @@ x-webhooks: type: string enum: - archived - changes: &663 + changes: &664 type: object properties: archived_at: @@ -141499,9 +141993,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *617 - organization: *618 - projects_v2_item: &660 + installation: *618 + organization: *619 + projects_v2_item: &661 title: Projects v2 Item description: An item belonging to a project type: object @@ -141635,9 +142129,9 @@ x-webhooks: nullable: true to: type: string - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141719,9 +142213,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141802,9 +142296,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -141910,7 +142404,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &661 + - &662 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -141928,7 +142422,7 @@ x-webhooks: required: - id - name - - &662 + - &663 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -141951,8 +142445,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *661 - *662 + - *663 required: - field_value - type: object @@ -141968,9 +142462,9 @@ x-webhooks: nullable: true required: - body - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142065,9 +142559,9 @@ x-webhooks: to: type: string nullable: true - installation: *617 - organization: *618 - projects_v2_item: *660 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142150,10 +142644,10 @@ x-webhooks: type: string enum: - restored - changes: *663 - installation: *617 - organization: *618 - projects_v2_item: *660 + changes: *664 + installation: *618 + organization: *619 + projects_v2_item: *661 sender: *19 required: - action @@ -142235,9 +142729,9 @@ x-webhooks: type: string enum: - reopened - installation: *617 - organization: *618 - projects_v2: *659 + installation: *618 + organization: *619 + projects_v2: *660 sender: *19 required: - action @@ -142318,9 +142812,9 @@ x-webhooks: type: string enum: - created - installation: *617 - organization: *618 - projects_v2_status_update: &664 + installation: *618 + organization: *619 + projects_v2_status_update: &665 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -142447,9 +142941,9 @@ x-webhooks: type: string enum: - deleted - installation: *617 - organization: *618 - projects_v2_status_update: *664 + installation: *618 + organization: *619 + projects_v2_status_update: *665 sender: *19 required: - action @@ -142585,9 +143079,9 @@ x-webhooks: type: string format: date nullable: true - installation: *617 - organization: *618 - projects_v2_status_update: *664 + installation: *618 + organization: *619 + projects_v2_status_update: *665 sender: *19 required: - action @@ -142658,10 +143152,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - repository @@ -142738,13 +143232,13 @@ x-webhooks: type: string enum: - assigned - assignee: *636 - enterprise: *616 - installation: *617 - number: &665 + assignee: *637 + enterprise: *617 + installation: *618 + number: &666 description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -145027,7 +145521,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -145109,11 +145603,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -147391,7 +147885,7 @@ x-webhooks: - draft reason: type: string - repository: *619 + repository: *620 sender: *19 required: - action @@ -147473,11 +147967,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -149755,7 +150249,7 @@ x-webhooks: - draft reason: type: string - repository: *619 + repository: *620 sender: *19 required: - action @@ -149837,13 +150331,13 @@ x-webhooks: type: string enum: - closed - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: &666 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: &667 allOf: - - *493 + - *494 - type: object properties: allow_auto_merge: @@ -149905,7 +150399,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *619 + repository: *620 sender: *19 required: - action @@ -149986,12 +150480,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -150071,11 +150565,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *616 - milestone: *476 - number: *665 - organization: *618 - pull_request: &667 + enterprise: *617 + milestone: *477 + number: *666 + organization: *619 + pull_request: &668 title: Pull Request type: object properties: @@ -152338,7 +152832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -152417,11 +152911,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -154703,7 +155197,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *619 + repository: *620 sender: *19 required: - action @@ -154827,12 +155321,12 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -154912,11 +155406,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -157183,7 +157677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -157263,11 +157757,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *616 - installation: *617 - label: *635 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + label: *636 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -159549,7 +160043,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -159630,10 +160124,10 @@ x-webhooks: type: string enum: - locked - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -161913,7 +162407,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -161993,12 +162487,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *616 - milestone: *476 - number: *665 - organization: *618 - pull_request: *667 - repository: *619 + enterprise: *617 + milestone: *477 + number: *666 + organization: *619 + pull_request: *668 + repository: *620 sender: *19 required: - action @@ -162077,12 +162571,12 @@ x-webhooks: type: string enum: - opened - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162163,12 +162657,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162248,12 +162742,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *616 - installation: *617 - number: *665 - organization: *618 - pull_request: *666 - repository: *619 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 + pull_request: *667 + repository: *620 sender: *19 required: - action @@ -162619,9 +163113,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -164791,7 +165285,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -164871,7 +165365,7 @@ x-webhooks: type: string enum: - deleted - comment: &669 + comment: &670 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165156,9 +165650,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -167316,7 +167810,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -167396,11 +167890,11 @@ x-webhooks: type: string enum: - edited - changes: *668 - comment: *669 - enterprise: *616 - installation: *617 - organization: *618 + changes: *669 + comment: *670 + enterprise: *617 + installation: *618 + organization: *619 pull_request: type: object properties: @@ -169561,7 +170055,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *619 + repository: *620 sender: *19 required: - action @@ -169642,9 +170136,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -171817,7 +172311,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 review: description: The review that was affected. type: object @@ -172060,9 +172554,9 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -174116,8 +174610,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: &670 + repository: *620 + review: &671 description: The review that was affected. type: object properties: @@ -174346,12 +174840,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -176634,7 +177128,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_reviewer: title: User type: object @@ -176718,12 +177212,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -179013,7 +179507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179205,12 +179699,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -181495,7 +181989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_reviewer: title: User type: object @@ -181580,12 +182074,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *616 - installation: *617 + enterprise: *617 + installation: *618 number: description: The pull request number. type: integer - organization: *618 + organization: *619 pull_request: title: Pull Request type: object @@ -183861,7 +184355,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184042,9 +184536,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -186219,8 +186713,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 - review: *670 + repository: *620 + review: *671 sender: *19 required: - action @@ -186300,9 +186794,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -188372,7 +188866,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 sender: *19 thread: type: object @@ -188755,9 +189249,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 pull_request: title: Simple Pull Request type: object @@ -190813,7 +191307,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *619 + repository: *620 sender: *19 thread: type: object @@ -191199,10 +191693,10 @@ x-webhooks: type: string before: type: string - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -193473,7 +193967,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -193555,11 +194049,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *671 - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + assignee: *672 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -195842,7 +196336,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -195921,11 +196415,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *616 - installation: *617 - label: *635 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + label: *636 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -198198,7 +198692,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -198279,10 +198773,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *616 - installation: *617 - number: *665 - organization: *618 + enterprise: *617 + installation: *618 + number: *666 + organization: *619 pull_request: title: Pull Request type: object @@ -200547,7 +201041,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *619 + repository: *620 sender: *19 required: - action @@ -200747,7 +201241,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *616 + enterprise: *617 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -200839,8 +201333,8 @@ x-webhooks: - url - author - committer - installation: *617 - organization: *618 + installation: *618 + organization: *619 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201415,9 +201909,9 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 registry_package: type: object properties: @@ -201863,7 +202357,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *653 + items: *654 summary: type: string tag_name: @@ -201917,7 +202411,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -201995,9 +202489,9 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 registry_package: type: object properties: @@ -202305,7 +202799,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *653 + items: *654 summary: type: string tag_name: @@ -202354,7 +202848,7 @@ x-webhooks: - owner - package_version - registry - repository: *619 + repository: *620 sender: *19 required: - action @@ -202431,10 +202925,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - release: &672 + enterprise: *617 + installation: *618 + organization: *619 + release: &673 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202739,7 +203233,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *619 + repository: *620 sender: *19 required: - action @@ -202816,11 +203310,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -202928,11 +203422,11 @@ x-webhooks: type: boolean required: - to - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -203010,9 +203504,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -203321,7 +203815,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *619 + repository: *620 sender: *19 required: - action @@ -203397,10 +203891,10 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - release: &673 + enterprise: *617 + installation: *618 + organization: *619 + release: &674 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -203706,7 +204200,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *619 + repository: *620 sender: *19 required: - action @@ -203782,11 +204276,11 @@ x-webhooks: type: string enum: - released - enterprise: *616 - installation: *617 - organization: *618 - release: *672 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *673 + repository: *620 sender: *19 required: - action @@ -203862,11 +204356,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *616 - installation: *617 - organization: *618 - release: *673 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + release: *674 + repository: *620 sender: *19 required: - action @@ -203942,11 +204436,11 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *547 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + repository_advisory: *548 sender: *19 required: - action @@ -204022,11 +204516,11 @@ x-webhooks: type: string enum: - reported - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - repository_advisory: *547 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + repository_advisory: *548 sender: *19 required: - action @@ -204102,10 +204596,10 @@ x-webhooks: type: string enum: - archived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204182,10 +204676,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204263,10 +204757,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204350,10 +204844,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204465,10 +204959,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204540,10 +205034,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 status: type: string @@ -204624,10 +205118,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204704,10 +205198,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204801,10 +205295,10 @@ x-webhooks: - name required: - repository - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -204884,10 +205378,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 sender: *19 required: @@ -204966,10 +205460,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 sender: *19 required: @@ -205048,10 +205542,10 @@ x-webhooks: type: string enum: - edited - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 repository_ruleset: *226 changes: type: object @@ -205356,10 +205850,10 @@ x-webhooks: - from required: - owner - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205437,10 +205931,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205518,7 +206012,7 @@ x-webhooks: type: string enum: - create - alert: &674 + alert: &675 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -205639,10 +206133,10 @@ x-webhooks: type: string enum: - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205848,10 +206342,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -205929,11 +206423,11 @@ x-webhooks: type: string enum: - reopen - alert: *674 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *675 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206132,10 +206626,10 @@ x-webhooks: enum: - fixed - open - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206213,7 +206707,7 @@ x-webhooks: type: string enum: - created - alert: &675 + alert: &676 type: object properties: number: *48 @@ -206319,10 +206813,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206403,11 +206897,11 @@ x-webhooks: type: string enum: - created - alert: *675 - installation: *617 - location: *676 - organization: *618 - repository: *619 + alert: *676 + installation: *618 + location: *677 + organization: *619 + repository: *620 sender: *19 required: - location @@ -206645,11 +207139,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206727,11 +207221,11 @@ x-webhooks: type: string enum: - reopened - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206809,11 +207303,11 @@ x-webhooks: type: string enum: - resolved - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206891,11 +207385,11 @@ x-webhooks: type: string enum: - validated - alert: *675 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + alert: *676 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -206971,11 +207465,11 @@ x-webhooks: type: string enum: - published - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: &677 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + security_advisory: &678 description: The details of the security advisory, including summary, description, and severity. type: object @@ -207158,11 +207652,11 @@ x-webhooks: type: string enum: - updated - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 - security_advisory: *677 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 + security_advisory: *678 sender: *19 required: - action @@ -207235,10 +207729,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -207423,9 +207917,9 @@ x-webhooks: type: object properties: security_and_analysis: *219 - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: *265 sender: *19 required: @@ -207504,12 +207998,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: &678 + sponsorship: &679 type: object properties: created_at: @@ -207810,12 +208304,12 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - sponsorship @@ -207903,12 +208397,12 @@ x-webhooks: type: string required: - from - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -207985,17 +208479,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &679 + effective_date: &680 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: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - sponsorship @@ -208069,7 +208563,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &680 + changes: &681 type: object properties: tier: @@ -208113,13 +208607,13 @@ x-webhooks: - from required: - tier - effective_date: *679 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + effective_date: *680 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -208196,13 +208690,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *680 - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + changes: *681 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - sponsorship: *678 + sponsorship: *679 required: - action - changes @@ -208276,10 +208770,10 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208362,10 +208856,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208784,15 +209278,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *616 + enterprise: *617 id: description: The unique identifier of the status. type: integer - installation: *617 + installation: *618 name: type: string - organization: *618 - repository: *619 + organization: *619 + repository: *620 sender: *19 sha: description: The Commit SHA. @@ -208907,9 +209401,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -208999,9 +209493,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209091,9 +209585,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209183,9 +209677,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *617 - organization: *618 - repository: *619 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -209262,12 +209756,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - team: &681 + team: &682 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -209457,9 +209951,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -209917,7 +210411,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -209993,9 +210487,9 @@ x-webhooks: type: string enum: - created - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -210453,7 +210947,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -210530,9 +211024,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -210990,7 +211484,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -211134,9 +211628,9 @@ x-webhooks: - from required: - permissions - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -211594,7 +212088,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - changes @@ -211672,9 +212166,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *616 - installation: *617 - organization: *618 + enterprise: *617 + installation: *618 + organization: *619 repository: title: Repository description: A git repository @@ -212132,7 +212626,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *681 + team: *682 required: - action - team @@ -212208,10 +212702,10 @@ x-webhooks: type: string enum: - started - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 required: - action @@ -212284,16 +212778,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *616 + enterprise: *617 inputs: type: object nullable: true additionalProperties: true - installation: *617 - organization: *618 + installation: *618 + organization: *619 ref: type: string - repository: *619 + repository: *620 sender: *19 workflow: type: string @@ -212375,10 +212869,10 @@ x-webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: allOf: @@ -212694,10 +213188,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: allOf: @@ -213036,10 +213530,10 @@ x-webhooks: type: string enum: - queued - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: type: object @@ -213253,10 +213747,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 workflow_job: type: object @@ -213472,12 +213966,12 @@ x-webhooks: type: string enum: - completed - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object @@ -214476,12 +214970,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object @@ -215465,12 +215959,12 @@ x-webhooks: type: string enum: - requested - enterprise: *616 - installation: *617 - organization: *618 - repository: *619 + enterprise: *617 + installation: *618 + organization: *619 + repository: *620 sender: *19 - workflow: *631 + workflow: *632 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 137c3f641..a71c2f55a 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -35072,6 +35072,26 @@ "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" + ] } }, "required": [ @@ -49984,6 +50004,26 @@ "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" + ] } }, "required": [ @@ -55592,6 +55632,26 @@ "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" + ] } }, "required": [ @@ -94099,6 +94159,26 @@ "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" + ] } }, "required": [ @@ -104526,6 +104606,26 @@ "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" + ] } }, "required": [ @@ -278161,6 +278261,26 @@ "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" + ] } }, "required": [ @@ -297812,6 +297932,26 @@ "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" + ] } }, "required": [ @@ -300228,6 +300368,26 @@ "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" + ] } }, "required": [ @@ -305910,6 +306070,26 @@ "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" + ] } }, "required": [ @@ -309421,6 +309601,26 @@ "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" + ] } }, "required": [ @@ -312808,6 +313008,26 @@ "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" + ] } }, "required": [ @@ -315201,6 +315421,26 @@ "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" + ] } }, "required": [ @@ -317620,6 +317860,26 @@ "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" + ] } }, "required": [ @@ -319842,6 +320102,26 @@ "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" + ] } }, "required": [ @@ -331560,494 +331840,9964 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-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" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + }, + "post": { + "summary": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "tags": [ + "reactions" + ], + "operationId": "reactions/create-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-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": { + "content": { + "type": "string", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + } + }, + "required": [ + "content" + ] + }, + "examples": { + "default": { + "value": { + "content": "heart" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { + "delete": { + "summary": "Delete an issue reaction", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", + "tags": [ + "reactions" + ], + "operationId": "reactions/delete-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction" + }, + "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": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues" + }, + "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", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + } }, - { - "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": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" + "message": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" + "status": { + "type": "string" } } } @@ -332059,8 +341809,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -332076,122 +341826,42 @@ "errors": { "type": "array", "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } + "type": "string" } } } } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction" - }, - "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": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } } } - ], - "responses": { - "204": { - "description": "Response" - } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "sub-issues" } } }, @@ -341472,6 +351142,26 @@ "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" + ] } }, "required": [ @@ -447835,6 +457525,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -492039,6 +501749,26 @@ "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" + ] } }, "required": [ @@ -520703,6 +530433,26 @@ "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" + ] } }, "required": [ @@ -523475,6 +533225,26 @@ "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" + ] } }, "required": [ @@ -526249,6 +536019,26 @@ "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" + ] } }, "required": [ @@ -535365,6 +545155,26 @@ "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" + ] } }, "required": [ @@ -538139,6 +547949,26 @@ "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" + ] } }, "required": [ @@ -716871,6 +726701,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -720474,6 +730324,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -724101,6 +733971,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -727336,6 +737226,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -730146,6 +740056,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -733145,6 +743075,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -735965,6 +745915,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -738958,6 +748928,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -741802,6 +751792,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -744672,6 +754682,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -747468,6 +757498,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -750342,6 +760392,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -752234,6 +762304,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -755032,6 +765122,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -757855,6 +767965,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -760545,6 +770675,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -762434,6 +772584,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -765336,6 +775506,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -768141,6 +778331,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -771009,6 +781219,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -773784,6 +784014,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -1120340,6 +1130590,26 @@ "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" + ] } }, "required": [ @@ -1123037,6 +1133307,26 @@ "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" + ] } }, "required": [ @@ -1126562,6 +1136852,26 @@ "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" + ] } }, "required": [ @@ -1129259,6 +1139569,26 @@ "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" + ] } }, "required": [ @@ -1132784,6 +1143114,26 @@ "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" + ] } }, "required": [ @@ -1135481,6 +1145831,26 @@ "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" + ] } }, "required": [ @@ -1139006,6 +1149376,26 @@ "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" + ] } }, "required": [ @@ -1141703,6 +1152093,26 @@ "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" + ] } }, "required": [ diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index a4c2afd3f..e0f29a904 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1012,7 +1012,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: - - &607 + - &608 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &617 + schema: &618 title: Scim Error description: Scim Error type: object @@ -13231,14 +13231,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &599 + state: &600 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: &600 + resolution: &601 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -14893,6 +14893,20 @@ paths: - 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 required: &509 - assignee - closed_at @@ -15480,7 +15494,7 @@ paths: url: type: string format: uri - user: &656 + user: &657 title: Public User description: Public User type: object @@ -18865,7 +18879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &537 + - &538 name: all description: If `true`, show notifications marked as read. in: query @@ -18873,7 +18887,7 @@ paths: schema: type: boolean default: false - - &538 + - &539 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18883,7 +18897,7 @@ paths: type: boolean default: false - *108 - - &539 + - &540 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: @@ -19347,7 +19361,7 @@ paths: - url - subscription_url examples: - default: &540 + default: &541 value: - id: '1' repository: @@ -19893,7 +19907,7 @@ paths: type: array items: *52 examples: - default: &674 + default: &675 value: - login: github id: 1 @@ -21083,7 +21097,7 @@ paths: type: array items: *57 examples: - default: &668 + default: &669 value: total_count: 1 repositories: @@ -21848,7 +21862,7 @@ paths: type: array items: *159 examples: - default: &659 + default: &660 value: total_count: 1 repositories: @@ -32422,7 +32436,7 @@ paths: parameters: - *141 - *248 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -33728,7 +33742,7 @@ paths: - nuget - container - *141 - - &675 + - &676 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33769,7 +33783,7 @@ paths: default: *255 '403': *29 '401': *25 - '400': &677 + '400': &678 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37069,7 +37083,7 @@ paths: - *141 - *18 - *20 - - &586 + - &587 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37348,7 +37362,7 @@ paths: type: object description: A repository rule. oneOf: - - &568 + - &569 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37360,7 +37374,7 @@ paths: type: string enum: - creation - - &569 + - &570 title: update description: Only allow users with bypass permission to update matching refs. @@ -37381,7 +37395,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &571 + - &572 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37393,7 +37407,7 @@ paths: type: string enum: - deletion - - &572 + - &573 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37405,7 +37419,7 @@ paths: type: string enum: - required_linear_history - - &573 + - &574 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37483,7 +37497,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &574 + - &575 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37507,7 +37521,7 @@ paths: type: string required: - required_deployment_environments - - &575 + - &576 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37519,7 +37533,7 @@ paths: type: string enum: - required_signatures - - &576 + - &577 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37565,7 +37579,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &577 + - &578 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37613,7 +37627,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &578 + - &579 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37625,7 +37639,7 @@ paths: type: string enum: - non_fast_forward - - &579 + - &580 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37661,7 +37675,7 @@ paths: required: - operator - pattern - - &580 + - &581 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37697,7 +37711,7 @@ paths: required: - operator - pattern - - &581 + - &582 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37733,7 +37747,7 @@ paths: required: - operator - pattern - - &582 + - &583 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37769,7 +37783,7 @@ paths: required: - operator - pattern - - &583 + - &584 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37895,7 +37909,7 @@ paths: maximum: 100 required: - max_file_size - - &584 + - &585 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37945,7 +37959,7 @@ paths: - repository_id required: - workflows - - &585 + - &586 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38182,7 +38196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *141 - - &587 + - &588 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 @@ -38197,7 +38211,7 @@ paths: in: query schema: type: string - - &588 + - &589 name: time_period description: |- The time period to filter by. @@ -38213,14 +38227,14 @@ paths: - week - month default: day - - &589 + - &590 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 - - &590 + - &591 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38240,7 +38254,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &592 title: Rule Suites description: Response type: array @@ -38295,7 +38309,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &592 + default: &593 value: - id: 21 actor_id: 12 @@ -38339,7 +38353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *141 - - &593 + - &594 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38355,7 +38369,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suite description: Response type: object @@ -38454,7 +38468,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &595 + default: &596 value: id: 21 actor_id: 12 @@ -38672,7 +38686,7 @@ paths: - *78 - *20 - *18 - - &597 + - &598 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 @@ -38682,7 +38696,7 @@ paths: required: false schema: type: string - - &598 + - &599 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 @@ -38774,7 +38788,7 @@ paths: application/json: schema: type: array - items: &605 + items: &606 description: A repository security advisory. type: object properties: @@ -39065,7 +39079,7 @@ paths: - private_fork additionalProperties: false examples: - default: &606 + default: &607 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40649,7 +40663,7 @@ paths: - updated_at - url examples: - default: &646 + default: &647 value: - author: login: octocat @@ -40897,7 +40911,7 @@ paths: application/json: schema: *307 examples: - default: &647 + default: &648 value: author: login: octocat @@ -41080,7 +41094,7 @@ paths: - updated_at - url examples: - default: &648 + default: &649 value: - author: login: octocat @@ -41306,7 +41320,7 @@ paths: application/json: schema: *310 examples: - default: &649 + default: &650 value: author: login: octocat @@ -42019,7 +42033,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &650 + response-if-user-is-a-team-maintainer: &651 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42084,7 +42098,7 @@ paths: application/json: schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &651 + response-if-users-membership-with-team-is-now-pending: &652 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42226,7 +42240,7 @@ paths: - updated_at - permissions examples: - default: &652 + default: &653 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42303,7 +42317,7 @@ paths: application/json: schema: *322 examples: - default: &653 + default: &654 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42506,7 +42520,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &654 + schema: &655 title: Team Repository description: A team's access to a repository. type: object @@ -43272,7 +43286,7 @@ paths: type: array items: *238 examples: - response-if-child-teams-exist: &655 + response-if-child-teams-exist: &656 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54969,7 +54983,7 @@ paths: check. type: array items: *394 - deployment: &706 + deployment: &707 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55883,7 +55897,7 @@ paths: type: string format: date-time nullable: true - head_commit: &732 + head_commit: &733 title: Simple Commit description: A commit. type: object @@ -59827,14 +59841,14 @@ paths: type: integer machines: type: array - items: &662 + items: &663 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *430 required: *431 examples: - default: &663 + default: &664 value: total_count: 2 machines: @@ -61363,7 +61377,7 @@ paths: type: array items: *440 examples: - default: &555 + default: &556 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61651,7 +61665,7 @@ paths: application/json: schema: type: array - items: &546 + items: &547 title: Pull Request Simple description: Pull Request Simple type: object @@ -61880,7 +61894,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &548 + auto_merge: &549 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61943,7 +61957,7 @@ paths: - author_association - auto_merge examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62500,7 +62514,7 @@ paths: application/json: schema: *440 examples: - default: &533 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63117,7 +63131,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Status description: The status of a commit. type: object @@ -64053,7 +64067,7 @@ paths: - size - type - url - - &560 + - &561 title: Content File description: Content File type: object @@ -64667,7 +64681,7 @@ paths: items: type: object properties: - placeholder_id: &602 + placeholder_id: &603 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70407,7 +70421,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &740 + last_response: &741 title: Hook Response type: object properties: @@ -71364,7 +71378,7 @@ paths: parameters: - *324 - *325 - - &686 + - &687 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71798,7 +71812,7 @@ paths: type: array items: *505 examples: - default: &679 + default: &680 value: - id: 1 repository: @@ -72190,7 +72204,7 @@ paths: type: array items: *118 examples: - default: + default: &516 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74004,7 +74018,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &516 + - &517 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74058,7 +74072,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74194,7 +74208,7 @@ paths: - performed_via_github_app - assignee - assigner - - &518 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74245,7 +74259,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74296,7 +74310,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74350,7 +74364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74397,7 +74411,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74444,7 +74458,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74504,7 +74518,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -74552,7 +74566,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74618,7 +74632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74684,7 +74698,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74750,7 +74764,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75397,6 +75411,234 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *15 + '404': *7 + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues + parameters: + - *324 + - *325 + - *512 + - *18 + - *20 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *118 + examples: + default: *516 + headers: + Link: *39 + '404': *7 + '410': *335 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *29 + '410': *335 + '422': *16 + '404': *7 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + '403': *29 + '404': *7 + '422': *8 + '503': *96 + 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 @@ -75425,7 +75667,6 @@ paths: description: Timeline Event type: object anyOf: - - *516 - *517 - *518 - *519 @@ -75438,6 +75679,7 @@ paths: - *526 - *527 - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75741,7 +75983,7 @@ paths: type: string comments: type: array - items: &549 + items: &550 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76267,7 +76509,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76369,9 +76611,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &530 + default: &531 value: id: 1 key: ssh-rsa AAA... @@ -76407,7 +76649,7 @@ paths: parameters: - *324 - *325 - - &531 + - &532 name: key_id description: The unique identifier of the key. in: path @@ -76419,9 +76661,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '404': *7 x-github: githubCloudOnly: false @@ -76441,7 +76683,7 @@ paths: parameters: - *324 - *325 - - *531 + - *532 responses: '204': description: Response @@ -76534,7 +76776,7 @@ paths: application/json: schema: *514 examples: - default: &532 + default: &533 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76580,7 +76822,7 @@ paths: application/json: schema: *514 examples: - default: *532 + default: *533 '404': *7 x-github: githubCloudOnly: false @@ -77033,7 +77275,7 @@ paths: application/json: schema: *440 examples: - default: *533 + default: *534 '204': description: Response when already merged '404': @@ -77100,7 +77342,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: Milestone description: A collection of related issues and pull requests. type: object @@ -77202,9 +77444,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &535 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77265,7 +77507,7 @@ paths: parameters: - *324 - *325 - - &536 + - &537 name: milestone_number description: The number that identifies the milestone. in: path @@ -77277,9 +77519,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *7 x-github: githubCloudOnly: false @@ -77298,7 +77540,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 requestBody: required: false content: @@ -77336,9 +77578,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77356,7 +77598,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 responses: '204': description: Response @@ -77379,7 +77621,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 - *18 - *20 responses: @@ -77412,10 +77654,10 @@ paths: parameters: - *324 - *325 - - *537 - *538 - - *108 - *539 + - *108 + - *540 - *18 - *20 responses: @@ -77427,7 +77669,7 @@ paths: type: array items: *131 examples: - default: *540 + default: *541 headers: Link: *39 x-github: @@ -77517,7 +77759,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &542 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77642,7 +77884,7 @@ paths: - custom_404 - public examples: - default: &542 + default: &543 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77738,9 +77980,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *542 + default: *543 '422': *16 '409': *146 x-github: @@ -77909,7 +78151,7 @@ paths: application/json: schema: type: array - items: &543 + items: &544 title: Page Build description: Page Build type: object @@ -78056,9 +78298,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78118,9 +78360,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78249,7 +78491,7 @@ paths: parameters: - *324 - *325 - - &545 + - &546 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78309,7 +78551,7 @@ paths: parameters: - *324 - *325 - - *545 + - *546 responses: '204': *190 '404': *7 @@ -78978,9 +79220,9 @@ paths: application/json: schema: type: array - items: *546 + items: *547 examples: - default: *547 + default: *548 headers: Link: *39 '304': *37 @@ -79078,7 +79320,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &552 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79292,7 +79534,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *548 + auto_merge: *549 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79384,7 +79626,7 @@ paths: - merged_by - review_comments examples: - default: &552 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79941,9 +80183,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: &554 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80028,9 +80270,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &550 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80129,9 +80371,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80334,7 +80576,7 @@ paths: parameters: - *324 - *325 - - &553 + - &554 name: pull_number description: The number that identifies the pull request. in: path @@ -80347,9 +80589,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 '304': *37 '404': *7 '406': @@ -80386,7 +80628,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -80428,9 +80670,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 '422': *16 '403': *29 x-github: @@ -80454,7 +80696,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -80556,7 +80798,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *128 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80577,9 +80819,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *39 x-github: @@ -80614,7 +80856,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -80719,7 +80961,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: example-for-a-multi-line-comment: value: @@ -80809,7 +81051,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *117 requestBody: required: true @@ -80832,7 +81074,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -80920,7 +81162,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -80932,7 +81174,7 @@ paths: type: array items: *440 examples: - default: *555 + default: *556 headers: Link: *39 x-github: @@ -80964,7 +81206,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -81014,7 +81256,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 responses: '204': description: Response if pull request has been merged @@ -81039,7 +81281,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -81152,7 +81394,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 responses: '200': description: Response @@ -81229,7 +81471,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -81266,7 +81508,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: default: value: @@ -81804,7 +82046,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -81838,7 +82080,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: default: value: @@ -82345,7 +82587,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -82355,7 +82597,7 @@ paths: application/json: schema: type: array - items: &556 + items: &557 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82508,7 +82750,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -82594,9 +82836,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82661,8 +82903,8 @@ paths: parameters: - *324 - *325 - - *553 - - &557 + - *554 + - &558 name: review_id description: The unique identifier of the review. in: path @@ -82674,9 +82916,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &559 + default: &560 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82737,8 +82979,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -82761,7 +83003,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -82825,16 +83067,16 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 responses: '200': description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 '422': *8 '404': *7 x-github: @@ -82863,8 +83105,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 - *18 - *20 responses: @@ -83094,8 +83336,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -83123,7 +83365,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -83188,8 +83430,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -83224,9 +83466,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *559 + default: *560 '404': *7 '422': *8 '403': *29 @@ -83250,7 +83492,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -83327,9 +83569,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: &561 + default: &562 value: type: file encoding: base64 @@ -83392,9 +83634,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: *561 + default: *562 '404': *7 '422': *16 x-github: @@ -83427,7 +83669,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Release description: A release. type: object @@ -83490,7 +83732,7 @@ paths: author: *19 assets: type: array - items: &563 + items: &564 title: Release Asset description: Data related to a release. type: object @@ -83748,9 +83990,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: &566 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83855,7 +84097,7 @@ paths: parameters: - *324 - *325 - - &564 + - &565 name: asset_id description: The unique identifier of the asset. in: path @@ -83867,9 +84109,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &565 + default: &566 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 @@ -83921,7 +84163,7 @@ paths: parameters: - *324 - *325 - - *564 + - *565 requestBody: required: false content: @@ -83949,9 +84191,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83969,7 +84211,7 @@ paths: parameters: - *324 - *325 - - *564 + - *565 responses: '204': description: Response @@ -84086,9 +84328,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84119,9 +84361,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 '404': *7 x-github: githubCloudOnly: false @@ -84145,7 +84387,7 @@ paths: parameters: - *324 - *325 - - &567 + - &568 name: release_id description: The unique identifier of the release. in: path @@ -84159,9 +84401,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: *562 + schema: *563 examples: - default: *566 + default: *567 '401': description: Unauthorized x-github: @@ -84181,7 +84423,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 requestBody: required: false content: @@ -84245,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 '404': description: Not Found if the discussion category name is invalid content: @@ -84270,7 +84512,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 responses: '204': description: Response @@ -84292,7 +84534,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - *18 - *20 responses: @@ -84302,7 +84544,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -84385,7 +84627,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - name: name in: query required: true @@ -84411,7 +84653,7 @@ paths: description: Response for successful upload content: application/json: - schema: *563 + schema: *564 examples: response-for-successful-upload: value: @@ -84467,7 +84709,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - 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. @@ -84516,7 +84758,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 requestBody: required: true content: @@ -84579,7 +84821,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - *316 responses: '204': @@ -84622,8 +84864,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *568 - - &570 + - *569 + - &571 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84643,53 +84885,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *569 - *570 - - allOf: - *571 - - *570 - allOf: - *572 - - *570 + - *571 - allOf: - *573 - - *570 + - *571 - allOf: - *574 - - *570 + - *571 - allOf: - *575 - - *570 + - *571 - allOf: - *576 - - *570 + - *571 - allOf: - *577 - - *570 + - *571 - allOf: - *578 - - *570 + - *571 - allOf: - *579 - - *570 + - *571 - allOf: - *580 - - *570 + - *571 - allOf: - *581 - - *570 + - *571 - allOf: - *582 - - *570 + - *571 - allOf: - *583 - - *570 + - *571 - allOf: - *584 - - *570 + - *571 - allOf: - *585 - - *570 + - *571 + - allOf: + - *586 + - *571 examples: default: value: @@ -84740,7 +84982,7 @@ paths: schema: type: boolean default: true - - *586 + - *587 responses: '200': description: Response @@ -84858,7 +85100,7 @@ paths: application/json: schema: *284 examples: - default: &596 + default: &597 value: id: 42 name: super cool ruleset @@ -84907,10 +85149,10 @@ paths: parameters: - *324 - *325 - - *587 - *588 - *589 - *590 + - *591 - *18 - *20 responses: @@ -84918,9 +85160,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: - default: *592 + default: *593 '404': *7 '500': *84 x-github: @@ -84943,15 +85185,15 @@ paths: parameters: - *324 - *325 - - *593 + - *594 responses: '200': description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *7 '500': *84 x-github: @@ -85002,7 +85244,7 @@ paths: application/json: schema: *284 examples: - default: *596 + default: *597 '404': *7 '500': *84 put: @@ -85085,7 +85327,7 @@ paths: application/json: schema: *284 examples: - default: *596 + default: *597 '404': *7 '500': *84 delete: @@ -85141,8 +85383,8 @@ paths: - *78 - *20 - *18 - - *597 - *598 + - *599 - *290 - *291 - *292 @@ -85153,7 +85395,7 @@ paths: application/json: schema: type: array - items: &601 + items: &602 type: object properties: number: *85 @@ -85172,8 +85414,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *599 - resolution: *600 + state: *600 + resolution: *601 resolved_at: type: string format: date-time @@ -85387,7 +85629,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -85448,8 +85690,8 @@ paths: schema: type: object properties: - state: *599 - resolution: *600 + state: *600 + resolution: *601 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85467,7 +85709,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -85554,7 +85796,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &761 + items: &762 type: object properties: type: @@ -85922,14 +86164,14 @@ paths: schema: type: object properties: - reason: &603 + reason: &604 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *602 + placeholder_id: *603 required: - reason - placeholder_id @@ -85946,7 +86188,7 @@ paths: schema: type: object properties: - reason: *603 + reason: *604 expire_at: type: string format: date-time @@ -86005,7 +86247,7 @@ paths: properties: incremental_scans: type: array - items: &604 + items: &605 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86029,15 +86271,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *604 + items: *605 backfill_scans: type: array - items: *604 + items: *605 custom_pattern_backfill_scans: type: array items: allOf: - - *604 + - *605 - type: object properties: pattern_name: @@ -86152,9 +86394,9 @@ paths: application/json: schema: type: array - items: *605 + items: *606 examples: - default: *606 + default: *607 '400': *15 '404': *7 x-github: @@ -86338,9 +86580,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: &608 + default: &609 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86678,7 +86920,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -86827,15 +87069,15 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '200': description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: *608 + default: *609 '403': *29 '404': *7 x-github: @@ -86861,7 +87103,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 requestBody: required: true content: @@ -87020,10 +87262,10 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: *608 - add_credit: *608 + default: *609 + add_credit: *609 '403': *29 '404': *7 '422': @@ -87063,7 +87305,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '202': *147 '400': *15 @@ -87092,7 +87334,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '202': description: Response @@ -87236,7 +87478,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87609,7 +87851,7 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: default: value: @@ -87697,7 +87939,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: default: value: @@ -87791,7 +88033,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &611 + schema: &612 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87886,7 +88128,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -88023,7 +88265,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Tag protection description: Tag protection type: object @@ -88099,7 +88341,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: default: value: @@ -88247,7 +88489,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88259,7 +88501,7 @@ paths: required: - names examples: - default: &614 + default: &615 value: names: - octocat @@ -88314,9 +88556,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *7 '422': *8 x-github: @@ -88339,7 +88581,7 @@ paths: parameters: - *324 - *325 - - &615 + - &616 name: per description: The time frame to display results for. in: query @@ -88368,7 +88610,7 @@ paths: example: 128 clones: type: array - items: &616 + items: &617 title: Traffic type: object properties: @@ -88609,7 +88851,7 @@ paths: parameters: - *324 - *325 - - *615 + - *616 responses: '200': description: Response @@ -88628,7 +88870,7 @@ paths: example: 3782 views: type: array - items: *616 + items: *617 required: - uniques - count @@ -89300,7 +89542,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &624 + - &625 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89309,7 +89551,7 @@ paths: schema: type: string example: members - - &629 + - &630 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89320,7 +89562,7 @@ paths: default: 1 format: int32 example: 1 - - &630 + - &631 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89362,7 +89604,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &618 + items: &619 allOf: - type: object required: @@ -89437,7 +89679,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: &631 + meta: &632 type: object description: The metadata associated with the creation/updates to the user. @@ -89497,31 +89739,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &619 + '400': &620 description: Bad request content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '401': &620 + schema: *618 + '401': &621 description: Authorization failure - '403': &621 + '403': &622 description: Permission denied - '429': &622 + '429': &623 description: Too many requests content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '500': &623 + schema: *618 + '500': &624 description: Internal server error content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 + schema: *618 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89545,7 +89787,7 @@ paths: required: true content: application/json: - schema: &627 + schema: &628 type: object required: - schemas @@ -89601,9 +89843,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *618 + schema: *619 examples: - group: &625 + group: &626 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89622,13 +89864,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': *619 - '401': *620 - '403': *621 - '409': &628 + '400': *620 + '401': *621 + '403': *622 + '409': &629 description: Duplicate record detected - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89645,7 +89887,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: - - &626 + - &627 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89653,22 +89895,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *624 + - *625 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *625 - '400': *619 - '401': *620 - '403': *621 + default: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89687,13 +89929,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: - - *626 + - *627 - *40 requestBody: required: true content: application/json: - schema: *627 + schema: *628 examples: group: summary: Group @@ -89719,17 +89961,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *618 + schema: *619 examples: - group: *625 - groupWithMembers: *625 - '400': *619 - '401': *620 - '403': *621 + group: *626 + groupWithMembers: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89753,13 +89995,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: - - *626 + - *627 - *40 requestBody: required: true content: application/json: - schema: &638 + schema: &639 type: object required: - Operations @@ -89819,17 +90061,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *618 + schema: *619 examples: - updateGroup: *625 - addMembers: *625 - '400': *619 - '401': *620 - '403': *621 + updateGroup: *626 + addMembers: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89845,17 +90087,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: - - *626 + - *627 - *40 responses: '204': description: Group was deleted, no content - '400': *619 - '401': *620 - '403': *621 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89889,8 +90131,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *629 - *630 + - *631 - *40 responses: '200': @@ -89923,7 +90165,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &633 + items: &634 allOf: - type: object required: @@ -90002,7 +90244,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &632 + roles: &633 type: array description: The roles assigned to the user. items: @@ -90058,7 +90300,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *631 + meta: *632 startIndex: type: integer description: A starting index for the returned page @@ -90095,11 +90337,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *619 - '401': *620 - '403': *621 - '429': *622 - '500': *623 + '400': *620 + '401': *621 + '403': *622 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90123,7 +90365,7 @@ paths: required: true content: application/json: - schema: &636 + schema: &637 type: object required: - schemas @@ -90205,9 +90447,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *632 + roles: *633 examples: - user: &637 + user: &638 summary: User value: schemas: @@ -90254,9 +90496,9 @@ paths: description: User has been created content: application/scim+json: - schema: *633 + schema: *634 examples: - user: &634 + user: &635 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90282,13 +90524,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: *634 - '400': *619 - '401': *620 - '403': *621 - '409': *628 - '429': *622 - '500': *623 + enterpriseOwner: *635 + '400': *620 + '401': *621 + '403': *622 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90305,7 +90547,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: - - &635 + - &636 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90318,15 +90560,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *633 + schema: *634 examples: - default: *634 - '400': *619 - '401': *620 - '403': *621 + default: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90348,30 +90590,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: - - *635 + - *636 - *40 requestBody: required: true content: application/json: - schema: *636 + schema: *637 examples: - user: *637 + user: *638 responses: '200': description: User was updated content: application/scim+json: - schema: *633 + schema: *634 examples: - user: *634 - '400': *619 - '401': *620 - '403': *621 + user: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90406,13 +90648,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: - - *635 + - *636 - *40 requestBody: required: true content: application/json: - schema: *638 + schema: *639 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90452,18 +90694,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *633 - examples: - userMultiValuedProperties: *634 - userSingleValuedProperties: *634 - disableUser: *634 - '400': *619 - '401': *620 - '403': *621 + schema: *634 + examples: + userMultiValuedProperties: *635 + userSingleValuedProperties: *635 + disableUser: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90483,17 +90725,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: - - *635 + - *636 - *40 responses: '204': description: User was deleted, no content - '400': *619 - '401': *620 - '403': *621 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90580,7 +90822,7 @@ paths: example: 1 Resources: type: array - items: &639 + items: &640 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -90811,22 +91053,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &640 + '404': &641 description: Resource not found content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '403': &641 + schema: *618 + '403': &642 description: Forbidden content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '400': *619 - '429': *622 + schema: *618 + '400': *620 + '429': *623 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -90852,9 +91094,9 @@ paths: description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: &642 + default: &643 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90877,17 +91119,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *640 - '403': *641 - '500': *623 + '404': *641 + '403': *642 + '500': *624 '409': description: Conflict content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '400': *619 + schema: *618 + '400': *620 requestBody: required: true content: @@ -90980,17 +91222,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 - '404': *640 - '403': *641 + default: *643 + '404': *641 + '403': *642 '304': *37 x-github: githubCloudOnly: true @@ -91014,18 +91256,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 + default: *643 '304': *37 - '404': *640 - '403': *641 + '404': *641 + '403': *642 requestBody: required: true content: @@ -91134,19 +91376,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 + default: *643 '304': *37 - '404': *640 - '403': *641 - '400': *619 + '404': *641 + '403': *642 + '400': *620 '429': description: Response content: @@ -91237,12 +91479,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *141 - - *635 + - *636 responses: '204': description: Response - '404': *640 - '403': *641 + '404': *641 + '403': *642 '304': *37 x-github: githubCloudOnly: true @@ -91375,7 +91617,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &643 + text_matches: &644 title: Search Result Text Matches type: array items: @@ -91538,7 +91780,7 @@ paths: enum: - author-date - committer-date - - &644 + - &645 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 @@ -91666,7 +91908,7 @@ paths: type: number node_id: type: string - text_matches: *643 + text_matches: *644 required: - sha - node_id @@ -91859,7 +92101,7 @@ paths: - interactions - created - updated - - *644 + - *645 - *18 - *20 responses: @@ -91948,6 +92190,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -91979,7 +92235,7 @@ paths: type: string format: date-time nullable: true - text_matches: *643 + text_matches: *644 pull_request: type: object properties: @@ -92203,7 +92459,7 @@ paths: enum: - created - updated - - *644 + - *645 - *18 - *20 responses: @@ -92247,7 +92503,7 @@ paths: nullable: true score: type: number - text_matches: *643 + text_matches: *644 required: - id - node_id @@ -92333,7 +92589,7 @@ paths: - forks - help-wanted-issues - updated - - *644 + - *645 - *18 - *20 responses: @@ -92572,7 +92828,7 @@ paths: - admin - pull - push - text_matches: *643 + text_matches: *644 temp_clone_token: type: string allow_merge_commit: @@ -92873,7 +93129,7 @@ paths: type: string format: uri nullable: true - text_matches: *643 + text_matches: *644 related: type: array nullable: true @@ -93066,7 +93322,7 @@ paths: - followers - repositories - joined - - *644 + - *645 - *18 - *20 responses: @@ -93170,7 +93426,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *643 + text_matches: *644 blog: type: string nullable: true @@ -93249,7 +93505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &645 + - &646 name: team_id description: The unique identifier of the team. in: path @@ -93290,7 +93546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *645 + - *646 requestBody: required: true content: @@ -93390,7 +93646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *645 + - *646 responses: '204': description: Response @@ -93421,7 +93677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *645 + - *646 - *78 - *18 - *20 @@ -93434,7 +93690,7 @@ paths: type: array items: *307 examples: - default: *646 + default: *647 headers: Link: *39 x-github: @@ -93463,7 +93719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *645 + - *646 requestBody: required: true content: @@ -93526,7 +93782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *645 + - *646 - *309 responses: '200': @@ -93560,7 +93816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *645 + - *646 - *309 requestBody: required: false @@ -93586,7 +93842,7 @@ paths: application/json: schema: *307 examples: - default: *647 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93611,7 +93867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *645 + - *646 - *309 responses: '204': @@ -93641,7 +93897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *645 + - *646 - *309 - *78 - *18 @@ -93655,7 +93911,7 @@ paths: type: array items: *310 examples: - default: *648 + default: *649 headers: Link: *39 x-github: @@ -93684,7 +93940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 requestBody: required: true @@ -93736,7 +93992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 responses: @@ -93771,7 +94027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 requestBody: @@ -93797,7 +94053,7 @@ paths: application/json: schema: *310 examples: - default: *649 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93822,7 +94078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 responses: @@ -93853,7 +94109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 - name: content @@ -93912,7 +94168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 requestBody: @@ -93974,7 +94230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *645 + - *646 - *309 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94032,7 +94288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *645 + - *646 - *309 requestBody: required: true @@ -94091,7 +94347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94129,7 +94385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *645 + - *646 - name: role description: Filters members returned by their role in the team. in: query @@ -94180,7 +94436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94217,7 +94473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94257,7 +94513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94294,7 +94550,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: - - *645 + - *646 - *181 responses: '200': @@ -94303,7 +94559,7 @@ paths: application/json: schema: *321 examples: - response-if-user-is-a-team-maintainer: *650 + response-if-user-is-a-team-maintainer: *651 '404': *7 x-github: githubCloudOnly: false @@ -94336,7 +94592,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: - - *645 + - *646 - *181 requestBody: required: false @@ -94364,7 +94620,7 @@ paths: application/json: schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *651 + response-if-users-membership-with-team-is-now-pending: *652 '403': description: Forbidden if team synchronization is set up '422': @@ -94398,7 +94654,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: - - *645 + - *646 - *181 responses: '204': @@ -94428,7 +94684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94440,7 +94696,7 @@ paths: type: array items: *322 examples: - default: *652 + default: *653 headers: Link: *39 '404': *7 @@ -94467,7 +94723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *645 + - *646 - *323 responses: '200': @@ -94476,7 +94732,7 @@ paths: application/json: schema: *322 examples: - default: *653 + default: *654 '404': description: Not Found if project is not managed by this team x-github: @@ -94501,7 +94757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *645 + - *646 - *323 requestBody: required: false @@ -94570,7 +94826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *645 + - *646 - *323 responses: '204': @@ -94598,7 +94854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94640,7 +94896,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: - - *645 + - *646 - *324 - *325 responses: @@ -94648,7 +94904,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *654 + schema: *655 examples: alternative-response-with-extra-repository-information: value: @@ -94799,7 +95055,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: - - *645 + - *646 - *324 - *325 requestBody: @@ -94851,7 +95107,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: - - *645 + - *646 - *324 - *325 responses: @@ -94882,7 +95138,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: - - *645 + - *646 responses: '200': description: Response @@ -94917,7 +95173,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: - - *645 + - *646 requestBody: required: true content: @@ -95005,7 +95261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -95017,7 +95273,7 @@ paths: type: array items: *238 examples: - response-if-child-teams-exist: *655 + response-if-child-teams-exist: *656 headers: Link: *39 '404': *7 @@ -95050,7 +95306,7 @@ paths: application/json: schema: oneOf: - - &657 + - &658 title: Private User description: Private User type: object @@ -95253,7 +95509,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *656 + - *657 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95406,7 +95662,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -95804,7 +96060,7 @@ paths: type: integer secrets: type: array - items: &658 + items: &659 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95920,7 +96176,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96066,7 +96322,7 @@ paths: type: array items: *159 examples: - default: *659 + default: *660 '401': *25 '403': *29 '404': *7 @@ -96333,7 +96589,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &661 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96374,7 +96630,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &661 + default: &662 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96419,9 +96675,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: *661 + default: *662 '404': *7 x-github: githubCloudOnly: false @@ -96458,9 +96714,9 @@ paths: type: integer machines: type: array - items: *662 + items: *663 examples: - default: *663 + default: *664 '304': *37 '500': *84 '401': *25 @@ -97399,7 +97655,7 @@ paths: type: array items: *254 examples: - default: &676 + default: &677 value: - id: 197 name: hello_docker @@ -97500,7 +97756,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Email description: Email type: object @@ -97565,9 +97821,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: &678 + default: &679 value: - email: octocat@github.com verified: true @@ -97642,7 +97898,7 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: default: value: @@ -97898,7 +98154,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: GPG Key description: A unique encryption key type: object @@ -98029,7 +98285,7 @@ paths: - subkeys - revoked examples: - default: &689 + default: &690 value: - id: 3 name: Octocat's GPG Key @@ -98114,9 +98370,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: &666 + default: &667 value: id: 3 name: Octocat's GPG Key @@ -98173,7 +98429,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: - - &667 + - &668 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98185,9 +98441,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: *666 + default: *667 '404': *7 '304': *37 '403': *29 @@ -98210,7 +98466,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: - - *667 + - *668 responses: '204': description: Response @@ -98401,7 +98657,7 @@ paths: type: array items: *57 examples: - default: *668 + default: *669 headers: Link: *39 '404': *7 @@ -98665,7 +98921,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -98762,9 +99018,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98797,15 +99053,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: - - *531 + - *532 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *7 '304': *37 '403': *29 @@ -98828,7 +99084,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: - - *531 + - *532 responses: '204': description: Response @@ -98861,7 +99117,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98929,7 +99185,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98991,9 +99247,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *39 '304': *37 @@ -99988,7 +100244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *248 - - *673 + - *674 responses: '204': description: Response @@ -100061,7 +100317,7 @@ paths: type: array items: *52 examples: - default: *674 + default: *675 headers: Link: *39 '304': *37 @@ -100103,7 +100359,7 @@ paths: - docker - nuget - container - - *675 + - *676 - *20 - *18 responses: @@ -100115,8 +100371,8 @@ paths: type: array items: *254 examples: - default: *676 - '400': *677 + default: *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100145,7 +100401,7 @@ paths: application/json: schema: *254 examples: - default: &690 + default: &691 value: id: 40201 name: octo-name @@ -100595,9 +100851,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: *678 + default: *679 headers: Link: *39 '304': *37 @@ -100710,7 +100966,7 @@ paths: type: array items: *57 examples: - default: &685 + default: &686 summary: Default response value: - id: 1296269 @@ -101054,7 +101310,7 @@ paths: type: array items: *505 examples: - default: *679 + default: *680 headers: Link: *39 '304': *37 @@ -101133,7 +101389,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Social account description: Social media account type: object @@ -101148,7 +101404,7 @@ paths: - provider - url examples: - default: &681 + default: &682 value: - provider: twitter url: https://twitter.com/github @@ -101210,9 +101466,9 @@ paths: application/json: schema: type: array - items: *680 + items: *681 examples: - default: *681 + default: *682 '422': *16 '304': *37 '404': *7 @@ -101299,7 +101555,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101319,7 +101575,7 @@ paths: - title - created_at examples: - default: &691 + default: &692 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101385,9 +101641,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &683 + default: &684 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101418,7 +101674,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: - - &684 + - &685 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101430,9 +101686,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 '404': *7 '304': *37 '403': *29 @@ -101455,7 +101711,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: - - *684 + - *685 responses: '204': description: Response @@ -101484,7 +101740,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: - - &692 + - &693 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 @@ -101509,11 +101765,11 @@ paths: type: array items: *57 examples: - default-response: *685 + default-response: *686 application/vnd.github.v3.star+json: schema: type: array - items: &693 + items: &694 title: Starred Repository description: Starred Repository type: object @@ -101880,10 +102136,10 @@ paths: application/json: schema: oneOf: + - *658 - *657 - - *656 examples: - default-response: &687 + default-response: &688 summary: Default response value: login: octocat @@ -101918,7 +102174,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &688 + response-with-git-hub-plan-information: &689 summary: Response with GitHub plan information value: login: octocat @@ -101978,7 +102234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *686 + - *687 - *18 responses: '200': @@ -102025,11 +102281,11 @@ paths: application/json: schema: oneOf: + - *658 - *657 - - *656 examples: - default-response: *687 - response-with-git-hub-plan-information: *688 + default-response: *688 + response-with-git-hub-plan-information: *689 '404': *7 x-github: githubCloudOnly: false @@ -102191,7 +102447,7 @@ paths: type: array items: *254 examples: - default: *676 + default: *677 '403': *29 '401': *25 x-github: @@ -102595,9 +102851,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *689 + default: *690 headers: Link: *39 x-github: @@ -102779,7 +103035,7 @@ paths: type: array items: *52 examples: - default: *674 + default: *675 headers: Link: *39 x-github: @@ -102818,7 +103074,7 @@ paths: - docker - nuget - container - - *675 + - *676 - *181 - *20 - *18 @@ -102831,10 +103087,10 @@ paths: type: array items: *254 examples: - default: *676 + default: *677 '403': *29 '401': *25 - '400': *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102864,7 +103120,7 @@ paths: application/json: schema: *254 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103547,9 +103803,9 @@ paths: application/json: schema: type: array - items: *680 + items: *681 examples: - default: *681 + default: *682 headers: Link: *39 x-github: @@ -103579,9 +103835,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *691 + default: *692 headers: Link: *39 x-github: @@ -103606,7 +103862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *181 - - *692 + - *693 - *78 - *18 - *20 @@ -103618,11 +103874,11 @@ paths: schema: anyOf: - type: array - items: *693 + items: *694 - type: array items: *57 examples: - default-response: *685 + default-response: *686 headers: Link: *39 x-github: @@ -103781,7 +104037,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &694 + enterprise: &695 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -103839,7 +104095,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &695 + installation: &696 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -103858,7 +104114,7 @@ x-webhooks: required: - id - node_id - organization: &696 + organization: &697 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -103918,13 +104174,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &697 + repository: &698 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &734 + properties: &735 id: description: Unique identifier of the repository example: 42 @@ -104607,7 +104863,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &735 + required: &736 - archive_url - assignees_url - blobs_url @@ -104758,10 +105014,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -104837,11 +105093,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: &698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: &699 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) @@ -105064,11 +105320,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: *699 sender: *19 required: - action @@ -105251,11 +105507,11 @@ x-webhooks: - everyone required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: *699 sender: *19 required: - action @@ -105328,7 +105584,7 @@ x-webhooks: required: true content: application/json: - schema: &701 + schema: &702 title: Exemption request cancellation event type: object properties: @@ -105336,11 +105592,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: &699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: &700 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105490,7 +105746,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &700 + items: &701 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105595,7 +105851,7 @@ x-webhooks: required: true content: application/json: - schema: &702 + schema: &703 title: Exemption request completed event type: object properties: @@ -105603,11 +105859,11 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 sender: *19 required: - action @@ -105679,7 +105935,7 @@ x-webhooks: required: true content: application/json: - schema: &703 + schema: &704 title: Exemption request created event type: object properties: @@ -105687,11 +105943,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 sender: *19 required: - action @@ -105763,7 +106019,7 @@ x-webhooks: required: true content: application/json: - schema: &704 + schema: &705 title: Exemption response dismissed event type: object properties: @@ -105771,12 +106027,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 + exemption_response: *701 sender: *19 required: - action @@ -105850,7 +106106,7 @@ x-webhooks: required: true content: application/json: - schema: &705 + schema: &706 title: Exemption response submitted event type: object properties: @@ -105858,12 +106114,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 + exemption_response: *701 sender: *19 required: - action @@ -105936,7 +106192,7 @@ x-webhooks: required: true content: application/json: - schema: *701 + schema: *702 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106003,7 +106259,7 @@ x-webhooks: required: true content: application/json: - schema: *702 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106070,7 +106326,7 @@ x-webhooks: required: true content: application/json: - schema: *703 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106137,7 +106393,7 @@ x-webhooks: required: true content: application/json: - schema: *704 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106205,7 +106461,7 @@ x-webhooks: required: true content: application/json: - schema: *705 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106283,7 +106539,7 @@ x-webhooks: type: string enum: - completed - check_run: &707 + check_run: &708 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106384,7 +106640,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *706 + deployment: *707 details_url: example: https://example.com type: string @@ -106469,9 +106725,9 @@ x-webhooks: - output - app - pull_requests - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -106864,10 +107120,10 @@ x-webhooks: type: string enum: - created - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -107263,10 +107519,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 requested_action: description: The action requested by the user. type: object @@ -107671,10 +107927,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -108651,10 +108907,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -109324,10 +109580,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -109991,10 +110247,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -110294,20 +110550,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &709 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: *694 - installation: *695 - organization: *696 - ref: &709 + enterprise: *695 + installation: *696 + organization: *697 + ref: &710 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: *697 + repository: *698 sender: *19 required: - action @@ -110625,12 +110881,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -110887,12 +111143,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111213,12 +111469,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111475,16 +111731,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *697 + repository: *698 sender: *19 required: - action @@ -111710,12 +111966,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111972,10 +112228,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -112055,18 +112311,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *696 - pusher_type: &710 + organization: *697 + pusher_type: &711 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &712 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -112076,7 +112332,7 @@ x-webhooks: enum: - tag - branch - repository: *697 + repository: *698 sender: *19 required: - ref @@ -112159,9 +112415,9 @@ x-webhooks: enum: - created definition: *268 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112246,9 +112502,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112326,9 +112582,9 @@ x-webhooks: enum: - updated definition: *268 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112405,10 +112661,10 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - repository: *697 - organization: *696 + enterprise: *695 + installation: *696 + repository: *698 + organization: *697 sender: *19 new_property_values: type: array @@ -112493,18 +112749,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - pusher_type: *710 - ref: *711 + enterprise: *695 + installation: *696 + organization: *697 + pusher_type: *711 + ref: *712 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *697 + repository: *698 sender: *19 required: - ref @@ -112589,10 +112845,10 @@ x-webhooks: enum: - auto_dismissed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112677,10 +112933,10 @@ x-webhooks: enum: - auto_reopened alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112765,10 +113021,10 @@ x-webhooks: enum: - created alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112851,10 +113107,10 @@ x-webhooks: enum: - dismissed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112937,10 +113193,10 @@ x-webhooks: enum: - fixed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113024,10 +113280,10 @@ x-webhooks: enum: - reintroduced alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113110,10 +113366,10 @@ x-webhooks: enum: - reopened alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113190,9 +113446,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - key: &712 + enterprise: *695 + installation: *696 + key: &713 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113228,8 +113484,8 @@ x-webhooks: - verified - created_at - read_only - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -113306,11 +113562,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - key: *712 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + key: *713 + organization: *697 + repository: *698 sender: *19 required: - action @@ -113871,12 +114127,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: &716 + workflow: &717 title: Workflow type: object nullable: true @@ -114605,10 +114861,10 @@ x-webhooks: deployment: *467 pull_requests: type: array - items: *551 - repository: *697 - organization: *696 - installation: *695 + items: *552 + repository: *698 + organization: *697 + installation: *696 sender: *19 responses: '200': @@ -114679,7 +114935,7 @@ x-webhooks: type: string enum: - approved - approver: &713 + approver: &714 type: object properties: avatar_url: @@ -114722,11 +114978,11 @@ x-webhooks: type: string comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: &714 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + reviewers: &715 type: array items: type: object @@ -114805,7 +115061,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &715 + workflow_job_run: &716 type: object properties: conclusion: @@ -115536,18 +115792,18 @@ x-webhooks: type: string enum: - rejected - approver: *713 + approver: *714 comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: *714 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + reviewers: *715 sender: *19 since: type: string - workflow_job_run: *715 + workflow_job_run: *716 workflow_job_runs: type: array items: @@ -116251,13 +116507,13 @@ x-webhooks: type: string enum: - requested - enterprise: *694 + enterprise: *695 environment: type: string - installation: *695 - organization: *696 - repository: *697 - requestor: &721 + installation: *696 + organization: *697 + repository: *698 + requestor: &722 title: User type: object nullable: true @@ -118156,12 +118412,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Deployment Workflow Run type: object @@ -118841,7 +119097,7 @@ x-webhooks: type: string enum: - answered - answer: &719 + answer: &720 type: object properties: author_association: @@ -118998,7 +119254,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &718 title: Discussion description: A Discussion in a repository. type: object @@ -119306,10 +119562,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119436,11 +119692,11 @@ x-webhooks: - from required: - category - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119523,11 +119779,11 @@ x-webhooks: type: string enum: - closed - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119609,7 +119865,7 @@ x-webhooks: type: string enum: - created - comment: &718 + comment: &719 type: object properties: author_association: @@ -119766,11 +120022,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119853,12 +120109,12 @@ x-webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *719 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119953,12 +120209,12 @@ x-webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *719 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120042,11 +120298,11 @@ x-webhooks: type: string enum: - created - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120128,11 +120384,11 @@ x-webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120232,11 +120488,11 @@ x-webhooks: type: string required: - from - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120318,10 +120574,10 @@ x-webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *694 - installation: *695 - label: &720 + discussion: *718 + enterprise: *695 + installation: *696 + label: &721 title: Label type: object properties: @@ -120353,8 +120609,8 @@ x-webhooks: - color - default - description - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120437,11 +120693,11 @@ x-webhooks: type: string enum: - locked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120523,11 +120779,11 @@ x-webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120609,11 +120865,11 @@ x-webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120698,16 +120954,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *697 + new_discussion: *718 + new_repository: *698 required: - new_discussion - new_repository - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120790,10 +121046,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *696 - repository: *697 + discussion: *718 + old_answer: *720 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120875,12 +121131,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120963,11 +121219,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -121049,11 +121305,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -121126,7 +121382,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *694 + enterprise: *695 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -121786,9 +122042,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - forkee @@ -121934,9 +122190,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pages: description: The pages that were updated. type: array @@ -121973,7 +122229,7 @@ x-webhooks: - action - sha - html_url - repository: *697 + repository: *698 sender: *19 required: - pages @@ -122049,10 +122305,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: &722 + organization: *697 + repositories: &723 description: An array of repository objects that the installation can access. type: array @@ -122078,8 +122334,8 @@ x-webhooks: - name - full_name - private - repository: *697 - requester: *721 + repository: *698 + requester: *722 sender: *19 required: - action @@ -122154,11 +122410,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122234,11 +122490,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122314,10 +122570,10 @@ x-webhooks: type: string enum: - added - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories_added: &723 + organization: *697 + repositories_added: &724 description: An array of repository objects, which were added to the installation. type: array @@ -122363,15 +122619,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *697 - repository_selection: &724 + repository: *698 + repository_selection: &725 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *722 sender: *19 required: - action @@ -122450,10 +122706,10 @@ x-webhooks: type: string enum: - removed - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories_added: *723 + organization: *697 + repositories_added: *724 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122480,9 +122736,9 @@ x-webhooks: - name - full_name - private - repository: *697 - repository_selection: *724 - requester: *721 + repository: *698 + repository_selection: *725 + requester: *722 sender: *19 required: - action @@ -122561,11 +122817,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122744,10 +123000,10 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 target_type: type: string @@ -122826,11 +123082,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -123082,8 +123338,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -123877,6 +124133,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124224,8 +124494,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -124305,7 +124575,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &726 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124470,8 +124740,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125261,6 +125531,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125610,8 +125894,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -125691,7 +125975,7 @@ x-webhooks: type: string enum: - edited - changes: &753 + changes: &754 description: The changes to the comment. type: object properties: @@ -125703,9 +125987,9 @@ x-webhooks: type: string required: - from - comment: *725 - enterprise: *694 - installation: *695 + comment: *726 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126498,6 +126782,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126845,8 +127143,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -126928,10 +127226,10 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - issue: &728 + assignee: *722 + enterprise: *695 + installation: *696 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127720,6 +128018,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127835,8 +128147,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -127916,8 +128228,8 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128711,6 +129023,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128961,8 +129287,8 @@ x-webhooks: required: - state - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -129041,8 +129367,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129825,6 +130151,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129939,8 +130279,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -130019,8 +130359,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130827,6 +131167,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130920,7 +131274,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &727 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131058,8 +131412,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -131158,8 +131512,8 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131948,6 +132302,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132063,9 +132431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -132145,8 +132513,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132934,6 +133302,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133049,9 +133431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -133131,8 +133513,8 @@ x-webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133944,6 +134326,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134036,8 +134432,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -134116,8 +134512,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134923,6 +135319,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135015,9 +135425,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *696 - repository: *697 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -135885,6 +136295,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136464,8 +136888,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137254,6 +137678,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137368,8 +137806,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -137449,9 +137887,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *694 - installation: *695 - issue: &727 + enterprise: *695 + installation: *696 + issue: &728 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138234,6 +138672,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138348,8 +138800,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -138428,8 +138880,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139239,6 +139691,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139332,8 +139798,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -140199,6 +140665,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140781,11 +141261,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *728 + organization: *697 + repository: *698 sender: *19 required: - action @@ -140866,7 +141346,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &756 + assignee: &757 title: User type: object nullable: true @@ -140936,11 +141416,11 @@ x-webhooks: required: - login - id - enterprise: *694 - installation: *695 - issue: *728 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *729 + organization: *697 + repository: *698 sender: *19 required: - action @@ -141019,12 +141499,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - issue: *728 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *729 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -141104,8 +141584,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141915,6 +142395,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142007,8 +142501,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142088,11 +142582,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *728 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142171,11 +142665,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142253,11 +142747,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142367,11 +142861,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142453,9 +142947,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: &729 + enterprise: *695 + installation: *696 + marketplace_purchase: &730 title: Marketplace Purchase type: object required: @@ -142538,8 +143032,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: &730 + organization: *697 + previous_marketplace_purchase: &731 title: Marketplace Purchase type: object properties: @@ -142619,7 +143113,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -142699,10 +143193,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142785,7 +143279,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -142867,10 +143361,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142952,7 +143446,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -143033,8 +143527,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 marketplace_purchase: title: Marketplace Purchase type: object @@ -143116,9 +143610,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + organization: *697 + previous_marketplace_purchase: *731 + repository: *698 sender: *19 required: - action @@ -143198,12 +143692,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 + previous_marketplace_purchase: *731 + repository: *698 sender: *19 required: - action @@ -143305,11 +143799,11 @@ x-webhooks: type: string required: - to - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143409,11 +143903,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143492,11 +143986,11 @@ x-webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143574,11 +144068,11 @@ x-webhooks: type: string enum: - added - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143654,7 +144148,7 @@ x-webhooks: required: - login - id - team: &731 + team: &732 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143844,11 +144338,11 @@ x-webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143925,7 +144419,7 @@ x-webhooks: required: - login - id - team: *731 + team: *732 required: - action - scope @@ -144007,8 +144501,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *695 - merge_group: &733 + installation: *696 + merge_group: &734 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144027,15 +144521,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *732 + head_commit: *733 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144121,10 +144615,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *695 - merge_group: *733 - organization: *696 - repository: *697 + installation: *696 + merge_group: *734 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144197,7 +144691,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *695 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144305,16 +144799,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *695 - organization: *696 + installation: *696 + organization: *697 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -144395,11 +144889,11 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144478,9 +144972,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - milestone: &736 + enterprise: *695 + installation: *696 + milestone: &737 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144617,8 +145111,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144697,11 +145191,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144811,11 +145305,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144895,11 +145389,11 @@ x-webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - milestone: *736 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *737 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144978,11 +145472,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *722 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145061,11 +145555,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *722 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145144,9 +145638,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - membership: &737 + enterprise: *695 + installation: *696 + membership: &738 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145238,8 +145732,8 @@ x-webhooks: - role - organization_url - user - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145317,11 +145811,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145400,8 +145894,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145517,10 +146011,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 - user: *721 + user: *722 required: - action - invitation @@ -145598,11 +146092,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145689,11 +146183,11 @@ x-webhooks: properties: from: type: string - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145769,9 +146263,9 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 package: description: Information about the package. type: object @@ -146270,7 +146764,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &738 + items: &739 title: Ruby Gems metadata type: object properties: @@ -146365,7 +146859,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -146441,9 +146935,9 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 package: description: Information about the package. type: object @@ -146796,7 +147290,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *739 source_url: type: string format: uri @@ -146866,7 +147360,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -147043,12 +147537,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *694 + enterprise: *695 id: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - id @@ -147128,7 +147622,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &739 + personal_access_token_request: &740 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147274,10 +147768,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *694 - organization: *696 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147356,11 +147850,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *739 - enterprise: *694 - organization: *696 + personal_access_token_request: *740 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147438,11 +147932,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *739 - enterprise: *694 - organization: *696 + personal_access_token_request: *740 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147519,11 +148013,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *739 - organization: *696 - enterprise: *694 + personal_access_token_request: *740 + organization: *697 + enterprise: *695 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147627,7 +148121,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *740 + last_response: *741 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147659,8 +148153,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 zen: description: Random string of GitHub zen. @@ -147905,10 +148399,10 @@ x-webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: &741 + enterprise: *695 + installation: *696 + organization: *697 + project_card: &742 title: Project Card type: object properties: @@ -148027,7 +148521,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -148108,11 +148602,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_card: *741 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_card: *742 + repository: *698 sender: *19 required: - action @@ -148192,9 +148686,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 project_card: title: Project Card type: object @@ -148322,8 +148816,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -148417,11 +148911,11 @@ x-webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: *741 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_card: *742 + repository: *698 sender: *19 required: - action @@ -148515,9 +149009,9 @@ x-webhooks: - from required: - column_id - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 project_card: allOf: - title: Project Card @@ -148707,7 +149201,7 @@ x-webhooks: type: string required: - after_id - repository: *697 + repository: *698 sender: *19 required: - action @@ -148787,10 +149281,10 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - organization: *696 - project: &743 + enterprise: *695 + installation: *696 + organization: *697 + project: &744 title: Project type: object properties: @@ -148914,7 +149408,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -148994,10 +149488,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_column: &742 + enterprise: *695 + installation: *696 + organization: *697 + project_column: &743 title: Project Column type: object properties: @@ -149036,7 +149530,7 @@ x-webhooks: - name - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -149115,18 +149609,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -149216,11 +149710,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 + repository: *698 sender: *19 required: - action @@ -149300,11 +149794,11 @@ x-webhooks: type: string enum: - moved - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 + repository: *698 sender: *19 required: - action @@ -149384,11 +149878,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149468,18 +149962,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project: *743 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -149581,11 +150075,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149664,11 +150158,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149749,9 +150243,9 @@ x-webhooks: type: string enum: - closed - installation: *695 - organization: *696 - projects_v2: &744 + installation: *696 + organization: *697 + projects_v2: &745 title: Projects v2 Project description: A projects v2 project type: object @@ -149894,9 +150388,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -149977,9 +150471,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -150096,9 +150590,9 @@ x-webhooks: type: string to: type: string - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -150181,7 +150675,7 @@ x-webhooks: type: string enum: - archived - changes: &748 + changes: &749 type: object properties: archived_at: @@ -150195,9 +150689,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *695 - organization: *696 - projects_v2_item: &745 + installation: *696 + organization: *697 + projects_v2_item: &746 title: Projects v2 Item description: An item belonging to a project type: object @@ -150331,9 +150825,9 @@ x-webhooks: nullable: true to: type: string - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150415,9 +150909,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150498,9 +150992,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150606,7 +151100,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &746 + - &747 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150624,7 +151118,7 @@ x-webhooks: required: - id - name - - &747 + - &748 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150647,8 +151141,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *746 - *747 + - *748 required: - field_value - type: object @@ -150664,9 +151158,9 @@ x-webhooks: nullable: true required: - body - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150761,9 +151255,9 @@ x-webhooks: to: type: string nullable: true - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150846,10 +151340,10 @@ x-webhooks: type: string enum: - restored - changes: *748 - installation: *695 - organization: *696 - projects_v2_item: *745 + changes: *749 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150931,9 +151425,9 @@ x-webhooks: type: string enum: - reopened - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -151014,9 +151508,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_status_update: &749 + installation: *696 + organization: *697 + projects_v2_status_update: &750 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151143,9 +151637,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_status_update: *749 + installation: *696 + organization: *697 + projects_v2_status_update: *750 sender: *19 required: - action @@ -151281,9 +151775,9 @@ x-webhooks: type: string format: date nullable: true - installation: *695 - organization: *696 - projects_v2_status_update: *749 + installation: *696 + organization: *697 + projects_v2_status_update: *750 sender: *19 required: - action @@ -151354,10 +151848,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - repository @@ -151434,13 +151928,13 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - number: &750 + assignee: *722 + enterprise: *695 + installation: *696 + number: &751 description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -153723,7 +154217,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -153805,11 +154299,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -156087,7 +156581,7 @@ x-webhooks: - draft reason: type: string - repository: *697 + repository: *698 sender: *19 required: - action @@ -156169,11 +156663,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -158451,7 +158945,7 @@ x-webhooks: - draft reason: type: string - repository: *697 + repository: *698 sender: *19 required: - action @@ -158533,13 +159027,13 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: &751 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: &752 allOf: - - *551 + - *552 - type: object properties: allow_auto_merge: @@ -158601,7 +159095,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *697 + repository: *698 sender: *19 required: - action @@ -158682,12 +159176,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -158767,11 +159261,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *694 - milestone: *534 - number: *750 - organization: *696 - pull_request: &752 + enterprise: *695 + milestone: *535 + number: *751 + organization: *697 + pull_request: &753 title: Pull Request type: object properties: @@ -161034,7 +161528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -161113,11 +161607,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -163399,7 +163893,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *697 + repository: *698 sender: *19 required: - action @@ -163523,12 +164017,12 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -163608,11 +164102,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -165879,7 +166373,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -165959,11 +166453,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 - label: *720 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + label: *721 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -168245,7 +168739,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -168326,10 +168820,10 @@ x-webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -170609,7 +171103,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -170689,12 +171183,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *694 - milestone: *534 - number: *750 - organization: *696 - pull_request: *752 - repository: *697 + enterprise: *695 + milestone: *535 + number: *751 + organization: *697 + pull_request: *753 + repository: *698 sender: *19 required: - action @@ -170773,12 +171267,12 @@ x-webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -170859,12 +171353,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -170944,12 +171438,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -171315,9 +171809,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -173487,7 +173981,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -173567,7 +174061,7 @@ x-webhooks: type: string enum: - deleted - comment: &754 + comment: &755 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. @@ -173852,9 +174346,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -176012,7 +176506,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -176092,11 +176586,11 @@ x-webhooks: type: string enum: - edited - changes: *753 - comment: *754 - enterprise: *694 - installation: *695 - organization: *696 + changes: *754 + comment: *755 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -178257,7 +178751,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -178338,9 +178832,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -180513,7 +181007,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 review: description: The review that was affected. type: object @@ -180756,9 +181250,9 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -182812,8 +183306,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: &755 + repository: *698 + review: &756 description: The review that was affected. type: object properties: @@ -183042,12 +183536,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -185330,7 +185824,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_reviewer: title: User type: object @@ -185414,12 +185908,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -187709,7 +188203,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187901,12 +188395,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -190191,7 +190685,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_reviewer: title: User type: object @@ -190276,12 +190770,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -192557,7 +193051,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192738,9 +193232,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -194915,8 +195409,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: *755 + repository: *698 + review: *756 sender: *19 required: - action @@ -194996,9 +195490,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -197068,7 +197562,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 sender: *19 thread: type: object @@ -197451,9 +197945,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -199509,7 +200003,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 sender: *19 thread: type: object @@ -199895,10 +200389,10 @@ x-webhooks: type: string before: type: string - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -202169,7 +202663,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -202251,11 +202745,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *756 - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + assignee: *757 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -204538,7 +205032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -204617,11 +205111,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - label: *720 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + label: *721 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -206894,7 +207388,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -206975,10 +207469,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -209243,7 +209737,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -209443,7 +209937,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *694 + enterprise: *695 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209535,8 +210029,8 @@ x-webhooks: - url - author - committer - installation: *695 - organization: *696 + installation: *696 + organization: *697 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210111,9 +210605,9 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 registry_package: type: object properties: @@ -210559,7 +211053,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *738 + items: *739 summary: type: string tag_name: @@ -210613,7 +211107,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -210691,9 +211185,9 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 registry_package: type: object properties: @@ -211001,7 +211495,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *739 summary: type: string tag_name: @@ -211050,7 +211544,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -211127,10 +211621,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - release: &757 + enterprise: *695 + installation: *696 + organization: *697 + release: &758 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211435,7 +211929,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *697 + repository: *698 sender: *19 required: - action @@ -211512,11 +212006,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -211624,11 +212118,11 @@ x-webhooks: type: boolean required: - to - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -211706,9 +212200,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -212017,7 +212511,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *697 + repository: *698 sender: *19 required: - action @@ -212093,10 +212587,10 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - release: &758 + enterprise: *695 + installation: *696 + organization: *697 + release: &759 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212402,7 +212896,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *697 + repository: *698 sender: *19 required: - action @@ -212478,11 +212972,11 @@ x-webhooks: type: string enum: - released - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -212558,11 +213052,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *694 - installation: *695 - organization: *696 - release: *758 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *759 + repository: *698 sender: *19 required: - action @@ -212638,11 +213132,11 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *605 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + repository_advisory: *606 sender: *19 required: - action @@ -212718,11 +213212,11 @@ x-webhooks: type: string enum: - reported - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *605 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + repository_advisory: *606 sender: *19 required: - action @@ -212798,10 +213292,10 @@ x-webhooks: type: string enum: - archived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -212878,10 +213372,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -212959,10 +213453,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213046,10 +213540,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213161,10 +213655,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213236,10 +213730,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 status: type: string @@ -213320,10 +213814,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213400,10 +213894,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213497,10 +213991,10 @@ x-webhooks: - name required: - repository - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213580,10 +214074,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 sender: *19 required: @@ -213662,10 +214156,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 sender: *19 required: @@ -213744,10 +214238,10 @@ x-webhooks: type: string enum: - edited - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 changes: type: object @@ -214052,10 +214546,10 @@ x-webhooks: - from required: - owner - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214133,10 +214627,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214214,7 +214708,7 @@ x-webhooks: type: string enum: - create - alert: &759 + alert: &760 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214335,10 +214829,10 @@ x-webhooks: type: string enum: - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214544,10 +215038,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214625,11 +215119,11 @@ x-webhooks: type: string enum: - reopen - alert: *759 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *760 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214828,10 +215322,10 @@ x-webhooks: enum: - fixed - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214909,7 +215403,7 @@ x-webhooks: type: string enum: - created - alert: &760 + alert: &761 type: object properties: number: *85 @@ -215015,10 +215509,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215099,11 +215593,11 @@ x-webhooks: type: string enum: - created - alert: *760 - installation: *695 - location: *761 - organization: *696 - repository: *697 + alert: *761 + installation: *696 + location: *762 + organization: *697 + repository: *698 sender: *19 required: - location @@ -215341,11 +215835,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215423,11 +215917,11 @@ x-webhooks: type: string enum: - reopened - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215505,11 +215999,11 @@ x-webhooks: type: string enum: - resolved - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215587,11 +216081,11 @@ x-webhooks: type: string enum: - validated - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215667,11 +216161,11 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: &762 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + security_advisory: &763 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215854,11 +216348,11 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: *762 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + security_advisory: *763 sender: *19 required: - action @@ -215931,10 +216425,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216119,9 +216613,9 @@ x-webhooks: type: object properties: security_and_analysis: *275 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: *337 sender: *19 required: @@ -216200,12 +216694,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: &763 + sponsorship: &764 type: object properties: created_at: @@ -216506,12 +217000,12 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - sponsorship @@ -216599,12 +217093,12 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216681,17 +217175,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &764 + effective_date: &765 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: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - sponsorship @@ -216765,7 +217259,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &765 + changes: &766 type: object properties: tier: @@ -216809,13 +217303,13 @@ x-webhooks: - from required: - tier - effective_date: *764 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + effective_date: *765 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216892,13 +217386,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *765 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + changes: *766 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216972,10 +217466,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217058,10 +217552,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217480,15 +217974,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *694 + enterprise: *695 id: description: The unique identifier of the status. type: integer - installation: *695 + installation: *696 name: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 sha: description: The Commit SHA. @@ -217603,9 +218097,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217695,9 +218189,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217787,9 +218281,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217879,9 +218373,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217958,12 +218452,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - team: &766 + team: &767 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218153,9 +218647,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -218613,7 +219107,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -218689,9 +219183,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -219149,7 +219643,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -219226,9 +219720,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -219686,7 +220180,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -219830,9 +220324,9 @@ x-webhooks: - from required: - permissions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -220290,7 +220784,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - changes @@ -220368,9 +220862,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -220828,7 +221322,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -220904,10 +221398,10 @@ x-webhooks: type: string enum: - started - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -220980,16 +221474,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *694 + enterprise: *695 inputs: type: object nullable: true additionalProperties: true - installation: *695 - organization: *696 + installation: *696 + organization: *697 ref: type: string - repository: *697 + repository: *698 sender: *19 workflow: type: string @@ -221071,10 +221565,10 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: allOf: @@ -221390,10 +221884,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: allOf: @@ -221732,10 +222226,10 @@ x-webhooks: type: string enum: - queued - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: type: object @@ -221949,10 +222443,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: type: object @@ -222168,12 +222662,12 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object @@ -223172,12 +223666,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object @@ -224161,12 +224655,12 @@ x-webhooks: type: string enum: - requested - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 137c3f641..a71c2f55a 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -35072,6 +35072,26 @@ "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" + ] } }, "required": [ @@ -49984,6 +50004,26 @@ "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" + ] } }, "required": [ @@ -55592,6 +55632,26 @@ "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" + ] } }, "required": [ @@ -94099,6 +94159,26 @@ "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" + ] } }, "required": [ @@ -104526,6 +104606,26 @@ "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" + ] } }, "required": [ @@ -278161,6 +278261,26 @@ "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" + ] } }, "required": [ @@ -297812,6 +297932,26 @@ "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" + ] } }, "required": [ @@ -300228,6 +300368,26 @@ "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" + ] } }, "required": [ @@ -305910,6 +306070,26 @@ "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" + ] } }, "required": [ @@ -309421,6 +309601,26 @@ "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" + ] } }, "required": [ @@ -312808,6 +313008,26 @@ "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" + ] } }, "required": [ @@ -315201,6 +315421,26 @@ "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" + ] } }, "required": [ @@ -317620,6 +317860,26 @@ "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" + ] } }, "required": [ @@ -319842,6 +320102,26 @@ "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" + ] } }, "required": [ @@ -331560,494 +331840,9964 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - }, - "post": { - "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", - "tags": [ - "reactions" - ], - "operationId": "reactions/create-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-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" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + }, + "post": { + "summary": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "tags": [ + "reactions" + ], + "operationId": "reactions/create-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-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": { + "content": { + "type": "string", + "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue.", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + } + }, + "required": [ + "content" + ] + }, + "examples": { + "default": { + "value": { + "content": "heart" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Reaction", + "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDg6UmVhY3Rpb24x" + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "content": { + "description": "The reaction to use", + "example": "heart", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2016-05-20T20:09:31Z" + } + }, + "required": [ + "id", + "node_id", + "user", + "content", + "created_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "node_id": "MDg6UmVhY3Rpb24x", + "user": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-05-20T20:09:31Z" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { + "delete": { + "summary": "Delete an issue reaction", + "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", + "tags": [ + "reactions" + ], + "operationId": "reactions/delete-for-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction" + }, + "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": "reaction_id", + "description": "The unique identifier of the reaction.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "reactions", + "subcategory": "reactions" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues" + }, + "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", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "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", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-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": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "example": "https://api.github.com/repositories/42/issues/1", + "type": "string", + "format": "uri" + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "example": 42, + "type": "integer" + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "example": "open", + "type": "string" + }, + "state_reason": { + "description": "The reason for the current state", + "example": "not_planned", + "type": "string", + "nullable": true, + "enum": [ + "completed", + "reopened", + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "example": "Widget creation fails in Safari on OS X 10.8", + "type": "string" + }, + "body": { + "description": "Contents of the issue", + "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?", + "type": "string", + "nullable": true + }, + "user": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "example": [ + "bug", + "registration" + ], + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "color": { + "type": "string", + "nullable": true + }, + "default": { + "type": "boolean" + } + } + } + ] + } + }, + "assignee": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "assignees": { + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "nullable": true + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/milestones/v1.0" + }, + "labels_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + }, + "id": { + "type": "integer", + "example": 1002604 + }, + "node_id": { + "type": "string", + "example": "MDk6TWlsZXN0b25lMTAwMjYwNA==" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "example": 42 + }, + "state": { + "description": "The state of the milestone.", + "example": "open", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "title": { + "description": "The title of the milestone.", + "example": "v1.0", + "type": "string" + }, + "description": { + "type": "string", + "example": "Tracking milestone for version 1.0", + "nullable": true + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "open_issues": { + "type": "integer", + "example": 4 + }, + "closed_issues": { + "type": "integer", + "example": 8 + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-10T20:09:31Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2014-03-03T18:58:10Z" + }, + "closed_at": { + "type": "string", + "format": "date-time", + "example": "2013-02-12T13:22:01Z", + "nullable": true + }, + "due_on": { + "type": "string", + "format": "date-time", + "example": "2012-10-09T23:39:01Z", + "nullable": 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" + ], + "nullable": true + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": "string", + "nullable": true + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "diff_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "patch_url": { + "type": "string", + "format": "uri", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "nullable": true + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "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": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 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", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true, + "deprecated": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "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", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": 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", + "example": 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", + "example": 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", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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": { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "example": 37, + "type": "integer" + }, + "slug": { + "description": "The slug name of the GitHub app", + "example": "probot-owners", + "type": "string" + }, + "node_id": { + "type": "string", + "example": "MDExOkludGVncmF0aW9uMQ==" + }, + "client_id": { + "type": "string", + "example": "\"Iv1.25b5d1e65ffc4022\"" + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "name": { + "description": "The name of the GitHub app", + "example": "Probot Owners", + "type": "string" + }, + "description": { + "type": "string", + "example": "The description of the app.", + "nullable": true + }, + "external_url": { + "type": "string", + "format": "uri", + "example": "https://example.com" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/apps/super-ci" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2017-07-08T16:18:44-04:00" + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "example": [ + "label", + "deployment" + ], + "type": "array", + "items": { + "type": "string" + } + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "example": 5, + "type": "integer" + }, + "client_secret": { + "type": "string", + "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + }, + "webhook_secret": { + "type": "string", + "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"", + "nullable": true + }, + "pem": { + "type": "string", + "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\"" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "example": "OWNER", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "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" + ] + } + }, + "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", + "author_association", + "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 + }, + "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" + } + } + } + } + } }, - { - "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": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" - }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - } - } - } - } - }, - "201": { - "description": "Response", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDg6UmVhY3Rpb24x" + "message": { + "type": "string" }, - "user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "example": "heart", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2016-05-20T20:09:31Z" - } - }, - "required": [ - "id", - "node_id", - "user", - "content", - "created_at" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" + "status": { + "type": "string" } } } @@ -332059,8 +341809,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -332076,122 +341826,42 @@ "errors": { "type": "array", "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } + "type": "string" } } } } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue reaction", - "description": "> [!NOTE]\n> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-issue", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction" - }, - "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": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { - "type": "integer" + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } } } - ], - "responses": { - "204": { - "description": "Response" - } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "sub-issues" } } }, @@ -341472,6 +351142,26 @@ "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" + ] } }, "required": [ @@ -447835,6 +457525,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -492039,6 +501749,26 @@ "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" + ] } }, "required": [ @@ -520703,6 +530433,26 @@ "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" + ] } }, "required": [ @@ -523475,6 +533225,26 @@ "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" + ] } }, "required": [ @@ -526249,6 +536019,26 @@ "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" + ] } }, "required": [ @@ -535365,6 +545155,26 @@ "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" + ] } }, "required": [ @@ -538139,6 +547949,26 @@ "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" + ] } }, "required": [ @@ -716871,6 +726701,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -720474,6 +730324,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -724101,6 +733971,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -727336,6 +737226,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -730146,6 +740056,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -733145,6 +743075,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -735965,6 +745915,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -738958,6 +748928,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -741802,6 +751792,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -744672,6 +754682,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -747468,6 +757498,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -750342,6 +760392,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -752234,6 +762304,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -755032,6 +765122,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -757855,6 +767965,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -760545,6 +770675,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -762434,6 +772584,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -765336,6 +775506,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -768141,6 +778331,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -771009,6 +781219,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -773784,6 +784014,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -1120340,6 +1130590,26 @@ "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" + ] } }, "required": [ @@ -1123037,6 +1133307,26 @@ "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" + ] } }, "required": [ @@ -1126562,6 +1136852,26 @@ "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" + ] } }, "required": [ @@ -1129259,6 +1139569,26 @@ "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" + ] } }, "required": [ @@ -1132784,6 +1143114,26 @@ "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" + ] } }, "required": [ @@ -1135481,6 +1145831,26 @@ "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" + ] } }, "required": [ @@ -1139006,6 +1149376,26 @@ "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" + ] } }, "required": [ @@ -1141703,6 +1152093,26 @@ "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" + ] } }, "required": [ diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index a4c2afd3f..e0f29a904 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -1012,7 +1012,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: - - &607 + - &608 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &617 + schema: &618 title: Scim Error description: Scim Error type: object @@ -13231,14 +13231,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &599 + state: &600 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: &600 + resolution: &601 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -14893,6 +14893,20 @@ paths: - 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 required: &509 - assignee - closed_at @@ -15480,7 +15494,7 @@ paths: url: type: string format: uri - user: &656 + user: &657 title: Public User description: Public User type: object @@ -18865,7 +18879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &537 + - &538 name: all description: If `true`, show notifications marked as read. in: query @@ -18873,7 +18887,7 @@ paths: schema: type: boolean default: false - - &538 + - &539 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18883,7 +18897,7 @@ paths: type: boolean default: false - *108 - - &539 + - &540 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: @@ -19347,7 +19361,7 @@ paths: - url - subscription_url examples: - default: &540 + default: &541 value: - id: '1' repository: @@ -19893,7 +19907,7 @@ paths: type: array items: *52 examples: - default: &674 + default: &675 value: - login: github id: 1 @@ -21083,7 +21097,7 @@ paths: type: array items: *57 examples: - default: &668 + default: &669 value: total_count: 1 repositories: @@ -21848,7 +21862,7 @@ paths: type: array items: *159 examples: - default: &659 + default: &660 value: total_count: 1 repositories: @@ -32422,7 +32436,7 @@ paths: parameters: - *141 - *248 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -33728,7 +33742,7 @@ paths: - nuget - container - *141 - - &675 + - &676 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33769,7 +33783,7 @@ paths: default: *255 '403': *29 '401': *25 - '400': &677 + '400': &678 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37069,7 +37083,7 @@ paths: - *141 - *18 - *20 - - &586 + - &587 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37348,7 +37362,7 @@ paths: type: object description: A repository rule. oneOf: - - &568 + - &569 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37360,7 +37374,7 @@ paths: type: string enum: - creation - - &569 + - &570 title: update description: Only allow users with bypass permission to update matching refs. @@ -37381,7 +37395,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &571 + - &572 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37393,7 +37407,7 @@ paths: type: string enum: - deletion - - &572 + - &573 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37405,7 +37419,7 @@ paths: type: string enum: - required_linear_history - - &573 + - &574 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37483,7 +37497,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &574 + - &575 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37507,7 +37521,7 @@ paths: type: string required: - required_deployment_environments - - &575 + - &576 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37519,7 +37533,7 @@ paths: type: string enum: - required_signatures - - &576 + - &577 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37565,7 +37579,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &577 + - &578 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37613,7 +37627,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &578 + - &579 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37625,7 +37639,7 @@ paths: type: string enum: - non_fast_forward - - &579 + - &580 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37661,7 +37675,7 @@ paths: required: - operator - pattern - - &580 + - &581 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37697,7 +37711,7 @@ paths: required: - operator - pattern - - &581 + - &582 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37733,7 +37747,7 @@ paths: required: - operator - pattern - - &582 + - &583 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37769,7 +37783,7 @@ paths: required: - operator - pattern - - &583 + - &584 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37895,7 +37909,7 @@ paths: maximum: 100 required: - max_file_size - - &584 + - &585 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37945,7 +37959,7 @@ paths: - repository_id required: - workflows - - &585 + - &586 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38182,7 +38196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *141 - - &587 + - &588 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 @@ -38197,7 +38211,7 @@ paths: in: query schema: type: string - - &588 + - &589 name: time_period description: |- The time period to filter by. @@ -38213,14 +38227,14 @@ paths: - week - month default: day - - &589 + - &590 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 - - &590 + - &591 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38240,7 +38254,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &592 title: Rule Suites description: Response type: array @@ -38295,7 +38309,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &592 + default: &593 value: - id: 21 actor_id: 12 @@ -38339,7 +38353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *141 - - &593 + - &594 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38355,7 +38369,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suite description: Response type: object @@ -38454,7 +38468,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &595 + default: &596 value: id: 21 actor_id: 12 @@ -38672,7 +38686,7 @@ paths: - *78 - *20 - *18 - - &597 + - &598 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 @@ -38682,7 +38696,7 @@ paths: required: false schema: type: string - - &598 + - &599 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 @@ -38774,7 +38788,7 @@ paths: application/json: schema: type: array - items: &605 + items: &606 description: A repository security advisory. type: object properties: @@ -39065,7 +39079,7 @@ paths: - private_fork additionalProperties: false examples: - default: &606 + default: &607 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40649,7 +40663,7 @@ paths: - updated_at - url examples: - default: &646 + default: &647 value: - author: login: octocat @@ -40897,7 +40911,7 @@ paths: application/json: schema: *307 examples: - default: &647 + default: &648 value: author: login: octocat @@ -41080,7 +41094,7 @@ paths: - updated_at - url examples: - default: &648 + default: &649 value: - author: login: octocat @@ -41306,7 +41320,7 @@ paths: application/json: schema: *310 examples: - default: &649 + default: &650 value: author: login: octocat @@ -42019,7 +42033,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &650 + response-if-user-is-a-team-maintainer: &651 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42084,7 +42098,7 @@ paths: application/json: schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &651 + response-if-users-membership-with-team-is-now-pending: &652 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42226,7 +42240,7 @@ paths: - updated_at - permissions examples: - default: &652 + default: &653 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42303,7 +42317,7 @@ paths: application/json: schema: *322 examples: - default: &653 + default: &654 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42506,7 +42520,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &654 + schema: &655 title: Team Repository description: A team's access to a repository. type: object @@ -43272,7 +43286,7 @@ paths: type: array items: *238 examples: - response-if-child-teams-exist: &655 + response-if-child-teams-exist: &656 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54969,7 +54983,7 @@ paths: check. type: array items: *394 - deployment: &706 + deployment: &707 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55883,7 +55897,7 @@ paths: type: string format: date-time nullable: true - head_commit: &732 + head_commit: &733 title: Simple Commit description: A commit. type: object @@ -59827,14 +59841,14 @@ paths: type: integer machines: type: array - items: &662 + items: &663 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *430 required: *431 examples: - default: &663 + default: &664 value: total_count: 2 machines: @@ -61363,7 +61377,7 @@ paths: type: array items: *440 examples: - default: &555 + default: &556 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61651,7 +61665,7 @@ paths: application/json: schema: type: array - items: &546 + items: &547 title: Pull Request Simple description: Pull Request Simple type: object @@ -61880,7 +61894,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &548 + auto_merge: &549 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61943,7 +61957,7 @@ paths: - author_association - auto_merge examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62500,7 +62514,7 @@ paths: application/json: schema: *440 examples: - default: &533 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63117,7 +63131,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Status description: The status of a commit. type: object @@ -64053,7 +64067,7 @@ paths: - size - type - url - - &560 + - &561 title: Content File description: Content File type: object @@ -64667,7 +64681,7 @@ paths: items: type: object properties: - placeholder_id: &602 + placeholder_id: &603 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70407,7 +70421,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &740 + last_response: &741 title: Hook Response type: object properties: @@ -71364,7 +71378,7 @@ paths: parameters: - *324 - *325 - - &686 + - &687 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71798,7 +71812,7 @@ paths: type: array items: *505 examples: - default: &679 + default: &680 value: - id: 1 repository: @@ -72190,7 +72204,7 @@ paths: type: array items: *118 examples: - default: + default: &516 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74004,7 +74018,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &516 + - &517 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74058,7 +74072,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74194,7 +74208,7 @@ paths: - performed_via_github_app - assignee - assigner - - &518 + - &519 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74245,7 +74259,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74296,7 +74310,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74350,7 +74364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74397,7 +74411,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74444,7 +74458,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74504,7 +74518,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &525 title: Locked Issue Event description: Locked Issue Event type: object @@ -74552,7 +74566,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74618,7 +74632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74684,7 +74698,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74750,7 +74764,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -75397,6 +75411,234 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *15 + '404': *7 + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues + parameters: + - *324 + - *325 + - *512 + - *18 + - *20 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *118 + examples: + default: *516 + headers: + Link: *39 + '404': *7 + '410': *335 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *29 + '410': *335 + '422': *16 + '404': *7 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - *324 + - *325 + - *512 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: *118 + examples: + default: *511 + '403': *29 + '404': *7 + '422': *8 + '503': *96 + 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 @@ -75425,7 +75667,6 @@ paths: description: Timeline Event type: object anyOf: - - *516 - *517 - *518 - *519 @@ -75438,6 +75679,7 @@ paths: - *526 - *527 - *528 + - *529 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75741,7 +75983,7 @@ paths: type: string comments: type: array - items: &549 + items: &550 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76267,7 +76509,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76369,9 +76611,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: &530 + default: &531 value: id: 1 key: ssh-rsa AAA... @@ -76407,7 +76649,7 @@ paths: parameters: - *324 - *325 - - &531 + - &532 name: key_id description: The unique identifier of the key. in: path @@ -76419,9 +76661,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '404': *7 x-github: githubCloudOnly: false @@ -76441,7 +76683,7 @@ paths: parameters: - *324 - *325 - - *531 + - *532 responses: '204': description: Response @@ -76534,7 +76776,7 @@ paths: application/json: schema: *514 examples: - default: &532 + default: &533 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76580,7 +76822,7 @@ paths: application/json: schema: *514 examples: - default: *532 + default: *533 '404': *7 x-github: githubCloudOnly: false @@ -77033,7 +77275,7 @@ paths: application/json: schema: *440 examples: - default: *533 + default: *534 '204': description: Response when already merged '404': @@ -77100,7 +77342,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: Milestone description: A collection of related issues and pull requests. type: object @@ -77202,9 +77444,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &535 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77265,7 +77507,7 @@ paths: parameters: - *324 - *325 - - &536 + - &537 name: milestone_number description: The number that identifies the milestone. in: path @@ -77277,9 +77519,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *7 x-github: githubCloudOnly: false @@ -77298,7 +77540,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 requestBody: required: false content: @@ -77336,9 +77578,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77356,7 +77598,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 responses: '204': description: Response @@ -77379,7 +77621,7 @@ paths: parameters: - *324 - *325 - - *536 + - *537 - *18 - *20 responses: @@ -77412,10 +77654,10 @@ paths: parameters: - *324 - *325 - - *537 - *538 - - *108 - *539 + - *108 + - *540 - *18 - *20 responses: @@ -77427,7 +77669,7 @@ paths: type: array items: *131 examples: - default: *540 + default: *541 headers: Link: *39 x-github: @@ -77517,7 +77759,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &542 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77642,7 +77884,7 @@ paths: - custom_404 - public examples: - default: &542 + default: &543 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77738,9 +77980,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *542 + default: *543 '422': *16 '409': *146 x-github: @@ -77909,7 +78151,7 @@ paths: application/json: schema: type: array - items: &543 + items: &544 title: Page Build description: Page Build type: object @@ -78056,9 +78298,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78118,9 +78360,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *544 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78249,7 +78491,7 @@ paths: parameters: - *324 - *325 - - &545 + - &546 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78309,7 +78551,7 @@ paths: parameters: - *324 - *325 - - *545 + - *546 responses: '204': *190 '404': *7 @@ -78978,9 +79220,9 @@ paths: application/json: schema: type: array - items: *546 + items: *547 examples: - default: *547 + default: *548 headers: Link: *39 '304': *37 @@ -79078,7 +79320,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &552 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79292,7 +79534,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *548 + auto_merge: *549 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79384,7 +79626,7 @@ paths: - merged_by - review_comments examples: - default: &552 + default: &553 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79941,9 +80183,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: &554 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80028,9 +80270,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &550 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80129,9 +80371,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *550 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80334,7 +80576,7 @@ paths: parameters: - *324 - *325 - - &553 + - &554 name: pull_number description: The number that identifies the pull request. in: path @@ -80347,9 +80589,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 '304': *37 '404': *7 '406': @@ -80386,7 +80628,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -80428,9 +80670,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: - default: *552 + default: *553 '422': *16 '403': *29 x-github: @@ -80454,7 +80696,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -80556,7 +80798,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *128 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80577,9 +80819,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *39 x-github: @@ -80614,7 +80856,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -80719,7 +80961,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: example-for-a-multi-line-comment: value: @@ -80809,7 +81051,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *117 requestBody: required: true @@ -80832,7 +81074,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -80920,7 +81162,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -80932,7 +81174,7 @@ paths: type: array items: *440 examples: - default: *555 + default: *556 headers: Link: *39 x-github: @@ -80964,7 +81206,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -81014,7 +81256,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 responses: '204': description: Response if pull request has been merged @@ -81039,7 +81281,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -81152,7 +81394,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 responses: '200': description: Response @@ -81229,7 +81471,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -81266,7 +81508,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: default: value: @@ -81804,7 +82046,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: true content: @@ -81838,7 +82080,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *547 examples: default: value: @@ -82345,7 +82587,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 - *18 - *20 responses: @@ -82355,7 +82597,7 @@ paths: application/json: schema: type: array - items: &556 + items: &557 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82508,7 +82750,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -82594,9 +82836,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82661,8 +82903,8 @@ paths: parameters: - *324 - *325 - - *553 - - &557 + - *554 + - &558 name: review_id description: The unique identifier of the review. in: path @@ -82674,9 +82916,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &559 + default: &560 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82737,8 +82979,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -82761,7 +83003,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -82825,16 +83067,16 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 responses: '200': description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 '422': *8 '404': *7 x-github: @@ -82863,8 +83105,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 - *18 - *20 responses: @@ -83094,8 +83336,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -83123,7 +83365,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -83188,8 +83430,8 @@ paths: parameters: - *324 - *325 - - *553 - - *557 + - *554 + - *558 requestBody: required: true content: @@ -83224,9 +83466,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *559 + default: *560 '404': *7 '422': *8 '403': *29 @@ -83250,7 +83492,7 @@ paths: parameters: - *324 - *325 - - *553 + - *554 requestBody: required: false content: @@ -83327,9 +83569,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: &561 + default: &562 value: type: file encoding: base64 @@ -83392,9 +83634,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *561 examples: - default: *561 + default: *562 '404': *7 '422': *16 x-github: @@ -83427,7 +83669,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Release description: A release. type: object @@ -83490,7 +83732,7 @@ paths: author: *19 assets: type: array - items: &563 + items: &564 title: Release Asset description: Data related to a release. type: object @@ -83748,9 +83990,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: &566 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83855,7 +84097,7 @@ paths: parameters: - *324 - *325 - - &564 + - &565 name: asset_id description: The unique identifier of the asset. in: path @@ -83867,9 +84109,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &565 + default: &566 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 @@ -83921,7 +84163,7 @@ paths: parameters: - *324 - *325 - - *564 + - *565 requestBody: required: false content: @@ -83949,9 +84191,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83969,7 +84211,7 @@ paths: parameters: - *324 - *325 - - *564 + - *565 responses: '204': description: Response @@ -84086,9 +84328,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84119,9 +84361,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 '404': *7 x-github: githubCloudOnly: false @@ -84145,7 +84387,7 @@ paths: parameters: - *324 - *325 - - &567 + - &568 name: release_id description: The unique identifier of the release. in: path @@ -84159,9 +84401,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: *562 + schema: *563 examples: - default: *566 + default: *567 '401': description: Unauthorized x-github: @@ -84181,7 +84423,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 requestBody: required: false content: @@ -84245,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *566 + default: *567 '404': description: Not Found if the discussion category name is invalid content: @@ -84270,7 +84512,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 responses: '204': description: Response @@ -84292,7 +84534,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - *18 - *20 responses: @@ -84302,7 +84544,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -84385,7 +84627,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - name: name in: query required: true @@ -84411,7 +84653,7 @@ paths: description: Response for successful upload content: application/json: - schema: *563 + schema: *564 examples: response-for-successful-upload: value: @@ -84467,7 +84709,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - 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. @@ -84516,7 +84758,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 requestBody: required: true content: @@ -84579,7 +84821,7 @@ paths: parameters: - *324 - *325 - - *567 + - *568 - *316 responses: '204': @@ -84622,8 +84864,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *568 - - &570 + - *569 + - &571 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84643,53 +84885,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *569 - *570 - - allOf: - *571 - - *570 - allOf: - *572 - - *570 + - *571 - allOf: - *573 - - *570 + - *571 - allOf: - *574 - - *570 + - *571 - allOf: - *575 - - *570 + - *571 - allOf: - *576 - - *570 + - *571 - allOf: - *577 - - *570 + - *571 - allOf: - *578 - - *570 + - *571 - allOf: - *579 - - *570 + - *571 - allOf: - *580 - - *570 + - *571 - allOf: - *581 - - *570 + - *571 - allOf: - *582 - - *570 + - *571 - allOf: - *583 - - *570 + - *571 - allOf: - *584 - - *570 + - *571 - allOf: - *585 - - *570 + - *571 + - allOf: + - *586 + - *571 examples: default: value: @@ -84740,7 +84982,7 @@ paths: schema: type: boolean default: true - - *586 + - *587 responses: '200': description: Response @@ -84858,7 +85100,7 @@ paths: application/json: schema: *284 examples: - default: &596 + default: &597 value: id: 42 name: super cool ruleset @@ -84907,10 +85149,10 @@ paths: parameters: - *324 - *325 - - *587 - *588 - *589 - *590 + - *591 - *18 - *20 responses: @@ -84918,9 +85160,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: - default: *592 + default: *593 '404': *7 '500': *84 x-github: @@ -84943,15 +85185,15 @@ paths: parameters: - *324 - *325 - - *593 + - *594 responses: '200': description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *7 '500': *84 x-github: @@ -85002,7 +85244,7 @@ paths: application/json: schema: *284 examples: - default: *596 + default: *597 '404': *7 '500': *84 put: @@ -85085,7 +85327,7 @@ paths: application/json: schema: *284 examples: - default: *596 + default: *597 '404': *7 '500': *84 delete: @@ -85141,8 +85383,8 @@ paths: - *78 - *20 - *18 - - *597 - *598 + - *599 - *290 - *291 - *292 @@ -85153,7 +85395,7 @@ paths: application/json: schema: type: array - items: &601 + items: &602 type: object properties: number: *85 @@ -85172,8 +85414,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *599 - resolution: *600 + state: *600 + resolution: *601 resolved_at: type: string format: date-time @@ -85387,7 +85629,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -85448,8 +85690,8 @@ paths: schema: type: object properties: - state: *599 - resolution: *600 + state: *600 + resolution: *601 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85467,7 +85709,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -85554,7 +85796,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &761 + items: &762 type: object properties: type: @@ -85922,14 +86164,14 @@ paths: schema: type: object properties: - reason: &603 + reason: &604 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *602 + placeholder_id: *603 required: - reason - placeholder_id @@ -85946,7 +86188,7 @@ paths: schema: type: object properties: - reason: *603 + reason: *604 expire_at: type: string format: date-time @@ -86005,7 +86247,7 @@ paths: properties: incremental_scans: type: array - items: &604 + items: &605 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86029,15 +86271,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *604 + items: *605 backfill_scans: type: array - items: *604 + items: *605 custom_pattern_backfill_scans: type: array items: allOf: - - *604 + - *605 - type: object properties: pattern_name: @@ -86152,9 +86394,9 @@ paths: application/json: schema: type: array - items: *605 + items: *606 examples: - default: *606 + default: *607 '400': *15 '404': *7 x-github: @@ -86338,9 +86580,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: &608 + default: &609 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86678,7 +86920,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: default: value: @@ -86827,15 +87069,15 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '200': description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: *608 + default: *609 '403': *29 '404': *7 x-github: @@ -86861,7 +87103,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 requestBody: required: true content: @@ -87020,10 +87262,10 @@ paths: description: Response content: application/json: - schema: *605 + schema: *606 examples: - default: *608 - add_credit: *608 + default: *609 + add_credit: *609 '403': *29 '404': *7 '422': @@ -87063,7 +87305,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '202': *147 '400': *15 @@ -87092,7 +87334,7 @@ paths: parameters: - *324 - *325 - - *607 + - *608 responses: '202': description: Response @@ -87236,7 +87478,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87609,7 +87851,7 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: default: value: @@ -87697,7 +87939,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: default: value: @@ -87791,7 +88033,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &611 + schema: &612 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87886,7 +88128,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -88023,7 +88265,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Tag protection description: Tag protection type: object @@ -88099,7 +88341,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: default: value: @@ -88247,7 +88489,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88259,7 +88501,7 @@ paths: required: - names examples: - default: &614 + default: &615 value: names: - octocat @@ -88314,9 +88556,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *7 '422': *8 x-github: @@ -88339,7 +88581,7 @@ paths: parameters: - *324 - *325 - - &615 + - &616 name: per description: The time frame to display results for. in: query @@ -88368,7 +88610,7 @@ paths: example: 128 clones: type: array - items: &616 + items: &617 title: Traffic type: object properties: @@ -88609,7 +88851,7 @@ paths: parameters: - *324 - *325 - - *615 + - *616 responses: '200': description: Response @@ -88628,7 +88870,7 @@ paths: example: 3782 views: type: array - items: *616 + items: *617 required: - uniques - count @@ -89300,7 +89542,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &624 + - &625 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89309,7 +89551,7 @@ paths: schema: type: string example: members - - &629 + - &630 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89320,7 +89562,7 @@ paths: default: 1 format: int32 example: 1 - - &630 + - &631 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89362,7 +89604,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &618 + items: &619 allOf: - type: object required: @@ -89437,7 +89679,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: &631 + meta: &632 type: object description: The metadata associated with the creation/updates to the user. @@ -89497,31 +89739,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &619 + '400': &620 description: Bad request content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '401': &620 + schema: *618 + '401': &621 description: Authorization failure - '403': &621 + '403': &622 description: Permission denied - '429': &622 + '429': &623 description: Too many requests content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '500': &623 + schema: *618 + '500': &624 description: Internal server error content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 + schema: *618 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89545,7 +89787,7 @@ paths: required: true content: application/json: - schema: &627 + schema: &628 type: object required: - schemas @@ -89601,9 +89843,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *618 + schema: *619 examples: - group: &625 + group: &626 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89622,13 +89864,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': *619 - '401': *620 - '403': *621 - '409': &628 + '400': *620 + '401': *621 + '403': *622 + '409': &629 description: Duplicate record detected - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89645,7 +89887,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: - - &626 + - &627 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89653,22 +89895,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *624 + - *625 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *625 - '400': *619 - '401': *620 - '403': *621 + default: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89687,13 +89929,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: - - *626 + - *627 - *40 requestBody: required: true content: application/json: - schema: *627 + schema: *628 examples: group: summary: Group @@ -89719,17 +89961,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *618 + schema: *619 examples: - group: *625 - groupWithMembers: *625 - '400': *619 - '401': *620 - '403': *621 + group: *626 + groupWithMembers: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89753,13 +89995,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: - - *626 + - *627 - *40 requestBody: required: true content: application/json: - schema: &638 + schema: &639 type: object required: - Operations @@ -89819,17 +90061,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *618 + schema: *619 examples: - updateGroup: *625 - addMembers: *625 - '400': *619 - '401': *620 - '403': *621 + updateGroup: *626 + addMembers: *626 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89845,17 +90087,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: - - *626 + - *627 - *40 responses: '204': description: Group was deleted, no content - '400': *619 - '401': *620 - '403': *621 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89889,8 +90131,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *629 - *630 + - *631 - *40 responses: '200': @@ -89923,7 +90165,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &633 + items: &634 allOf: - type: object required: @@ -90002,7 +90244,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &632 + roles: &633 type: array description: The roles assigned to the user. items: @@ -90058,7 +90300,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *631 + meta: *632 startIndex: type: integer description: A starting index for the returned page @@ -90095,11 +90337,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *619 - '401': *620 - '403': *621 - '429': *622 - '500': *623 + '400': *620 + '401': *621 + '403': *622 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90123,7 +90365,7 @@ paths: required: true content: application/json: - schema: &636 + schema: &637 type: object required: - schemas @@ -90205,9 +90447,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *632 + roles: *633 examples: - user: &637 + user: &638 summary: User value: schemas: @@ -90254,9 +90496,9 @@ paths: description: User has been created content: application/scim+json: - schema: *633 + schema: *634 examples: - user: &634 + user: &635 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90282,13 +90524,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: *634 - '400': *619 - '401': *620 - '403': *621 - '409': *628 - '429': *622 - '500': *623 + enterpriseOwner: *635 + '400': *620 + '401': *621 + '403': *622 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90305,7 +90547,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: - - &635 + - &636 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90318,15 +90560,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *633 + schema: *634 examples: - default: *634 - '400': *619 - '401': *620 - '403': *621 + default: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90348,30 +90590,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: - - *635 + - *636 - *40 requestBody: required: true content: application/json: - schema: *636 + schema: *637 examples: - user: *637 + user: *638 responses: '200': description: User was updated content: application/scim+json: - schema: *633 + schema: *634 examples: - user: *634 - '400': *619 - '401': *620 - '403': *621 + user: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90406,13 +90648,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: - - *635 + - *636 - *40 requestBody: required: true content: application/json: - schema: *638 + schema: *639 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90452,18 +90694,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *633 - examples: - userMultiValuedProperties: *634 - userSingleValuedProperties: *634 - disableUser: *634 - '400': *619 - '401': *620 - '403': *621 + schema: *634 + examples: + userMultiValuedProperties: *635 + userSingleValuedProperties: *635 + disableUser: *635 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '409': *628 - '429': *622 - '500': *623 + '409': *629 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90483,17 +90725,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: - - *635 + - *636 - *40 responses: '204': description: User was deleted, no content - '400': *619 - '401': *620 - '403': *621 + '400': *620 + '401': *621 + '403': *622 '404': *7 - '429': *622 - '500': *623 + '429': *623 + '500': *624 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90580,7 +90822,7 @@ paths: example: 1 Resources: type: array - items: &639 + items: &640 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -90811,22 +91053,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &640 + '404': &641 description: Resource not found content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '403': &641 + schema: *618 + '403': &642 description: Forbidden content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '400': *619 - '429': *622 + schema: *618 + '400': *620 + '429': *623 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -90852,9 +91094,9 @@ paths: description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: &642 + default: &643 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90877,17 +91119,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *640 - '403': *641 - '500': *623 + '404': *641 + '403': *642 + '500': *624 '409': description: Conflict content: application/json: - schema: *617 + schema: *618 application/scim+json: - schema: *617 - '400': *619 + schema: *618 + '400': *620 requestBody: required: true content: @@ -90980,17 +91222,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 - '404': *640 - '403': *641 + default: *643 + '404': *641 + '403': *642 '304': *37 x-github: githubCloudOnly: true @@ -91014,18 +91256,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 + default: *643 '304': *37 - '404': *640 - '403': *641 + '404': *641 + '403': *642 requestBody: required: true content: @@ -91134,19 +91376,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *141 - - *635 + - *636 responses: '200': description: Response content: application/scim+json: - schema: *639 + schema: *640 examples: - default: *642 + default: *643 '304': *37 - '404': *640 - '403': *641 - '400': *619 + '404': *641 + '403': *642 + '400': *620 '429': description: Response content: @@ -91237,12 +91479,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *141 - - *635 + - *636 responses: '204': description: Response - '404': *640 - '403': *641 + '404': *641 + '403': *642 '304': *37 x-github: githubCloudOnly: true @@ -91375,7 +91617,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &643 + text_matches: &644 title: Search Result Text Matches type: array items: @@ -91538,7 +91780,7 @@ paths: enum: - author-date - committer-date - - &644 + - &645 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 @@ -91666,7 +91908,7 @@ paths: type: number node_id: type: string - text_matches: *643 + text_matches: *644 required: - sha - node_id @@ -91859,7 +92101,7 @@ paths: - interactions - created - updated - - *644 + - *645 - *18 - *20 responses: @@ -91948,6 +92190,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -91979,7 +92235,7 @@ paths: type: string format: date-time nullable: true - text_matches: *643 + text_matches: *644 pull_request: type: object properties: @@ -92203,7 +92459,7 @@ paths: enum: - created - updated - - *644 + - *645 - *18 - *20 responses: @@ -92247,7 +92503,7 @@ paths: nullable: true score: type: number - text_matches: *643 + text_matches: *644 required: - id - node_id @@ -92333,7 +92589,7 @@ paths: - forks - help-wanted-issues - updated - - *644 + - *645 - *18 - *20 responses: @@ -92572,7 +92828,7 @@ paths: - admin - pull - push - text_matches: *643 + text_matches: *644 temp_clone_token: type: string allow_merge_commit: @@ -92873,7 +93129,7 @@ paths: type: string format: uri nullable: true - text_matches: *643 + text_matches: *644 related: type: array nullable: true @@ -93066,7 +93322,7 @@ paths: - followers - repositories - joined - - *644 + - *645 - *18 - *20 responses: @@ -93170,7 +93426,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *643 + text_matches: *644 blog: type: string nullable: true @@ -93249,7 +93505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &645 + - &646 name: team_id description: The unique identifier of the team. in: path @@ -93290,7 +93546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *645 + - *646 requestBody: required: true content: @@ -93390,7 +93646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *645 + - *646 responses: '204': description: Response @@ -93421,7 +93677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *645 + - *646 - *78 - *18 - *20 @@ -93434,7 +93690,7 @@ paths: type: array items: *307 examples: - default: *646 + default: *647 headers: Link: *39 x-github: @@ -93463,7 +93719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *645 + - *646 requestBody: required: true content: @@ -93526,7 +93782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *645 + - *646 - *309 responses: '200': @@ -93560,7 +93816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *645 + - *646 - *309 requestBody: required: false @@ -93586,7 +93842,7 @@ paths: application/json: schema: *307 examples: - default: *647 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93611,7 +93867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *645 + - *646 - *309 responses: '204': @@ -93641,7 +93897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *645 + - *646 - *309 - *78 - *18 @@ -93655,7 +93911,7 @@ paths: type: array items: *310 examples: - default: *648 + default: *649 headers: Link: *39 x-github: @@ -93684,7 +93940,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 requestBody: required: true @@ -93736,7 +93992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 responses: @@ -93771,7 +94027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 requestBody: @@ -93797,7 +94053,7 @@ paths: application/json: schema: *310 examples: - default: *649 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93822,7 +94078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 responses: @@ -93853,7 +94109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 - name: content @@ -93912,7 +94168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *645 + - *646 - *309 - *312 requestBody: @@ -93974,7 +94230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *645 + - *646 - *309 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -94032,7 +94288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *645 + - *646 - *309 requestBody: required: true @@ -94091,7 +94347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94129,7 +94385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *645 + - *646 - name: role description: Filters members returned by their role in the team. in: query @@ -94180,7 +94436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94217,7 +94473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94257,7 +94513,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *645 + - *646 - *181 responses: '204': @@ -94294,7 +94550,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: - - *645 + - *646 - *181 responses: '200': @@ -94303,7 +94559,7 @@ paths: application/json: schema: *321 examples: - response-if-user-is-a-team-maintainer: *650 + response-if-user-is-a-team-maintainer: *651 '404': *7 x-github: githubCloudOnly: false @@ -94336,7 +94592,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: - - *645 + - *646 - *181 requestBody: required: false @@ -94364,7 +94620,7 @@ paths: application/json: schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *651 + response-if-users-membership-with-team-is-now-pending: *652 '403': description: Forbidden if team synchronization is set up '422': @@ -94398,7 +94654,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: - - *645 + - *646 - *181 responses: '204': @@ -94428,7 +94684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94440,7 +94696,7 @@ paths: type: array items: *322 examples: - default: *652 + default: *653 headers: Link: *39 '404': *7 @@ -94467,7 +94723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *645 + - *646 - *323 responses: '200': @@ -94476,7 +94732,7 @@ paths: application/json: schema: *322 examples: - default: *653 + default: *654 '404': description: Not Found if project is not managed by this team x-github: @@ -94501,7 +94757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *645 + - *646 - *323 requestBody: required: false @@ -94570,7 +94826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *645 + - *646 - *323 responses: '204': @@ -94598,7 +94854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -94640,7 +94896,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: - - *645 + - *646 - *324 - *325 responses: @@ -94648,7 +94904,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *654 + schema: *655 examples: alternative-response-with-extra-repository-information: value: @@ -94799,7 +95055,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: - - *645 + - *646 - *324 - *325 requestBody: @@ -94851,7 +95107,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: - - *645 + - *646 - *324 - *325 responses: @@ -94882,7 +95138,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: - - *645 + - *646 responses: '200': description: Response @@ -94917,7 +95173,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: - - *645 + - *646 requestBody: required: true content: @@ -95005,7 +95261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *645 + - *646 - *18 - *20 responses: @@ -95017,7 +95273,7 @@ paths: type: array items: *238 examples: - response-if-child-teams-exist: *655 + response-if-child-teams-exist: *656 headers: Link: *39 '404': *7 @@ -95050,7 +95306,7 @@ paths: application/json: schema: oneOf: - - &657 + - &658 title: Private User description: Private User type: object @@ -95253,7 +95509,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *656 + - *657 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95406,7 +95662,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *658 examples: default: value: @@ -95804,7 +96060,7 @@ paths: type: integer secrets: type: array - items: &658 + items: &659 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95920,7 +96176,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96066,7 +96322,7 @@ paths: type: array items: *159 examples: - default: *659 + default: *660 '401': *25 '403': *29 '404': *7 @@ -96333,7 +96589,7 @@ paths: description: Response content: application/json: - schema: &660 + schema: &661 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96374,7 +96630,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &661 + default: &662 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96419,9 +96675,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: *661 + default: *662 '404': *7 x-github: githubCloudOnly: false @@ -96458,9 +96714,9 @@ paths: type: integer machines: type: array - items: *662 + items: *663 examples: - default: *663 + default: *664 '304': *37 '500': *84 '401': *25 @@ -97399,7 +97655,7 @@ paths: type: array items: *254 examples: - default: &676 + default: &677 value: - id: 197 name: hello_docker @@ -97500,7 +97756,7 @@ paths: application/json: schema: type: array - items: &664 + items: &665 title: Email description: Email type: object @@ -97565,9 +97821,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: &678 + default: &679 value: - email: octocat@github.com verified: true @@ -97642,7 +97898,7 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: default: value: @@ -97898,7 +98154,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: GPG Key description: A unique encryption key type: object @@ -98029,7 +98285,7 @@ paths: - subkeys - revoked examples: - default: &689 + default: &690 value: - id: 3 name: Octocat's GPG Key @@ -98114,9 +98370,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: &666 + default: &667 value: id: 3 name: Octocat's GPG Key @@ -98173,7 +98429,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: - - &667 + - &668 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98185,9 +98441,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *666 examples: - default: *666 + default: *667 '404': *7 '304': *37 '403': *29 @@ -98210,7 +98466,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: - - *667 + - *668 responses: '204': description: Response @@ -98401,7 +98657,7 @@ paths: type: array items: *57 examples: - default: *668 + default: *669 headers: Link: *39 '404': *7 @@ -98665,7 +98921,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -98762,9 +99018,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98797,15 +99053,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: - - *531 + - *532 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *7 '304': *37 '403': *29 @@ -98828,7 +99084,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: - - *531 + - *532 responses: '204': description: Response @@ -98861,7 +99117,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98929,7 +99185,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98991,9 +99247,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *39 '304': *37 @@ -99988,7 +100244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *248 - - *673 + - *674 responses: '204': description: Response @@ -100061,7 +100317,7 @@ paths: type: array items: *52 examples: - default: *674 + default: *675 headers: Link: *39 '304': *37 @@ -100103,7 +100359,7 @@ paths: - docker - nuget - container - - *675 + - *676 - *20 - *18 responses: @@ -100115,8 +100371,8 @@ paths: type: array items: *254 examples: - default: *676 - '400': *677 + default: *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100145,7 +100401,7 @@ paths: application/json: schema: *254 examples: - default: &690 + default: &691 value: id: 40201 name: octo-name @@ -100595,9 +100851,9 @@ paths: application/json: schema: type: array - items: *664 + items: *665 examples: - default: *678 + default: *679 headers: Link: *39 '304': *37 @@ -100710,7 +100966,7 @@ paths: type: array items: *57 examples: - default: &685 + default: &686 summary: Default response value: - id: 1296269 @@ -101054,7 +101310,7 @@ paths: type: array items: *505 examples: - default: *679 + default: *680 headers: Link: *39 '304': *37 @@ -101133,7 +101389,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Social account description: Social media account type: object @@ -101148,7 +101404,7 @@ paths: - provider - url examples: - default: &681 + default: &682 value: - provider: twitter url: https://twitter.com/github @@ -101210,9 +101466,9 @@ paths: application/json: schema: type: array - items: *680 + items: *681 examples: - default: *681 + default: *682 '422': *16 '304': *37 '404': *7 @@ -101299,7 +101555,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101319,7 +101575,7 @@ paths: - title - created_at examples: - default: &691 + default: &692 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101385,9 +101641,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: &683 + default: &684 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101418,7 +101674,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: - - &684 + - &685 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101430,9 +101686,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *683 examples: - default: *683 + default: *684 '404': *7 '304': *37 '403': *29 @@ -101455,7 +101711,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: - - *684 + - *685 responses: '204': description: Response @@ -101484,7 +101740,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: - - &692 + - &693 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 @@ -101509,11 +101765,11 @@ paths: type: array items: *57 examples: - default-response: *685 + default-response: *686 application/vnd.github.v3.star+json: schema: type: array - items: &693 + items: &694 title: Starred Repository description: Starred Repository type: object @@ -101880,10 +102136,10 @@ paths: application/json: schema: oneOf: + - *658 - *657 - - *656 examples: - default-response: &687 + default-response: &688 summary: Default response value: login: octocat @@ -101918,7 +102174,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &688 + response-with-git-hub-plan-information: &689 summary: Response with GitHub plan information value: login: octocat @@ -101978,7 +102234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *686 + - *687 - *18 responses: '200': @@ -102025,11 +102281,11 @@ paths: application/json: schema: oneOf: + - *658 - *657 - - *656 examples: - default-response: *687 - response-with-git-hub-plan-information: *688 + default-response: *688 + response-with-git-hub-plan-information: *689 '404': *7 x-github: githubCloudOnly: false @@ -102191,7 +102447,7 @@ paths: type: array items: *254 examples: - default: *676 + default: *677 '403': *29 '401': *25 x-github: @@ -102595,9 +102851,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *689 + default: *690 headers: Link: *39 x-github: @@ -102779,7 +103035,7 @@ paths: type: array items: *52 examples: - default: *674 + default: *675 headers: Link: *39 x-github: @@ -102818,7 +103074,7 @@ paths: - docker - nuget - container - - *675 + - *676 - *181 - *20 - *18 @@ -102831,10 +103087,10 @@ paths: type: array items: *254 examples: - default: *676 + default: *677 '403': *29 '401': *25 - '400': *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102864,7 +103120,7 @@ paths: application/json: schema: *254 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103547,9 +103803,9 @@ paths: application/json: schema: type: array - items: *680 + items: *681 examples: - default: *681 + default: *682 headers: Link: *39 x-github: @@ -103579,9 +103835,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *691 + default: *692 headers: Link: *39 x-github: @@ -103606,7 +103862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *181 - - *692 + - *693 - *78 - *18 - *20 @@ -103618,11 +103874,11 @@ paths: schema: anyOf: - type: array - items: *693 + items: *694 - type: array items: *57 examples: - default-response: *685 + default-response: *686 headers: Link: *39 x-github: @@ -103781,7 +104037,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &694 + enterprise: &695 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -103839,7 +104095,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &695 + installation: &696 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -103858,7 +104114,7 @@ x-webhooks: required: - id - node_id - organization: &696 + organization: &697 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -103918,13 +104174,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &697 + repository: &698 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &734 + properties: &735 id: description: Unique identifier of the repository example: 42 @@ -104607,7 +104863,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &735 + required: &736 - archive_url - assignees_url - blobs_url @@ -104758,10 +105014,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -104837,11 +105093,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: &698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: &699 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) @@ -105064,11 +105320,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: *699 sender: *19 required: - action @@ -105251,11 +105507,11 @@ x-webhooks: - everyone required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - rule: *698 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + rule: *699 sender: *19 required: - action @@ -105328,7 +105584,7 @@ x-webhooks: required: true content: application/json: - schema: &701 + schema: &702 title: Exemption request cancellation event type: object properties: @@ -105336,11 +105592,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: &699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: &700 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105490,7 +105746,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &700 + items: &701 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105595,7 +105851,7 @@ x-webhooks: required: true content: application/json: - schema: &702 + schema: &703 title: Exemption request completed event type: object properties: @@ -105603,11 +105859,11 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 sender: *19 required: - action @@ -105679,7 +105935,7 @@ x-webhooks: required: true content: application/json: - schema: &703 + schema: &704 title: Exemption request created event type: object properties: @@ -105687,11 +105943,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 sender: *19 required: - action @@ -105763,7 +106019,7 @@ x-webhooks: required: true content: application/json: - schema: &704 + schema: &705 title: Exemption response dismissed event type: object properties: @@ -105771,12 +106027,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 + exemption_response: *701 sender: *19 required: - action @@ -105850,7 +106106,7 @@ x-webhooks: required: true content: application/json: - schema: &705 + schema: &706 title: Exemption response submitted event type: object properties: @@ -105858,12 +106114,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - exemption_request: *699 - exemption_response: *700 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + exemption_request: *700 + exemption_response: *701 sender: *19 required: - action @@ -105936,7 +106192,7 @@ x-webhooks: required: true content: application/json: - schema: *701 + schema: *702 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106003,7 +106259,7 @@ x-webhooks: required: true content: application/json: - schema: *702 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106070,7 +106326,7 @@ x-webhooks: required: true content: application/json: - schema: *703 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106137,7 +106393,7 @@ x-webhooks: required: true content: application/json: - schema: *704 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106205,7 +106461,7 @@ x-webhooks: required: true content: application/json: - schema: *705 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106283,7 +106539,7 @@ x-webhooks: type: string enum: - completed - check_run: &707 + check_run: &708 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106384,7 +106640,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *706 + deployment: *707 details_url: example: https://example.com type: string @@ -106469,9 +106725,9 @@ x-webhooks: - output - app - pull_requests - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -106864,10 +107120,10 @@ x-webhooks: type: string enum: - created - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -107263,10 +107519,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 requested_action: description: The action requested by the user. type: object @@ -107671,10 +107927,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *707 - installation: *695 - organization: *696 - repository: *697 + check_run: *708 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - check_run @@ -108651,10 +108907,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -109324,10 +109580,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -109991,10 +110247,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -110294,20 +110550,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &708 + commit_oid: &709 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: *694 - installation: *695 - organization: *696 - ref: &709 + enterprise: *695 + installation: *696 + organization: *697 + ref: &710 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: *697 + repository: *698 sender: *19 required: - action @@ -110625,12 +110881,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -110887,12 +111143,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111213,12 +111469,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111475,16 +111731,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *697 + repository: *698 sender: *19 required: - action @@ -111710,12 +111966,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *708 - enterprise: *694 - installation: *695 - organization: *696 - ref: *709 - repository: *697 + commit_oid: *709 + enterprise: *695 + installation: *696 + organization: *697 + ref: *710 + repository: *698 sender: *19 required: - action @@ -111972,10 +112228,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -112055,18 +112311,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *696 - pusher_type: &710 + organization: *697 + pusher_type: &711 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &711 + ref: &712 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -112076,7 +112332,7 @@ x-webhooks: enum: - tag - branch - repository: *697 + repository: *698 sender: *19 required: - ref @@ -112159,9 +112415,9 @@ x-webhooks: enum: - created definition: *268 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112246,9 +112502,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112326,9 +112582,9 @@ x-webhooks: enum: - updated definition: *268 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 sender: *19 required: - action @@ -112405,10 +112661,10 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - repository: *697 - organization: *696 + enterprise: *695 + installation: *696 + repository: *698 + organization: *697 sender: *19 new_property_values: type: array @@ -112493,18 +112749,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - pusher_type: *710 - ref: *711 + enterprise: *695 + installation: *696 + organization: *697 + pusher_type: *711 + ref: *712 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *697 + repository: *698 sender: *19 required: - ref @@ -112589,10 +112845,10 @@ x-webhooks: enum: - auto_dismissed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112677,10 +112933,10 @@ x-webhooks: enum: - auto_reopened alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112765,10 +113021,10 @@ x-webhooks: enum: - created alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112851,10 +113107,10 @@ x-webhooks: enum: - dismissed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -112937,10 +113193,10 @@ x-webhooks: enum: - fixed alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113024,10 +113280,10 @@ x-webhooks: enum: - reintroduced alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113110,10 +113366,10 @@ x-webhooks: enum: - reopened alert: *461 - installation: *695 - organization: *696 - enterprise: *694 - repository: *697 + installation: *696 + organization: *697 + enterprise: *695 + repository: *698 sender: *19 required: - action @@ -113190,9 +113446,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - key: &712 + enterprise: *695 + installation: *696 + key: &713 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113228,8 +113484,8 @@ x-webhooks: - verified - created_at - read_only - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -113306,11 +113562,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - key: *712 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + key: *713 + organization: *697 + repository: *698 sender: *19 required: - action @@ -113871,12 +114127,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: &716 + workflow: &717 title: Workflow type: object nullable: true @@ -114605,10 +114861,10 @@ x-webhooks: deployment: *467 pull_requests: type: array - items: *551 - repository: *697 - organization: *696 - installation: *695 + items: *552 + repository: *698 + organization: *697 + installation: *696 sender: *19 responses: '200': @@ -114679,7 +114935,7 @@ x-webhooks: type: string enum: - approved - approver: &713 + approver: &714 type: object properties: avatar_url: @@ -114722,11 +114978,11 @@ x-webhooks: type: string comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: &714 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + reviewers: &715 type: array items: type: object @@ -114805,7 +115061,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &715 + workflow_job_run: &716 type: object properties: conclusion: @@ -115536,18 +115792,18 @@ x-webhooks: type: string enum: - rejected - approver: *713 + approver: *714 comment: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - reviewers: *714 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + reviewers: *715 sender: *19 since: type: string - workflow_job_run: *715 + workflow_job_run: *716 workflow_job_runs: type: array items: @@ -116251,13 +116507,13 @@ x-webhooks: type: string enum: - requested - enterprise: *694 + enterprise: *695 environment: type: string - installation: *695 - organization: *696 - repository: *697 - requestor: &721 + installation: *696 + organization: *697 + repository: *698 + requestor: &722 title: User type: object nullable: true @@ -118156,12 +118412,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Deployment Workflow Run type: object @@ -118841,7 +119097,7 @@ x-webhooks: type: string enum: - answered - answer: &719 + answer: &720 type: object properties: author_association: @@ -118998,7 +119254,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &717 + discussion: &718 title: Discussion description: A Discussion in a repository. type: object @@ -119306,10 +119562,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119436,11 +119692,11 @@ x-webhooks: - from required: - category - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119523,11 +119779,11 @@ x-webhooks: type: string enum: - closed - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119609,7 +119865,7 @@ x-webhooks: type: string enum: - created - comment: &718 + comment: &719 type: object properties: author_association: @@ -119766,11 +120022,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119853,12 +120109,12 @@ x-webhooks: type: string enum: - deleted - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *719 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -119953,12 +120209,12 @@ x-webhooks: - from required: - body - comment: *718 - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + comment: *719 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120042,11 +120298,11 @@ x-webhooks: type: string enum: - created - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120128,11 +120384,11 @@ x-webhooks: type: string enum: - deleted - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120232,11 +120488,11 @@ x-webhooks: type: string required: - from - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120318,10 +120574,10 @@ x-webhooks: type: string enum: - labeled - discussion: *717 - enterprise: *694 - installation: *695 - label: &720 + discussion: *718 + enterprise: *695 + installation: *696 + label: &721 title: Label type: object properties: @@ -120353,8 +120609,8 @@ x-webhooks: - color - default - description - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120437,11 +120693,11 @@ x-webhooks: type: string enum: - locked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120523,11 +120779,11 @@ x-webhooks: type: string enum: - pinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120609,11 +120865,11 @@ x-webhooks: type: string enum: - reopened - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120698,16 +120954,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *717 - new_repository: *697 + new_discussion: *718 + new_repository: *698 required: - new_discussion - new_repository - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120790,10 +121046,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *717 - old_answer: *719 - organization: *696 - repository: *697 + discussion: *718 + old_answer: *720 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120875,12 +121131,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *717 - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -120963,11 +121219,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -121049,11 +121305,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *717 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + discussion: *718 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -121126,7 +121382,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *694 + enterprise: *695 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -121786,9 +122042,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - forkee @@ -121934,9 +122190,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pages: description: The pages that were updated. type: array @@ -121973,7 +122229,7 @@ x-webhooks: - action - sha - html_url - repository: *697 + repository: *698 sender: *19 required: - pages @@ -122049,10 +122305,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: &722 + organization: *697 + repositories: &723 description: An array of repository objects that the installation can access. type: array @@ -122078,8 +122334,8 @@ x-webhooks: - name - full_name - private - repository: *697 - requester: *721 + repository: *698 + requester: *722 sender: *19 required: - action @@ -122154,11 +122410,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122234,11 +122490,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122314,10 +122570,10 @@ x-webhooks: type: string enum: - added - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories_added: &723 + organization: *697 + repositories_added: &724 description: An array of repository objects, which were added to the installation. type: array @@ -122363,15 +122619,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *697 - repository_selection: &724 + repository: *698 + repository_selection: &725 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *721 + requester: *722 sender: *19 required: - action @@ -122450,10 +122706,10 @@ x-webhooks: type: string enum: - removed - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories_added: *723 + organization: *697 + repositories_added: *724 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122480,9 +122736,9 @@ x-webhooks: - name - full_name - private - repository: *697 - repository_selection: *724 - requester: *721 + repository: *698 + repository_selection: *725 + requester: *722 sender: *19 required: - action @@ -122561,11 +122817,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -122744,10 +123000,10 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 target_type: type: string @@ -122826,11 +123082,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *694 + enterprise: *695 installation: *22 - organization: *696 - repositories: *722 - repository: *697 + organization: *697 + repositories: *723 + repository: *698 requester: nullable: true sender: *19 @@ -123082,8 +123338,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -123877,6 +124133,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124224,8 +124494,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -124305,7 +124575,7 @@ x-webhooks: type: string enum: - deleted - comment: &725 + comment: &726 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124470,8 +124740,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125261,6 +125531,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125610,8 +125894,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -125691,7 +125975,7 @@ x-webhooks: type: string enum: - edited - changes: &753 + changes: &754 description: The changes to the comment. type: object properties: @@ -125703,9 +125987,9 @@ x-webhooks: type: string required: - from - comment: *725 - enterprise: *694 - installation: *695 + comment: *726 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126498,6 +126782,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126845,8 +127143,8 @@ x-webhooks: - state - locked - assignee - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -126928,10 +127226,10 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - issue: &728 + assignee: *722 + enterprise: *695 + installation: *696 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127720,6 +128018,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127835,8 +128147,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -127916,8 +128228,8 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128711,6 +129023,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128961,8 +129287,8 @@ x-webhooks: required: - state - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -129041,8 +129367,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129825,6 +130151,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129939,8 +130279,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -130019,8 +130359,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130827,6 +131167,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130920,7 +131274,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &726 + milestone: &727 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131058,8 +131412,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -131158,8 +131512,8 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131948,6 +132302,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132063,9 +132431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -132145,8 +132513,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132934,6 +133302,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133049,9 +133431,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *720 - organization: *696 - repository: *697 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -133131,8 +133513,8 @@ x-webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133944,6 +134326,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134036,8 +134432,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -134116,8 +134512,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134923,6 +135319,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135015,9 +135425,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *726 - organization: *696 - repository: *697 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -135885,6 +136295,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136464,8 +136888,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137254,6 +137678,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137368,8 +137806,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -137449,9 +137887,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *694 - installation: *695 - issue: &727 + enterprise: *695 + installation: *696 + issue: &728 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138234,6 +138672,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138348,8 +138800,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -138428,8 +138880,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139239,6 +139691,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139332,8 +139798,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -140199,6 +140665,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140781,11 +141261,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *728 + organization: *697 + repository: *698 sender: *19 required: - action @@ -140866,7 +141346,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &756 + assignee: &757 title: User type: object nullable: true @@ -140936,11 +141416,11 @@ x-webhooks: required: - login - id - enterprise: *694 - installation: *695 - issue: *728 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *729 + organization: *697 + repository: *698 sender: *19 required: - action @@ -141019,12 +141499,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - issue: *728 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *729 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -141104,8 +141584,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141915,6 +142395,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142007,8 +142501,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142088,11 +142582,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *694 - installation: *695 - issue: *727 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + issue: *728 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142171,11 +142665,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142253,11 +142747,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142367,11 +142861,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - label: *720 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + label: *721 + organization: *697 + repository: *698 sender: *19 required: - action @@ -142453,9 +142947,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: &729 + enterprise: *695 + installation: *696 + marketplace_purchase: &730 title: Marketplace Purchase type: object required: @@ -142538,8 +143032,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: &730 + organization: *697 + previous_marketplace_purchase: &731 title: Marketplace Purchase type: object properties: @@ -142619,7 +143113,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -142699,10 +143193,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142785,7 +143279,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -142867,10 +143361,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142952,7 +143446,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *697 + repository: *698 sender: *19 required: - action @@ -143033,8 +143527,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 marketplace_purchase: title: Marketplace Purchase type: object @@ -143116,9 +143610,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + organization: *697 + previous_marketplace_purchase: *731 + repository: *698 sender: *19 required: - action @@ -143198,12 +143692,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *694 - installation: *695 - marketplace_purchase: *729 - organization: *696 - previous_marketplace_purchase: *730 - repository: *697 + enterprise: *695 + installation: *696 + marketplace_purchase: *730 + organization: *697 + previous_marketplace_purchase: *731 + repository: *698 sender: *19 required: - action @@ -143305,11 +143799,11 @@ x-webhooks: type: string required: - to - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143409,11 +143903,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143492,11 +143986,11 @@ x-webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 sender: *19 required: - action @@ -143574,11 +144068,11 @@ x-webhooks: type: string enum: - added - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143654,7 +144148,7 @@ x-webhooks: required: - login - id - team: &731 + team: &732 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143844,11 +144338,11 @@ x-webhooks: type: string enum: - removed - enterprise: *694 - installation: *695 - member: *721 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + member: *722 + organization: *697 + repository: *698 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143925,7 +144419,7 @@ x-webhooks: required: - login - id - team: *731 + team: *732 required: - action - scope @@ -144007,8 +144501,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *695 - merge_group: &733 + installation: *696 + merge_group: &734 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144027,15 +144521,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *732 + head_commit: *733 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144121,10 +144615,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *695 - merge_group: *733 - organization: *696 - repository: *697 + installation: *696 + merge_group: *734 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144197,7 +144691,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 + enterprise: *695 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144305,16 +144799,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *695 - organization: *696 + installation: *696 + organization: *697 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -144395,11 +144889,11 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144478,9 +144972,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - milestone: &736 + enterprise: *695 + installation: *696 + milestone: &737 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144617,8 +145111,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144697,11 +145191,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144811,11 +145305,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - milestone: *726 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *727 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144895,11 +145389,11 @@ x-webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - milestone: *736 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + milestone: *737 + organization: *697 + repository: *698 sender: *19 required: - action @@ -144978,11 +145472,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *722 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145061,11 +145555,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *721 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + blocked_user: *722 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145144,9 +145638,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - membership: &737 + enterprise: *695 + installation: *696 + membership: &738 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145238,8 +145732,8 @@ x-webhooks: - role - organization_url - user - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145317,11 +145811,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145400,8 +145894,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145517,10 +146011,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 - user: *721 + user: *722 required: - action - invitation @@ -145598,11 +146092,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145689,11 +146183,11 @@ x-webhooks: properties: from: type: string - enterprise: *694 - installation: *695 - membership: *737 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + membership: *738 + organization: *697 + repository: *698 sender: *19 required: - action @@ -145769,9 +146263,9 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 package: description: Information about the package. type: object @@ -146270,7 +146764,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &738 + items: &739 title: Ruby Gems metadata type: object properties: @@ -146365,7 +146859,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -146441,9 +146935,9 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 package: description: Information about the package. type: object @@ -146796,7 +147290,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *739 source_url: type: string format: uri @@ -146866,7 +147360,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -147043,12 +147537,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *694 + enterprise: *695 id: type: integer - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - id @@ -147128,7 +147622,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &739 + personal_access_token_request: &740 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147274,10 +147768,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *694 - organization: *696 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147356,11 +147850,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *739 - enterprise: *694 - organization: *696 + personal_access_token_request: *740 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147438,11 +147932,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *739 - enterprise: *694 - organization: *696 + personal_access_token_request: *740 + enterprise: *695 + organization: *697 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147519,11 +148013,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *739 - organization: *696 - enterprise: *694 + personal_access_token_request: *740 + organization: *697 + enterprise: *695 sender: *19 - installation: *695 + installation: *696 required: - action - personal_access_token_request @@ -147627,7 +148121,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *740 + last_response: *741 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147659,8 +148153,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 zen: description: Random string of GitHub zen. @@ -147905,10 +148399,10 @@ x-webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: &741 + enterprise: *695 + installation: *696 + organization: *697 + project_card: &742 title: Project Card type: object properties: @@ -148027,7 +148521,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -148108,11 +148602,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_card: *741 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_card: *742 + repository: *698 sender: *19 required: - action @@ -148192,9 +148686,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 project_card: title: Project Card type: object @@ -148322,8 +148816,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -148417,11 +148911,11 @@ x-webhooks: - from required: - note - enterprise: *694 - installation: *695 - organization: *696 - project_card: *741 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_card: *742 + repository: *698 sender: *19 required: - action @@ -148515,9 +149009,9 @@ x-webhooks: - from required: - column_id - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 project_card: allOf: - title: Project Card @@ -148707,7 +149201,7 @@ x-webhooks: type: string required: - after_id - repository: *697 + repository: *698 sender: *19 required: - action @@ -148787,10 +149281,10 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - organization: *696 - project: &743 + enterprise: *695 + installation: *696 + organization: *697 + project: &744 title: Project type: object properties: @@ -148914,7 +149408,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -148994,10 +149488,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project_column: &742 + enterprise: *695 + installation: *696 + organization: *697 + project_column: &743 title: Project Column type: object properties: @@ -149036,7 +149530,7 @@ x-webhooks: - name - created_at - updated_at - repository: *697 + repository: *698 sender: *19 required: - action @@ -149115,18 +149609,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -149216,11 +149710,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 + repository: *698 sender: *19 required: - action @@ -149300,11 +149794,11 @@ x-webhooks: type: string enum: - moved - enterprise: *694 - installation: *695 - organization: *696 - project_column: *742 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project_column: *743 + repository: *698 sender: *19 required: - action @@ -149384,11 +149878,11 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149468,18 +149962,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - project: *743 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *734 - required: *735 + properties: *735 + required: *736 nullable: true sender: *19 required: @@ -149581,11 +150075,11 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149664,11 +150158,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - organization: *696 - project: *743 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + project: *744 + repository: *698 sender: *19 required: - action @@ -149749,9 +150243,9 @@ x-webhooks: type: string enum: - closed - installation: *695 - organization: *696 - projects_v2: &744 + installation: *696 + organization: *697 + projects_v2: &745 title: Projects v2 Project description: A projects v2 project type: object @@ -149894,9 +150388,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -149977,9 +150471,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -150096,9 +150590,9 @@ x-webhooks: type: string to: type: string - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -150181,7 +150675,7 @@ x-webhooks: type: string enum: - archived - changes: &748 + changes: &749 type: object properties: archived_at: @@ -150195,9 +150689,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *695 - organization: *696 - projects_v2_item: &745 + installation: *696 + organization: *697 + projects_v2_item: &746 title: Projects v2 Item description: An item belonging to a project type: object @@ -150331,9 +150825,9 @@ x-webhooks: nullable: true to: type: string - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150415,9 +150909,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150498,9 +150992,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150606,7 +151100,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &746 + - &747 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150624,7 +151118,7 @@ x-webhooks: required: - id - name - - &747 + - &748 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150647,8 +151141,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *746 - *747 + - *748 required: - field_value - type: object @@ -150664,9 +151158,9 @@ x-webhooks: nullable: true required: - body - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150761,9 +151255,9 @@ x-webhooks: to: type: string nullable: true - installation: *695 - organization: *696 - projects_v2_item: *745 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150846,10 +151340,10 @@ x-webhooks: type: string enum: - restored - changes: *748 - installation: *695 - organization: *696 - projects_v2_item: *745 + changes: *749 + installation: *696 + organization: *697 + projects_v2_item: *746 sender: *19 required: - action @@ -150931,9 +151425,9 @@ x-webhooks: type: string enum: - reopened - installation: *695 - organization: *696 - projects_v2: *744 + installation: *696 + organization: *697 + projects_v2: *745 sender: *19 required: - action @@ -151014,9 +151508,9 @@ x-webhooks: type: string enum: - created - installation: *695 - organization: *696 - projects_v2_status_update: &749 + installation: *696 + organization: *697 + projects_v2_status_update: &750 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151143,9 +151637,9 @@ x-webhooks: type: string enum: - deleted - installation: *695 - organization: *696 - projects_v2_status_update: *749 + installation: *696 + organization: *697 + projects_v2_status_update: *750 sender: *19 required: - action @@ -151281,9 +151775,9 @@ x-webhooks: type: string format: date nullable: true - installation: *695 - organization: *696 - projects_v2_status_update: *749 + installation: *696 + organization: *697 + projects_v2_status_update: *750 sender: *19 required: - action @@ -151354,10 +151848,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - repository @@ -151434,13 +151928,13 @@ x-webhooks: type: string enum: - assigned - assignee: *721 - enterprise: *694 - installation: *695 - number: &750 + assignee: *722 + enterprise: *695 + installation: *696 + number: &751 description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -153723,7 +154217,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -153805,11 +154299,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -156087,7 +156581,7 @@ x-webhooks: - draft reason: type: string - repository: *697 + repository: *698 sender: *19 required: - action @@ -156169,11 +156663,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -158451,7 +158945,7 @@ x-webhooks: - draft reason: type: string - repository: *697 + repository: *698 sender: *19 required: - action @@ -158533,13 +159027,13 @@ x-webhooks: type: string enum: - closed - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: &751 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: &752 allOf: - - *551 + - *552 - type: object properties: allow_auto_merge: @@ -158601,7 +159095,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *697 + repository: *698 sender: *19 required: - action @@ -158682,12 +159176,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -158767,11 +159261,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *694 - milestone: *534 - number: *750 - organization: *696 - pull_request: &752 + enterprise: *695 + milestone: *535 + number: *751 + organization: *697 + pull_request: &753 title: Pull Request type: object properties: @@ -161034,7 +161528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -161113,11 +161607,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -163399,7 +163893,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *697 + repository: *698 sender: *19 required: - action @@ -163523,12 +164017,12 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -163608,11 +164102,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -165879,7 +166373,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -165959,11 +166453,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *694 - installation: *695 - label: *720 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + label: *721 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -168245,7 +168739,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -168326,10 +168820,10 @@ x-webhooks: type: string enum: - locked - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -170609,7 +171103,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -170689,12 +171183,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *694 - milestone: *534 - number: *750 - organization: *696 - pull_request: *752 - repository: *697 + enterprise: *695 + milestone: *535 + number: *751 + organization: *697 + pull_request: *753 + repository: *698 sender: *19 required: - action @@ -170773,12 +171267,12 @@ x-webhooks: type: string enum: - opened - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -170859,12 +171353,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -170944,12 +171438,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *694 - installation: *695 - number: *750 - organization: *696 - pull_request: *751 - repository: *697 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 + pull_request: *752 + repository: *698 sender: *19 required: - action @@ -171315,9 +171809,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -173487,7 +173981,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -173567,7 +174061,7 @@ x-webhooks: type: string enum: - deleted - comment: &754 + comment: &755 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. @@ -173852,9 +174346,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -176012,7 +176506,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -176092,11 +176586,11 @@ x-webhooks: type: string enum: - edited - changes: *753 - comment: *754 - enterprise: *694 - installation: *695 - organization: *696 + changes: *754 + comment: *755 + enterprise: *695 + installation: *696 + organization: *697 pull_request: type: object properties: @@ -178257,7 +178751,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *697 + repository: *698 sender: *19 required: - action @@ -178338,9 +178832,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -180513,7 +181007,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 review: description: The review that was affected. type: object @@ -180756,9 +181250,9 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -182812,8 +183306,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: &755 + repository: *698 + review: &756 description: The review that was affected. type: object properties: @@ -183042,12 +183536,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -185330,7 +185824,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_reviewer: title: User type: object @@ -185414,12 +185908,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -187709,7 +188203,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187901,12 +188395,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -190191,7 +190685,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_reviewer: title: User type: object @@ -190276,12 +190770,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *694 - installation: *695 + enterprise: *695 + installation: *696 number: description: The pull request number. type: integer - organization: *696 + organization: *697 pull_request: title: Pull Request type: object @@ -192557,7 +193051,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192738,9 +193232,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -194915,8 +195409,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 - review: *755 + repository: *698 + review: *756 sender: *19 required: - action @@ -194996,9 +195490,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -197068,7 +197562,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 sender: *19 thread: type: object @@ -197451,9 +197945,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 pull_request: title: Simple Pull Request type: object @@ -199509,7 +200003,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *697 + repository: *698 sender: *19 thread: type: object @@ -199895,10 +200389,10 @@ x-webhooks: type: string before: type: string - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -202169,7 +202663,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -202251,11 +202745,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *756 - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + assignee: *757 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -204538,7 +205032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -204617,11 +205111,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *694 - installation: *695 - label: *720 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + label: *721 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -206894,7 +207388,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -206975,10 +207469,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *694 - installation: *695 - number: *750 - organization: *696 + enterprise: *695 + installation: *696 + number: *751 + organization: *697 pull_request: title: Pull Request type: object @@ -209243,7 +209737,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *697 + repository: *698 sender: *19 required: - action @@ -209443,7 +209937,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *694 + enterprise: *695 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209535,8 +210029,8 @@ x-webhooks: - url - author - committer - installation: *695 - organization: *696 + installation: *696 + organization: *697 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210111,9 +210605,9 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 registry_package: type: object properties: @@ -210559,7 +211053,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *738 + items: *739 summary: type: string tag_name: @@ -210613,7 +211107,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -210691,9 +211185,9 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 registry_package: type: object properties: @@ -211001,7 +211495,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *738 + items: *739 summary: type: string tag_name: @@ -211050,7 +211544,7 @@ x-webhooks: - owner - package_version - registry - repository: *697 + repository: *698 sender: *19 required: - action @@ -211127,10 +211621,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - release: &757 + enterprise: *695 + installation: *696 + organization: *697 + release: &758 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211435,7 +211929,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *697 + repository: *698 sender: *19 required: - action @@ -211512,11 +212006,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -211624,11 +212118,11 @@ x-webhooks: type: boolean required: - to - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -211706,9 +212200,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -212017,7 +212511,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *697 + repository: *698 sender: *19 required: - action @@ -212093,10 +212587,10 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - release: &758 + enterprise: *695 + installation: *696 + organization: *697 + release: &759 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212402,7 +212896,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *697 + repository: *698 sender: *19 required: - action @@ -212478,11 +212972,11 @@ x-webhooks: type: string enum: - released - enterprise: *694 - installation: *695 - organization: *696 - release: *757 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *758 + repository: *698 sender: *19 required: - action @@ -212558,11 +213052,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *694 - installation: *695 - organization: *696 - release: *758 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + release: *759 + repository: *698 sender: *19 required: - action @@ -212638,11 +213132,11 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *605 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + repository_advisory: *606 sender: *19 required: - action @@ -212718,11 +213212,11 @@ x-webhooks: type: string enum: - reported - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - repository_advisory: *605 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + repository_advisory: *606 sender: *19 required: - action @@ -212798,10 +213292,10 @@ x-webhooks: type: string enum: - archived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -212878,10 +213372,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -212959,10 +213453,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213046,10 +213540,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213161,10 +213655,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213236,10 +213730,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 status: type: string @@ -213320,10 +213814,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213400,10 +213894,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213497,10 +213991,10 @@ x-webhooks: - name required: - repository - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -213580,10 +214074,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 sender: *19 required: @@ -213662,10 +214156,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 sender: *19 required: @@ -213744,10 +214238,10 @@ x-webhooks: type: string enum: - edited - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 repository_ruleset: *284 changes: type: object @@ -214052,10 +214546,10 @@ x-webhooks: - from required: - owner - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214133,10 +214627,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214214,7 +214708,7 @@ x-webhooks: type: string enum: - create - alert: &759 + alert: &760 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214335,10 +214829,10 @@ x-webhooks: type: string enum: - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214544,10 +215038,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214625,11 +215119,11 @@ x-webhooks: type: string enum: - reopen - alert: *759 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *760 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214828,10 +215322,10 @@ x-webhooks: enum: - fixed - open - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -214909,7 +215403,7 @@ x-webhooks: type: string enum: - created - alert: &760 + alert: &761 type: object properties: number: *85 @@ -215015,10 +215509,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215099,11 +215593,11 @@ x-webhooks: type: string enum: - created - alert: *760 - installation: *695 - location: *761 - organization: *696 - repository: *697 + alert: *761 + installation: *696 + location: *762 + organization: *697 + repository: *698 sender: *19 required: - location @@ -215341,11 +215835,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215423,11 +215917,11 @@ x-webhooks: type: string enum: - reopened - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215505,11 +215999,11 @@ x-webhooks: type: string enum: - resolved - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215587,11 +216081,11 @@ x-webhooks: type: string enum: - validated - alert: *760 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + alert: *761 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -215667,11 +216161,11 @@ x-webhooks: type: string enum: - published - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: &762 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + security_advisory: &763 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215854,11 +216348,11 @@ x-webhooks: type: string enum: - updated - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 - security_advisory: *762 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 + security_advisory: *763 sender: *19 required: - action @@ -215931,10 +216425,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216119,9 +216613,9 @@ x-webhooks: type: object properties: security_and_analysis: *275 - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: *337 sender: *19 required: @@ -216200,12 +216694,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: &763 + sponsorship: &764 type: object properties: created_at: @@ -216506,12 +217000,12 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - sponsorship @@ -216599,12 +217093,12 @@ x-webhooks: type: string required: - from - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216681,17 +217175,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &764 + effective_date: &765 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: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - sponsorship @@ -216765,7 +217259,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &765 + changes: &766 type: object properties: tier: @@ -216809,13 +217303,13 @@ x-webhooks: - from required: - tier - effective_date: *764 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + effective_date: *765 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216892,13 +217386,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *765 - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + changes: *766 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - sponsorship: *763 + sponsorship: *764 required: - action - changes @@ -216972,10 +217466,10 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217058,10 +217552,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217480,15 +217974,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *694 + enterprise: *695 id: description: The unique identifier of the status. type: integer - installation: *695 + installation: *696 name: type: string - organization: *696 - repository: *697 + organization: *697 + repository: *698 sender: *19 sha: description: The Commit SHA. @@ -217603,9 +218097,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217695,9 +218189,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217787,9 +218281,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217879,9 +218373,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *695 - organization: *696 - repository: *697 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -217958,12 +218452,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - team: &766 + team: &767 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218153,9 +218647,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -218613,7 +219107,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -218689,9 +219183,9 @@ x-webhooks: type: string enum: - created - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -219149,7 +219643,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -219226,9 +219720,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -219686,7 +220180,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -219830,9 +220324,9 @@ x-webhooks: - from required: - permissions - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -220290,7 +220784,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - changes @@ -220368,9 +220862,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *694 - installation: *695 - organization: *696 + enterprise: *695 + installation: *696 + organization: *697 repository: title: Repository description: A git repository @@ -220828,7 +221322,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *766 + team: *767 required: - action - team @@ -220904,10 +221398,10 @@ x-webhooks: type: string enum: - started - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 required: - action @@ -220980,16 +221474,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *694 + enterprise: *695 inputs: type: object nullable: true additionalProperties: true - installation: *695 - organization: *696 + installation: *696 + organization: *697 ref: type: string - repository: *697 + repository: *698 sender: *19 workflow: type: string @@ -221071,10 +221565,10 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: allOf: @@ -221390,10 +221884,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: allOf: @@ -221732,10 +222226,10 @@ x-webhooks: type: string enum: - queued - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: type: object @@ -221949,10 +222443,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 workflow_job: type: object @@ -222168,12 +222662,12 @@ x-webhooks: type: string enum: - completed - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object @@ -223172,12 +223666,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object @@ -224161,12 +224655,12 @@ x-webhooks: type: string enum: - requested - enterprise: *694 - installation: *695 - organization: *696 - repository: *697 + enterprise: *695 + installation: *696 + organization: *697 + repository: *698 sender: *19 - workflow: *716 + workflow: *717 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index d201389a7..7366dd8c9 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -51302,6 +51302,355 @@ } } }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "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", @@ -106153,6 +106502,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -106369,6 +106738,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -125344,6 +125716,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -131979,6 +132354,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -138400,6 +138795,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -139771,6 +140186,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -163854,6 +164289,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -165416,6 +165871,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -166987,6 +167462,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -168592,6 +169087,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -170013,6 +170528,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -171255,6 +171790,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -172490,6 +173045,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -173718,6 +174293,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -174972,6 +175567,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -176190,6 +176805,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -177389,6 +178024,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -179198,6 +179853,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -180479,6 +181154,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -181674,6 +182369,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -183624,6 +184339,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index a8cd0e812..1f63fa04d 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -37373,6 +37373,255 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': + "$ref": "#/components/responses/forbidden" + '410': + "$ref": "#/components/responses/gone" + '422': + "$ref": "#/components/responses/validation_failed" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + '503': + "$ref": "#/components/responses/service_unavailable" + 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 @@ -77349,6 +77598,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -77514,6 +77777,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -92343,6 +92608,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -97230,6 +97497,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -102158,6 +102439,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -103193,6 +103488,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121090,6 +121399,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122252,6 +122575,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123421,6 +123758,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124615,6 +124966,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125669,6 +126034,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126611,6 +126990,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127536,6 +127929,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128463,6 +128870,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129413,6 +129834,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130332,6 +130767,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131233,6 +131682,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132603,6 +133066,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133573,6 +134050,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134471,6 +134962,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135946,6 +136451,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index d201389a7..7366dd8c9 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -51302,6 +51302,355 @@ } } }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": { + "delete": { + "summary": "Remove sub-issue", + "description": "You can use the REST API to remove a sub-issue from an issue.\nRemoving content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/remove-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to remove" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": { + "get": { + "summary": "List sub-issues", + "description": "You can use the REST API to list the sub-issues on an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-sub-issues", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + }, + "post": { + "summary": "Add sub-issue", + "description": "You can use the REST API to add sub-issues to issues.\n\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor 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).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/add-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The sub-issue to add" + }, + "replace_parent": { + "type": "boolean", + "description": "Option that, when true, instructs the operation to replace the sub-issues current parent issue" + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 1 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "sub-issues" + } + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": { + "patch": { + "summary": "Reprioritize sub-issue", + "description": "You can use the REST API to reprioritize a sub-issue to a different position in the parent list.", + "tags": [ + "issues" + ], + "operationId": "issues/reprioritize-sub-issue", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "sub_issue_id": { + "type": "integer", + "description": "The id of the sub-issue to reprioritize" + }, + "after_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized after (either positional argument after OR before should be specified)." + }, + "before_id": { + "type": "integer", + "description": "The id of the sub-issue to be prioritized before (either positional argument after OR before should be specified)." + } + }, + "required": [ + "sub_issue_id" + ] + }, + "examples": { + "default": { + "value": { + "sub_issue_id": 6, + "after_id": 5 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "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", @@ -106153,6 +106502,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -106369,6 +106738,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -125344,6 +125716,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -131979,6 +132354,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -138400,6 +138795,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -139771,6 +140186,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -163854,6 +164289,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -165416,6 +165871,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -166987,6 +167462,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -168592,6 +169087,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -170013,6 +170528,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -171255,6 +171790,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -172490,6 +173045,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -173718,6 +174293,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -174972,6 +175567,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -176190,6 +176805,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -177389,6 +178024,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -179198,6 +179853,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -180479,6 +181154,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -181674,6 +182369,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -183624,6 +184339,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index a8cd0e812..1f63fa04d 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -37373,6 +37373,255 @@ paths: enabledForGitHubApps: true category: reactions subcategory: reactions + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issue": + delete: + summary: Remove sub-issue + description: |- + You can use the REST API to remove a sub-issue from an issue. + Removing 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass a specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/remove-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to remove + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + x-github: + triggersNotification: true + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues": + get: + summary: List sub-issues + description: |- + You can use the REST API to list the sub-issues on an issue. + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/list-sub-issues + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + post: + summary: Add sub-issue + description: |- + You can use the REST API to add sub-issues to issues. + + 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)" + and "[Best practices for using the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/best-practices-for-using-the-rest-api)." + + This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." + + - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. + - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. + - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. + - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + tags: + - issues + operationId: issues/add-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The sub-issue to add + replace_parent: + type: boolean + description: Option that, when true, instructs the operation to + replace the sub-issues current parent issue + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 1 + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': + "$ref": "#/components/responses/forbidden" + '410': + "$ref": "#/components/responses/gone" + '422': + "$ref": "#/components/responses/validation_failed" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: issues + subcategory: sub-issues + "/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": + patch: + summary: Reprioritize sub-issue + description: You can use the REST API to reprioritize a sub-issue to a different + position in the parent list. + tags: + - issues + operationId: issues/reprioritize-sub-issue + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/issue-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + sub_issue_id: + type: integer + description: The id of the sub-issue to reprioritize + after_id: + type: integer + description: The id of the sub-issue to be prioritized after (either + positional argument after OR before should be specified). + before_id: + type: integer + description: The id of the sub-issue to be prioritized before (either + positional argument after OR before should be specified). + required: + - sub_issue_id + examples: + default: + value: + sub_issue_id: 6 + after_id: 5 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/issue" + examples: + default: + "$ref": "#/components/examples/issue" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed_simple" + '503': + "$ref": "#/components/responses/service_unavailable" + 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 @@ -77349,6 +77598,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -77514,6 +77777,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -92343,6 +92608,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -97230,6 +97497,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -102158,6 +102439,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -103193,6 +103488,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -121090,6 +121399,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122252,6 +122575,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -123421,6 +123758,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124615,6 +124966,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125669,6 +126034,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126611,6 +126990,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127536,6 +127929,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128463,6 +128870,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129413,6 +129834,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130332,6 +130767,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131233,6 +131682,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132603,6 +133066,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133573,6 +134050,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134471,6 +134962,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135946,6 +136451,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index e391682c1..476ef78c3 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -41520,6 +41520,26 @@ "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" + ] } }, "required": [ @@ -56420,6 +56440,26 @@ "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" + ] } }, "required": [ @@ -60433,6 +60473,26 @@ "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" + ] } }, "required": [ @@ -85544,6 +85604,26 @@ "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" + ] } }, "required": [ @@ -92806,6 +92886,26 @@ "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" + ] } }, "required": [ @@ -229845,6 +229945,26 @@ "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" + ] } }, "required": [ @@ -247081,6 +247201,26 @@ "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" + ] } }, "required": [ @@ -249493,6 +249633,26 @@ "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" + ] } }, "required": [ @@ -255159,6 +255319,26 @@ "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" + ] } }, "required": [ @@ -258662,6 +258842,26 @@ "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" + ] } }, "required": [ @@ -262041,6 +262241,26 @@ "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" + ] } }, "required": [ @@ -264430,6 +264650,26 @@ "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" + ] } }, "required": [ @@ -266845,6 +267085,26 @@ "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" + ] } }, "required": [ @@ -269063,6 +269323,26 @@ "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" + ] } }, "required": [ @@ -290565,6 +290845,26 @@ "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" + ] } }, "required": [ @@ -363611,6 +363911,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -388804,6 +389124,26 @@ "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" + ] } }, "required": [ @@ -414837,6 +415177,26 @@ "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" + ] } }, "required": [ @@ -417601,6 +417961,26 @@ "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" + ] } }, "required": [ @@ -420367,6 +420747,26 @@ "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" + ] } }, "required": [ @@ -429378,6 +429778,26 @@ "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" + ] } }, "required": [ @@ -432144,6 +432564,26 @@ "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" + ] } }, "required": [ @@ -583694,6 +584134,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -587304,6 +587764,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -590938,6 +591418,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -594184,6 +594684,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -597005,6 +597525,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -600015,6 +600555,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -602846,6 +603406,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -605850,6 +606430,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -608705,6 +609305,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -611586,6 +612206,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -614393,6 +615033,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -617278,6 +617938,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -619165,6 +619845,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -621974,6 +622674,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -624808,6 +625528,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -627509,6 +628249,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -629393,6 +630153,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -632306,6 +633086,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -635122,6 +635922,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -638001,6 +638821,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -640787,6 +641627,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 95e0c8f19..c8a8c64b9 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -14152,6 +14152,20 @@ paths: - 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 required: &418 - assignee - closed_at @@ -74645,6 +74659,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -104015,6 +104043,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -105409,6 +105451,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -106656,6 +106712,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -107888,6 +107958,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -108889,6 +108973,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -110013,6 +110111,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -111025,6 +111137,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112156,6 +112282,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113152,6 +113292,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114172,6 +114326,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115161,6 +115329,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116133,6 +116315,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117496,6 +117692,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118486,6 +118696,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119501,6 +119725,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120471,6 +120709,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122211,6 +122463,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json index e391682c1..476ef78c3 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -41520,6 +41520,26 @@ "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" + ] } }, "required": [ @@ -56420,6 +56440,26 @@ "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" + ] } }, "required": [ @@ -60433,6 +60473,26 @@ "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" + ] } }, "required": [ @@ -85544,6 +85604,26 @@ "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" + ] } }, "required": [ @@ -92806,6 +92886,26 @@ "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" + ] } }, "required": [ @@ -229845,6 +229945,26 @@ "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" + ] } }, "required": [ @@ -247081,6 +247201,26 @@ "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" + ] } }, "required": [ @@ -249493,6 +249633,26 @@ "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" + ] } }, "required": [ @@ -255159,6 +255319,26 @@ "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" + ] } }, "required": [ @@ -258662,6 +258842,26 @@ "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" + ] } }, "required": [ @@ -262041,6 +262241,26 @@ "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" + ] } }, "required": [ @@ -264430,6 +264650,26 @@ "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" + ] } }, "required": [ @@ -266845,6 +267085,26 @@ "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" + ] } }, "required": [ @@ -269063,6 +269323,26 @@ "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" + ] } }, "required": [ @@ -290565,6 +290845,26 @@ "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" + ] } }, "required": [ @@ -363611,6 +363911,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -388804,6 +389124,26 @@ "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" + ] } }, "required": [ @@ -414837,6 +415177,26 @@ "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" + ] } }, "required": [ @@ -417601,6 +417961,26 @@ "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" + ] } }, "required": [ @@ -420367,6 +420747,26 @@ "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" + ] } }, "required": [ @@ -429378,6 +429778,26 @@ "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" + ] } }, "required": [ @@ -432144,6 +432564,26 @@ "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" + ] } }, "required": [ @@ -583694,6 +584134,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -587304,6 +587764,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -590938,6 +591418,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -594184,6 +594684,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -597005,6 +597525,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -600015,6 +600555,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -602846,6 +603406,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -605850,6 +606430,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -608705,6 +609305,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -611586,6 +612206,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -614393,6 +615033,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -617278,6 +617938,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -619165,6 +619845,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -621974,6 +622674,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -624808,6 +625528,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -627509,6 +628249,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -629393,6 +630153,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -632306,6 +633086,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -635122,6 +635922,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -638001,6 +638821,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -640787,6 +641627,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 95e0c8f19..c8a8c64b9 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -14152,6 +14152,20 @@ paths: - 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 required: &418 - assignee - closed_at @@ -74645,6 +74659,20 @@ paths: description: type: string nullable: true + 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 state: type: string state_reason: @@ -104015,6 +104043,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -105409,6 +105451,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -106656,6 +106712,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -107888,6 +107958,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -108889,6 +108973,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -110013,6 +110111,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -111025,6 +111137,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112156,6 +112282,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113152,6 +113292,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114172,6 +114326,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -115161,6 +115329,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116133,6 +116315,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117496,6 +117692,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118486,6 +118696,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119501,6 +119725,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -120471,6 +120709,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -122211,6 +122463,20 @@ x-webhooks: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json index c78336141..41282dc5b 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json @@ -91992,6 +91992,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -92208,6 +92228,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -106751,6 +106774,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -112003,6 +112029,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -118102,6 +118148,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -119473,6 +119539,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -142726,6 +142812,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -144288,6 +144394,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -145859,6 +145985,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -147464,6 +147610,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -148885,6 +149051,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -150127,6 +150313,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -151362,6 +151568,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -152590,6 +152816,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -153844,6 +154090,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -155062,6 +155328,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -156261,6 +156547,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -158065,6 +158371,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -159346,6 +159672,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -160541,6 +160887,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -162486,6 +162852,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml index f092fc2ad..7f7dde83d 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -66366,6 +66366,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -66531,6 +66545,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -77883,6 +77899,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -81809,6 +81827,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -86421,6 +86453,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -87456,6 +87502,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -104752,6 +104812,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -105914,6 +105988,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -107083,6 +107171,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -108277,6 +108379,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -109331,6 +109447,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -110273,6 +110403,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -111198,6 +111342,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112125,6 +112283,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113075,6 +113247,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113994,6 +114180,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114895,6 +115095,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116259,6 +116473,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117229,6 +117457,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -118127,6 +118369,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -119596,6 +119852,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string diff --git a/descriptions/ghes-3.10/ghes-3.10.json b/descriptions/ghes-3.10/ghes-3.10.json index c78336141..41282dc5b 100644 --- a/descriptions/ghes-3.10/ghes-3.10.json +++ b/descriptions/ghes-3.10/ghes-3.10.json @@ -91992,6 +91992,26 @@ "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" + ] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -92208,6 +92228,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -106751,6 +106774,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -112003,6 +112029,26 @@ } } }, + "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" + ] + }, "state": { "type": "string" }, @@ -118102,6 +118148,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -119473,6 +119539,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -142726,6 +142812,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -144288,6 +144394,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -145859,6 +145985,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -147464,6 +147610,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -148885,6 +149051,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -150127,6 +150313,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -151362,6 +151568,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -152590,6 +152816,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -153844,6 +154090,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -155062,6 +155328,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -156261,6 +156547,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -158065,6 +158371,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -159346,6 +159672,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -160541,6 +160887,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", @@ -162486,6 +162852,26 @@ "type": "string", "format": "uri" }, + "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" + ] + }, "state": { "description": "State of the issue; either 'open' or 'closed'", "type": "string", diff --git a/descriptions/ghes-3.10/ghes-3.10.yaml b/descriptions/ghes-3.10/ghes-3.10.yaml index f092fc2ad..7f7dde83d 100644 --- a/descriptions/ghes-3.10/ghes-3.10.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.yaml @@ -66366,6 +66366,20 @@ components: - 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 issue: title: Issue description: Issues are a great way to keep track of tasks, enhancements, and @@ -66531,6 +66545,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -77883,6 +77899,8 @@ components: "$ref": "#/components/schemas/author-association" reactions: "$ref": "#/components/schemas/reaction-rollup" + sub_issues_summary: + "$ref": "#/components/schemas/sub-issues-summary" required: - assignee - closed_at @@ -81809,6 +81827,20 @@ components: description: type: string nullable: true + 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 state: type: string state_reason: @@ -86421,6 +86453,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -87456,6 +87502,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -104752,6 +104812,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -105914,6 +105988,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -107083,6 +107171,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -108277,6 +108379,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -109331,6 +109447,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -110273,6 +110403,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -111198,6 +111342,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -112125,6 +112283,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113075,6 +113247,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -113994,6 +114180,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -114895,6 +115095,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -116259,6 +116473,20 @@ components: repository_url: type: string format: uri + 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 state: description: State of the issue; either 'open' or 'closed' type: string @@ -117229,6 +117457,20 @@ components: repository_url: type: string format: uri + sub_issues_summary: + title: Sub-issues Summary + type: object + properties: + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}