diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 2249ff07e..995f84ea3 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -46345,6 +46345,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", @@ -97117,6 +97466,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.", @@ -97405,6 +97774,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -124735,6 +125107,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" }, @@ -131669,6 +132061,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", @@ -133102,6 +133514,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", @@ -157009,6 +157441,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", @@ -158641,6 +159093,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", @@ -160282,6 +160754,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", @@ -161957,6 +162449,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", @@ -163446,6 +163958,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", @@ -164742,6 +165274,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", @@ -166029,6 +166581,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", @@ -167309,6 +167881,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", @@ -168617,6 +169209,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", @@ -169889,6 +170501,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", @@ -171142,6 +171774,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", @@ -173025,6 +173677,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", @@ -174360,6 +175032,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", @@ -175607,6 +176299,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", @@ -177633,6 +178345,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 99fa3815e..16071898a 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -33697,6 +33697,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 @@ -70355,6 +70604,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 @@ -70549,6 +70812,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 @@ -90285,6 +90550,20 @@ components: type: - string - 'null' + sub_issues_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: @@ -95398,6 +95677,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 @@ -96464,6 +96757,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 @@ -113954,6 +114261,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 @@ -115151,6 +115472,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 @@ -116355,6 +116690,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 @@ -117584,6 +117933,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 @@ -118672,6 +119035,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 @@ -119641,6 +120018,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 @@ -120592,6 +120983,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 @@ -121545,6 +121950,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 @@ -122522,6 +122941,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 @@ -123468,6 +123901,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 @@ -124396,6 +124843,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 @@ -125804,6 +126265,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 @@ -126801,6 +127276,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 @@ -127725,6 +128214,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 @@ -129239,6 +129742,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 2249ff07e..995f84ea3 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -46345,6 +46345,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", @@ -97117,6 +97466,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.", @@ -97405,6 +97774,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -124735,6 +125107,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" }, @@ -131669,6 +132061,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", @@ -133102,6 +133514,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", @@ -157009,6 +157441,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", @@ -158641,6 +159093,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", @@ -160282,6 +160754,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", @@ -161957,6 +162449,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", @@ -163446,6 +163958,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", @@ -164742,6 +165274,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", @@ -166029,6 +166581,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", @@ -167309,6 +167881,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", @@ -168617,6 +169209,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", @@ -169889,6 +170501,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", @@ -171142,6 +171774,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", @@ -173025,6 +173677,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", @@ -174360,6 +175032,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", @@ -175607,6 +176299,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", @@ -177633,6 +178345,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 99fa3815e..16071898a 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -33697,6 +33697,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 @@ -70355,6 +70604,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 @@ -70549,6 +70812,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 @@ -90285,6 +90550,20 @@ components: type: - string - 'null' + sub_issues_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: @@ -95398,6 +95677,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 @@ -96464,6 +96757,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 @@ -113954,6 +114261,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 @@ -115151,6 +115472,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 @@ -116355,6 +116690,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 @@ -117584,6 +117933,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 @@ -118672,6 +119035,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 @@ -119641,6 +120018,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 @@ -120592,6 +120983,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 @@ -121545,6 +121950,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 @@ -122522,6 +122941,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 @@ -123468,6 +123901,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 @@ -124396,6 +124843,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 @@ -125804,6 +126265,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 @@ -126801,6 +127276,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 @@ -127725,6 +128214,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 @@ -129239,6 +129742,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index eadd1ea62..dafcbcf45 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -27080,6 +27080,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": [ @@ -44971,6 +44991,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": [ @@ -51563,6 +51603,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": [ @@ -90915,6 +90975,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": [ @@ -102521,6 +102601,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": [ @@ -302391,6 +302491,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": [ @@ -325236,6 +325356,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": [ @@ -328304,6 +328444,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": [ @@ -335360,6 +335520,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": [ @@ -339928,6 +340108,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": [ @@ -344293,6 +344493,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": [ @@ -347343,6 +347563,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": [ @@ -350404,6 +350644,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": [ @@ -353262,6 +353522,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": [ @@ -367939,610 +368219,12644 @@ } } } - } - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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" + } + } + } + } + } }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] + "message": { + "type": "string" }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -368554,8 +380868,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -368571,128 +380885,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } }, @@ -380902,6 +393130,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": [ @@ -494739,6 +506987,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" }, @@ -546703,6 +558971,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": [ @@ -580867,6 +593155,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": [ @@ -584438,6 +596746,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": [ @@ -588011,6 +600339,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": [ @@ -598907,6 +611255,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": [ @@ -602480,6 +614848,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": [ @@ -794328,6 +806716,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", @@ -798457,6 +810865,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", @@ -802610,6 +815038,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", @@ -806287,6 +818735,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", @@ -809517,6 +821985,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", @@ -812952,6 +825440,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", @@ -816194,6 +828702,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", @@ -819617,6 +832145,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", @@ -822883,6 +835431,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", @@ -826177,6 +838745,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", @@ -829395,6 +841983,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", @@ -832675,6 +845283,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", @@ -834667,6 +847295,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", @@ -837885,6 +850533,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", @@ -841130,6 +853798,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", @@ -844214,6 +856902,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", @@ -846203,6 +858911,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", @@ -849529,6 +862257,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", @@ -852754,6 +865502,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", @@ -856046,6 +868814,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", @@ -859241,6 +872029,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", @@ -1269131,6 +1281939,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": [ @@ -1272684,6 +1285512,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": [ @@ -1277191,6 +1290039,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": [ @@ -1280744,6 +1293612,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": [ @@ -1285251,6 +1298139,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": [ @@ -1288804,6 +1301712,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": [ @@ -1293311,6 +1306239,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": [ @@ -1296864,6 +1309812,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index c558ae40b..87915e1ec 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &527 + - &528 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9620,14 +9620,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &519 + state: &520 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: &520 + resolution: &521 type: - string - 'null' @@ -10615,6 +10615,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: - assignee - closed_at @@ -11210,7 +11224,7 @@ paths: url: type: string format: uri - user: &550 + user: &551 title: Public User description: Public User type: object @@ -14647,7 +14661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &457 + - &458 name: all description: If `true`, show notifications marked as read. in: query @@ -14655,7 +14669,7 @@ paths: schema: type: boolean default: false - - &458 + - &459 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14665,7 +14679,7 @@ paths: type: boolean default: false - *62 - - &459 + - &460 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: @@ -15183,7 +15197,7 @@ paths: - url - subscription_url examples: - default: &460 + default: &461 value: - id: '1' repository: @@ -15734,7 +15748,7 @@ paths: type: array items: *88 examples: - default: &567 + default: &568 value: - login: github id: 1 @@ -16970,7 +16984,7 @@ paths: type: array items: *57 examples: - default: &561 + default: &562 value: total_count: 1 repositories: @@ -17787,7 +17801,7 @@ paths: type: array items: *108 examples: - default: &553 + default: &554 value: total_count: 1 repositories: @@ -28185,7 +28199,7 @@ paths: parameters: - *89 - *182 - - &566 + - &567 name: repo_name description: repo_name parameter in: path @@ -29222,7 +29236,7 @@ paths: - nuget - container - *89 - - &568 + - &569 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29263,7 +29277,7 @@ paths: default: *189 '403': *27 '401': *23 - '400': &570 + '400': &571 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32662,7 +32676,7 @@ paths: - *89 - *17 - *18 - - &506 + - &507 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32945,7 +32959,7 @@ paths: type: object description: A repository rule. oneOf: - - &488 + - &489 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32957,7 +32971,7 @@ paths: type: string enum: - creation - - &489 + - &490 title: update description: Only allow users with bypass permission to update matching refs. @@ -32978,7 +32992,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &491 + - &492 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32990,7 +33004,7 @@ paths: type: string enum: - deletion - - &492 + - &493 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33002,7 +33016,7 @@ paths: type: string enum: - required_linear_history - - &493 + - &494 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33080,7 +33094,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &494 + - &495 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33104,7 +33118,7 @@ paths: type: string required: - required_deployment_environments - - &495 + - &496 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33116,7 +33130,7 @@ paths: type: string enum: - required_signatures - - &496 + - &497 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33162,7 +33176,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &497 + - &498 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33210,7 +33224,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &498 + - &499 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33222,7 +33236,7 @@ paths: type: string enum: - non_fast_forward - - &499 + - &500 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33258,7 +33272,7 @@ paths: required: - operator - pattern - - &500 + - &501 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33294,7 +33308,7 @@ paths: required: - operator - pattern - - &501 + - &502 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33330,7 +33344,7 @@ paths: required: - operator - pattern - - &502 + - &503 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33366,7 +33380,7 @@ paths: required: - operator - pattern - - &503 + - &504 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33492,7 +33506,7 @@ paths: maximum: 100 required: - max_file_size - - &504 + - &505 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33542,7 +33556,7 @@ paths: - repository_id required: - workflows - - &505 + - &506 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -33779,7 +33793,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &507 + - &508 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 @@ -33794,7 +33808,7 @@ paths: in: query schema: type: string - - &508 + - &509 name: time_period description: |- The time period to filter by. @@ -33810,14 +33824,14 @@ paths: - week - month default: day - - &509 + - &510 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 - - &510 + - &511 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33837,7 +33851,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Rule Suites description: Response type: array @@ -33893,7 +33907,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &512 + default: &513 value: - id: 21 actor_id: 12 @@ -33937,7 +33951,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &513 + - &514 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33953,7 +33967,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &515 title: Rule Suite description: Response type: object @@ -34060,7 +34074,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &515 + default: &516 value: id: 21 actor_id: 12 @@ -34278,7 +34292,7 @@ paths: - *40 - *18 - *17 - - &517 + - &518 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 @@ -34288,7 +34302,7 @@ paths: required: false schema: type: string - - &518 + - &519 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 @@ -34380,7 +34394,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 description: A repository security advisory. type: object properties: @@ -34699,7 +34713,7 @@ paths: - private_fork additionalProperties: false examples: - default: &526 + default: &527 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35173,7 +35187,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &585 type: object properties: total_minutes_used: @@ -35243,7 +35257,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &585 + default: &586 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35279,7 +35293,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &587 type: object properties: total_gigabytes_bandwidth_used: @@ -35297,7 +35311,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &587 + default: &588 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35329,7 +35343,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &589 type: object properties: days_left_in_billing_cycle: @@ -35347,7 +35361,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &589 + default: &590 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36351,7 +36365,7 @@ paths: - updated_at - url examples: - default: &540 + default: &541 value: - author: login: octocat @@ -36599,7 +36613,7 @@ paths: application/json: schema: *228 examples: - default: &541 + default: &542 value: author: login: octocat @@ -36790,7 +36804,7 @@ paths: - updated_at - url examples: - default: &542 + default: &543 value: - author: login: octocat @@ -37016,7 +37030,7 @@ paths: application/json: schema: *231 examples: - default: &543 + default: &544 value: author: login: octocat @@ -37634,7 +37648,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &544 + response-if-user-is-a-team-maintainer: &545 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -37699,7 +37713,7 @@ paths: application/json: schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: &545 + response-if-users-membership-with-team-is-now-pending: &546 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -37842,7 +37856,7 @@ paths: - updated_at - permissions examples: - default: &546 + default: &547 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37919,7 +37933,7 @@ paths: application/json: schema: *239 examples: - default: &547 + default: &548 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38123,7 +38137,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &548 + schema: &549 title: Team Repository description: A team's access to a repository. type: object @@ -38852,7 +38866,7 @@ paths: type: array items: *172 examples: - response-if-child-teams-exist: &549 + response-if-child-teams-exist: &550 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50818,7 +50832,7 @@ paths: check. type: array items: *320 - deployment: &598 + deployment: &599 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55744,7 +55758,7 @@ paths: type: array items: *358 examples: - default: &556 + default: &557 value: total_count: 2 machines: @@ -57299,7 +57313,7 @@ paths: type: array items: *366 examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57587,7 +57601,7 @@ paths: application/json: schema: type: array - items: &466 + items: &467 title: Pull Request Simple description: Pull Request Simple type: object @@ -57832,7 +57846,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &468 + auto_merge: &469 title: Auto merge description: The status of auto merging a pull request. type: @@ -57897,7 +57911,7 @@ paths: - author_association - auto_merge examples: - default: &467 + default: &468 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58454,7 +58468,7 @@ paths: application/json: schema: *366 examples: - default: &454 + default: &455 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59075,7 +59089,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Status description: The status of a commit. type: object @@ -60031,7 +60045,7 @@ paths: - size - type - url - - &480 + - &481 title: Content File description: Content File type: object @@ -60668,7 +60682,7 @@ paths: items: type: object properties: - placeholder_id: &522 + placeholder_id: &523 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66549,7 +66563,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &629 + last_response: &630 title: Hook Response type: object properties: @@ -67521,7 +67535,7 @@ paths: parameters: - *241 - *242 - - &579 + - &580 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67955,7 +67969,7 @@ paths: type: array items: *428 examples: - default: &572 + default: &573 value: - id: 1 repository: @@ -68347,7 +68361,7 @@ paths: type: array items: *72 examples: - default: + default: &437 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70168,7 +70182,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &437 + - &438 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70217,7 +70231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &438 + - &439 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70345,7 +70359,7 @@ paths: - performed_via_github_app - assignee - assigner - - &439 + - &440 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70391,7 +70405,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &440 + - &441 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70437,7 +70451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &441 + - &442 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70486,7 +70500,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &443 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70528,7 +70542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &443 + - &444 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70570,7 +70584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &445 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70626,7 +70640,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &446 title: Locked Issue Event description: Locked Issue Event type: object @@ -70671,7 +70685,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &447 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70732,7 +70746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &448 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -70793,7 +70807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &449 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70854,7 +70868,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &450 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71512,6 +71526,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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *14 + '404': *6 + 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: + - *241 + - *242 + - *433 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *72 + examples: + default: *437 + headers: + Link: *37 + '404': *6 + '410': *250 + 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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *27 + '410': *250 + '422': *15 + '404': *6 + 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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + '403': *27 + '404': *6 + '422': *7 + '503': *60 + 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 @@ -71540,7 +71782,6 @@ paths: description: Timeline Event type: object anyOf: - - *437 - *438 - *439 - *440 @@ -71553,6 +71794,7 @@ paths: - *447 - *448 - *449 + - *450 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -71875,7 +72117,7 @@ paths: type: string comments: type: array - items: &469 + items: &470 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72416,7 +72658,7 @@ paths: application/json: schema: type: array - items: &450 + items: &451 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72520,9 +72762,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: &451 + default: &452 value: id: 1 key: ssh-rsa AAA... @@ -72558,7 +72800,7 @@ paths: parameters: - *241 - *242 - - &452 + - &453 name: key_id description: The unique identifier of the key. in: path @@ -72570,9 +72812,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -72592,7 +72834,7 @@ paths: parameters: - *241 - *242 - - *452 + - *453 responses: '204': description: Response @@ -72685,7 +72927,7 @@ paths: application/json: schema: *435 examples: - default: &453 + default: &454 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72731,7 +72973,7 @@ paths: application/json: schema: *435 examples: - default: *453 + default: *454 '404': *6 x-github: githubCloudOnly: false @@ -73133,7 +73375,7 @@ paths: application/json: schema: *366 examples: - default: *454 + default: *455 '204': description: Response when already merged '404': @@ -73299,7 +73541,7 @@ paths: application/json: schema: *370 examples: - default: &455 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73360,7 +73602,7 @@ paths: parameters: - *241 - *242 - - &456 + - &457 name: milestone_number description: The number that identifies the milestone. in: path @@ -73374,7 +73616,7 @@ paths: application/json: schema: *370 examples: - default: *455 + default: *456 '404': *6 x-github: githubCloudOnly: false @@ -73393,7 +73635,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 requestBody: required: false content: @@ -73433,7 +73675,7 @@ paths: application/json: schema: *370 examples: - default: *455 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73451,7 +73693,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 responses: '204': description: Response @@ -73474,7 +73716,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 - *17 - *18 responses: @@ -73507,10 +73749,10 @@ paths: parameters: - *241 - *242 - - *457 - *458 - - *62 - *459 + - *62 + - *460 - *17 - *18 responses: @@ -73522,7 +73764,7 @@ paths: type: array items: *84 examples: - default: *460 + default: *461 headers: Link: *37 x-github: @@ -73612,7 +73854,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -73756,7 +73998,7 @@ paths: - custom_404 - public examples: - default: &462 + default: &463 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -73853,9 +74095,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *462 + default: *463 '422': *15 '409': *128 x-github: @@ -74017,7 +74259,7 @@ paths: application/json: schema: type: array - items: &463 + items: &464 title: Page Build description: Page Build type: object @@ -74164,9 +74406,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: &464 + default: &465 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74226,9 +74468,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74360,7 +74602,7 @@ paths: parameters: - *241 - *242 - - &465 + - &466 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74420,7 +74662,7 @@ paths: parameters: - *241 - *242 - - *465 + - *466 responses: '204': *131 '404': *6 @@ -75126,9 +75368,9 @@ paths: application/json: schema: type: array - items: *466 + items: *467 examples: - default: *467 + default: *468 headers: Link: *37 '304': *35 @@ -75228,7 +75470,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75468,7 +75710,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *468 + auto_merge: *469 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -75570,7 +75812,7 @@ paths: - merged_by - review_comments examples: - default: &472 + default: &473 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76127,9 +76369,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &474 + default: &475 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76214,9 +76456,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76315,9 +76557,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76520,7 +76762,7 @@ paths: parameters: - *241 - *242 - - &473 + - &474 name: pull_number description: The number that identifies the pull request. in: path @@ -76533,9 +76775,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '304': *35 '404': *6 '406': @@ -76572,7 +76814,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -76614,9 +76856,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '422': *15 '403': *27 x-github: @@ -76640,7 +76882,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -76743,7 +76985,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -76764,9 +77006,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *474 + default: *475 headers: Link: *37 x-github: @@ -76801,7 +77043,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -76907,7 +77149,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: example-for-a-multi-line-comment: value: @@ -76997,7 +77239,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *71 requestBody: required: true @@ -77020,7 +77262,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -77108,7 +77350,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -77120,7 +77362,7 @@ paths: type: array items: *366 examples: - default: *475 + default: *476 headers: Link: *37 x-github: @@ -77152,7 +77394,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -77202,7 +77444,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 responses: '204': description: Response if pull request has been merged @@ -77227,7 +77469,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -77341,7 +77583,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 responses: '200': description: Response @@ -77418,7 +77660,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -77455,7 +77697,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -77993,7 +78235,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -78027,7 +78269,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -78534,7 +78776,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -78544,7 +78786,7 @@ paths: application/json: schema: type: array - items: &476 + items: &477 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -78702,7 +78944,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -78792,9 +79034,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &478 + default: &479 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78859,8 +79101,8 @@ paths: parameters: - *241 - *242 - - *473 - - &477 + - *474 + - &478 name: review_id description: The unique identifier of the review. in: path @@ -78872,9 +79114,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &479 + default: &480 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78935,8 +79177,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -78959,7 +79201,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -79023,16 +79265,16 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '422': *7 '404': *6 x-github: @@ -79061,8 +79303,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 - *17 - *18 responses: @@ -79315,8 +79557,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -79345,7 +79587,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -79410,8 +79652,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -79446,9 +79688,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *479 + default: *480 '404': *6 '422': *7 '403': *27 @@ -79472,7 +79714,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -79550,9 +79792,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: &481 + default: &482 value: type: file encoding: base64 @@ -79615,9 +79857,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *481 + default: *482 '404': *6 '422': *15 x-github: @@ -79650,7 +79892,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Release description: A release. type: object @@ -79722,7 +79964,7 @@ paths: author: *4 assets: type: array - items: &483 + items: &484 title: Release Asset description: Data related to a release. type: object @@ -79979,9 +80221,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80086,7 +80328,7 @@ paths: parameters: - *241 - *242 - - &484 + - &485 name: asset_id description: The unique identifier of the asset. in: path @@ -80098,9 +80340,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &485 + default: &486 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 @@ -80152,7 +80394,7 @@ paths: parameters: - *241 - *242 - - *484 + - *485 requestBody: required: false content: @@ -80181,9 +80423,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80201,7 +80443,7 @@ paths: parameters: - *241 - *242 - - *484 + - *485 responses: '204': description: Response @@ -80319,9 +80561,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80352,9 +80594,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -80378,7 +80620,7 @@ paths: parameters: - *241 - *242 - - &487 + - &488 name: release_id description: The unique identifier of the release. in: path @@ -80392,9 +80634,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: *482 + schema: *483 examples: - default: *486 + default: *487 '401': description: Unauthorized x-github: @@ -80414,7 +80656,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 requestBody: required: false content: @@ -80478,9 +80720,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 '404': description: Not Found if the discussion category name is invalid content: @@ -80503,7 +80745,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 responses: '204': description: Response @@ -80525,7 +80767,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - *17 - *18 responses: @@ -80535,7 +80777,7 @@ paths: application/json: schema: type: array - items: *483 + items: *484 examples: default: value: @@ -80617,7 +80859,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - name: name in: query required: true @@ -80643,7 +80885,7 @@ paths: description: Response for successful upload content: application/json: - schema: *483 + schema: *484 examples: response-for-successful-upload: value: @@ -80699,7 +80941,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - 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. @@ -80748,7 +80990,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 requestBody: required: true content: @@ -80811,7 +81053,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - *237 responses: '204': @@ -80854,8 +81096,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *488 - - &490 + - *489 + - &491 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80875,53 +81117,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *489 - *490 - - allOf: - *491 - - *490 - allOf: - *492 - - *490 + - *491 - allOf: - *493 - - *490 + - *491 - allOf: - *494 - - *490 + - *491 - allOf: - *495 - - *490 + - *491 - allOf: - *496 - - *490 + - *491 - allOf: - *497 - - *490 + - *491 - allOf: - *498 - - *490 + - *491 - allOf: - *499 - - *490 + - *491 - allOf: - *500 - - *490 + - *491 - allOf: - *501 - - *490 + - *491 - allOf: - *502 - - *490 + - *491 - allOf: - *503 - - *490 + - *491 - allOf: - *504 - - *490 + - *491 - allOf: - *505 - - *490 + - *491 + - allOf: + - *506 + - *491 examples: default: value: @@ -80972,7 +81214,7 @@ paths: schema: type: boolean default: true - - *506 + - *507 responses: '200': description: Response @@ -81090,7 +81332,7 @@ paths: application/json: schema: *214 examples: - default: &516 + default: &517 value: id: 42 name: super cool ruleset @@ -81139,10 +81381,10 @@ paths: parameters: - *241 - *242 - - *507 - *508 - *509 - *510 + - *511 - *17 - *18 responses: @@ -81150,9 +81392,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '500': *39 x-github: @@ -81175,15 +81417,15 @@ paths: parameters: - *241 - *242 - - *513 + - *514 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 '500': *39 x-github: @@ -81234,7 +81476,7 @@ paths: application/json: schema: *214 examples: - default: *516 + default: *517 '404': *6 '500': *39 put: @@ -81317,7 +81559,7 @@ paths: application/json: schema: *214 examples: - default: *516 + default: *517 '404': *6 '500': *39 delete: @@ -81373,8 +81615,8 @@ paths: - *40 - *18 - *17 - - *517 - *518 + - *519 - *220 - *221 - *222 @@ -81385,7 +81627,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 type: object properties: number: *46 @@ -81401,8 +81643,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *519 - resolution: *520 + state: *520 + resolution: *521 resolved_at: type: - string @@ -81615,7 +81857,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -81676,8 +81918,8 @@ paths: schema: type: object properties: - state: *519 - resolution: *520 + state: *520 + resolution: *521 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81696,7 +81938,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -81783,7 +82025,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &650 + items: &651 type: object properties: type: @@ -82171,14 +82413,14 @@ paths: schema: type: object properties: - reason: &523 + reason: &524 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *522 + placeholder_id: *523 required: - reason - placeholder_id @@ -82195,7 +82437,7 @@ paths: schema: type: object properties: - reason: *523 + reason: *524 expire_at: type: - string @@ -82255,7 +82497,7 @@ paths: properties: incremental_scans: type: array - items: &524 + items: &525 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82280,15 +82522,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *524 + items: *525 backfill_scans: type: array - items: *524 + items: *525 custom_pattern_backfill_scans: type: array items: allOf: - - *524 + - *525 - type: object properties: pattern_name: @@ -82403,9 +82645,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *526 + default: *527 '400': *14 '404': *6 x-github: @@ -82599,9 +82841,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &528 + default: &529 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -82948,7 +83190,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -83097,15 +83339,15 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *528 + default: *529 '403': *27 '404': *6 x-github: @@ -83131,7 +83373,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 requestBody: required: true content: @@ -83302,10 +83544,10 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *528 - add_credit: *528 + default: *529 + add_credit: *529 '403': *27 '404': *6 '422': @@ -83345,7 +83587,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '202': *94 '400': *14 @@ -83374,7 +83616,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '202': description: Response @@ -83515,7 +83757,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83888,7 +84130,7 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: default: value: @@ -83978,7 +84220,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -84072,7 +84314,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &531 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84172,7 +84414,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -84312,7 +84554,7 @@ paths: application/json: schema: type: array - items: &532 + items: &533 title: Tag protection description: Tag protection type: object @@ -84393,7 +84635,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -84541,7 +84783,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84553,7 +84795,7 @@ paths: required: - names examples: - default: &534 + default: &535 value: names: - octocat @@ -84608,9 +84850,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *6 '422': *7 x-github: @@ -84633,7 +84875,7 @@ paths: parameters: - *241 - *242 - - &535 + - &536 name: per description: The time frame to display results for. in: query @@ -84664,7 +84906,7 @@ paths: - 128 clones: type: array - items: &536 + items: &537 title: Traffic type: object properties: @@ -84912,7 +85154,7 @@ paths: parameters: - *241 - *242 - - *535 + - *536 responses: '200': description: Response @@ -84933,7 +85175,7 @@ paths: - 3782 views: type: array - items: *536 + items: *537 required: - uniques - count @@ -85703,7 +85945,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &537 + text_matches: &538 title: Search Result Text Matches type: array items: @@ -85866,7 +86108,7 @@ paths: enum: - author-date - committer-date - - &538 + - &539 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 @@ -85986,7 +86228,7 @@ paths: type: number node_id: type: string - text_matches: *537 + text_matches: *538 required: - sha - node_id @@ -86178,7 +86420,7 @@ paths: - interactions - created - updated - - *538 + - *539 - *17 - *18 responses: @@ -86267,6 +86509,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -86294,7 +86550,7 @@ paths: - string - 'null' format: date-time - text_matches: *537 + text_matches: *538 pull_request: type: object properties: @@ -86516,7 +86772,7 @@ paths: enum: - created - updated - - *538 + - *539 - *17 - *18 responses: @@ -86561,7 +86817,7 @@ paths: - 'null' score: type: number - text_matches: *537 + text_matches: *538 required: - id - node_id @@ -86646,7 +86902,7 @@ paths: - forks - help-wanted-issues - updated - - *538 + - *539 - *17 - *18 responses: @@ -86883,7 +87139,7 @@ paths: - admin - pull - push - text_matches: *537 + text_matches: *538 temp_clone_token: type: string allow_merge_commit: @@ -87191,7 +87447,7 @@ paths: - string - 'null' format: uri - text_matches: *537 + text_matches: *538 related: type: - array @@ -87384,7 +87640,7 @@ paths: - followers - repositories - joined - - *538 + - *539 - *17 - *18 responses: @@ -87494,7 +87750,7 @@ paths: type: - boolean - 'null' - text_matches: *537 + text_matches: *538 blog: type: - string @@ -87576,7 +87832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &539 + - &540 name: team_id description: The unique identifier of the team. in: path @@ -87617,7 +87873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *539 + - *540 requestBody: required: true content: @@ -87718,7 +87974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *539 + - *540 responses: '204': description: Response @@ -87749,7 +88005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *539 + - *540 - *40 - *17 - *18 @@ -87762,7 +88018,7 @@ paths: type: array items: *228 examples: - default: *540 + default: *541 headers: Link: *37 x-github: @@ -87791,7 +88047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *539 + - *540 requestBody: required: true content: @@ -87854,7 +88110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *539 + - *540 - *230 responses: '200': @@ -87888,7 +88144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *539 + - *540 - *230 requestBody: required: false @@ -87914,7 +88170,7 @@ paths: application/json: schema: *228 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87939,7 +88195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *539 + - *540 - *230 responses: '204': @@ -87969,7 +88225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *539 + - *540 - *230 - *40 - *17 @@ -87983,7 +88239,7 @@ paths: type: array items: *231 examples: - default: *542 + default: *543 headers: Link: *37 x-github: @@ -88012,7 +88268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 requestBody: required: true @@ -88064,7 +88320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 responses: @@ -88099,7 +88355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 requestBody: @@ -88125,7 +88381,7 @@ paths: application/json: schema: *231 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88150,7 +88406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 responses: @@ -88181,7 +88437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 - name: content @@ -88240,7 +88496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 requestBody: @@ -88302,7 +88558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *539 + - *540 - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -88360,7 +88616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *539 + - *540 - *230 requestBody: required: true @@ -88419,7 +88675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88457,7 +88713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *539 + - *540 - name: role description: Filters members returned by their role in the team. in: query @@ -88508,7 +88764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88545,7 +88801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88585,7 +88841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88622,7 +88878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 responses: '200': @@ -88631,7 +88887,7 @@ paths: application/json: schema: *238 examples: - response-if-user-is-a-team-maintainer: *544 + response-if-user-is-a-team-maintainer: *545 '404': *6 x-github: githubCloudOnly: false @@ -88664,7 +88920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 requestBody: required: false @@ -88692,7 +88948,7 @@ paths: application/json: schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: *545 + response-if-users-membership-with-team-is-now-pending: *546 '403': description: Forbidden if team synchronization is set up '422': @@ -88726,7 +88982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88756,7 +89012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88768,7 +89024,7 @@ paths: type: array items: *239 examples: - default: *546 + default: *547 headers: Link: *37 '404': *6 @@ -88795,7 +89051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *539 + - *540 - *240 responses: '200': @@ -88804,7 +89060,7 @@ paths: application/json: schema: *239 examples: - default: *547 + default: *548 '404': description: Not Found if project is not managed by this team x-github: @@ -88829,7 +89085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *539 + - *540 - *240 requestBody: required: false @@ -88898,7 +89154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *539 + - *540 - *240 responses: '204': @@ -88926,7 +89182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88968,7 +89224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *539 + - *540 - *241 - *242 responses: @@ -88976,7 +89232,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *548 + schema: *549 examples: alternative-response-with-extra-repository-information: value: @@ -89127,7 +89383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *539 + - *540 - *241 - *242 requestBody: @@ -89179,7 +89435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *539 + - *540 - *241 - *242 responses: @@ -89206,7 +89462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -89218,7 +89474,7 @@ paths: type: array items: *172 examples: - response-if-child-teams-exist: *549 + response-if-child-teams-exist: *550 headers: Link: *37 '404': *6 @@ -89251,7 +89507,7 @@ paths: application/json: schema: oneOf: - - &551 + - &552 title: Private User description: Private User type: object @@ -89501,7 +89757,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *550 + - *551 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89661,7 +89917,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: default: value: @@ -90059,7 +90315,7 @@ paths: type: integer secrets: type: array - items: &552 + items: &553 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90179,7 +90435,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -90325,7 +90581,7 @@ paths: type: array items: *108 examples: - default: *553 + default: *554 '401': *23 '403': *27 '404': *6 @@ -90592,7 +90848,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &555 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90645,7 +90901,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &555 + default: &556 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90690,9 +90946,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: - default: *555 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -90731,7 +90987,7 @@ paths: type: array items: *358 examples: - default: *556 + default: *557 '304': *35 '500': *39 '401': *23 @@ -91697,7 +91953,7 @@ paths: type: array items: *188 examples: - default: &569 + default: &570 value: - id: 197 name: hello_docker @@ -91798,7 +92054,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Email description: Email type: object @@ -91868,9 +92124,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: &571 + default: &572 value: - email: octocat@github.com verified: true @@ -91947,7 +92203,7 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: default: value: @@ -92205,7 +92461,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 title: GPG Key description: A unique encryption key type: object @@ -92350,7 +92606,7 @@ paths: - subkeys - revoked examples: - default: &582 + default: &583 value: - id: 3 name: Octocat's GPG Key @@ -92435,9 +92691,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: &559 + default: &560 value: id: 3 name: Octocat's GPG Key @@ -92494,7 +92750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &560 + - &561 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92506,9 +92762,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '404': *6 '304': *35 '403': *27 @@ -92531,7 +92787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *560 + - *561 responses: '204': description: Response @@ -92722,7 +92978,7 @@ paths: type: array items: *57 examples: - default: *561 + default: *562 headers: Link: *37 '404': *6 @@ -92986,7 +93242,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Key description: Key type: object @@ -93084,9 +93340,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: &563 + default: &564 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93119,15 +93375,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *452 + - *453 responses: '200': description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '404': *6 '304': *35 '403': *27 @@ -93150,7 +93406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *452 + - *453 responses: '204': description: Response @@ -93183,7 +93439,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93262,7 +93518,7 @@ paths: - account - plan examples: - default: &565 + default: &566 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93324,9 +93580,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *565 + default: *566 headers: Link: *37 '304': *35 @@ -94330,7 +94586,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *182 - - *566 + - *567 responses: '204': description: Response @@ -94403,7 +94659,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *37 '304': *35 @@ -94445,7 +94701,7 @@ paths: - docker - nuget - container - - *568 + - *569 - *18 - *17 responses: @@ -94457,8 +94713,8 @@ paths: type: array items: *188 examples: - default: *569 - '400': *570 + default: *570 + '400': *571 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94487,7 +94743,7 @@ paths: application/json: schema: *188 examples: - default: &583 + default: &584 value: id: 40201 name: octo-name @@ -94939,9 +95195,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: *571 + default: *572 headers: Link: *37 '304': *35 @@ -95054,7 +95310,7 @@ paths: type: array items: *57 examples: - default: &578 + default: &579 summary: Default response value: - id: 1296269 @@ -95412,7 +95668,7 @@ paths: type: array items: *428 examples: - default: *572 + default: *573 headers: Link: *37 '304': *35 @@ -95491,7 +95747,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Social account description: Social media account type: object @@ -95508,7 +95764,7 @@ paths: - provider - url examples: - default: &574 + default: &575 value: - provider: twitter url: https://twitter.com/github @@ -95571,9 +95827,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *574 + default: *575 '422': *15 '304': *35 '404': *6 @@ -95661,7 +95917,7 @@ paths: application/json: schema: type: array - items: &575 + items: &576 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95681,7 +95937,7 @@ paths: - title - created_at examples: - default: &590 + default: &591 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95748,9 +96004,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: &576 + default: &577 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95781,7 +96037,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: - - &577 + - &578 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -95793,9 +96049,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *6 '304': *35 '403': *27 @@ -95818,7 +96074,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: - - *577 + - *578 responses: '204': description: Response @@ -95847,7 +96103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &591 + - &592 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 @@ -95872,11 +96128,11 @@ paths: type: array items: *57 examples: - default-response: *578 + default-response: *579 application/vnd.github.v3.star+json: schema: type: array - items: &592 + items: &593 title: Starred Repository description: Starred Repository type: object @@ -96243,10 +96499,10 @@ paths: application/json: schema: oneOf: + - *552 - *551 - - *550 examples: - default-response: &580 + default-response: &581 summary: Default response value: login: octocat @@ -96281,7 +96537,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &581 + response-with-git-hub-plan-information: &582 summary: Response with GitHub plan information value: login: octocat @@ -96341,7 +96597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *579 + - *580 - *17 responses: '200': @@ -96388,11 +96644,11 @@ paths: application/json: schema: oneOf: + - *552 - *551 - - *550 examples: - default-response: *580 - response-with-git-hub-plan-information: *581 + default-response: *581 + response-with-git-hub-plan-information: *582 '404': *6 x-github: githubCloudOnly: false @@ -96556,7 +96812,7 @@ paths: type: array items: *188 examples: - default: *569 + default: *570 '403': *27 '401': *23 x-github: @@ -96960,9 +97216,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *582 + default: *583 headers: Link: *37 x-github: @@ -97144,7 +97400,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *37 x-github: @@ -97183,7 +97439,7 @@ paths: - docker - nuget - container - - *568 + - *569 - *121 - *18 - *17 @@ -97196,10 +97452,10 @@ paths: type: array items: *188 examples: - default: *569 + default: *570 '403': *27 '401': *23 - '400': *570 + '400': *571 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97229,7 +97485,7 @@ paths: application/json: schema: *188 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97822,9 +98078,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97852,9 +98108,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97882,9 +98138,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97912,9 +98168,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *574 + default: *575 headers: Link: *37 x-github: @@ -97944,9 +98200,9 @@ paths: application/json: schema: type: array - items: *575 + items: *576 examples: - default: *590 + default: *591 headers: Link: *37 x-github: @@ -97971,7 +98227,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *591 + - *592 - *40 - *17 - *18 @@ -97983,11 +98239,11 @@ paths: schema: anyOf: - type: array - items: *592 + items: *593 - type: array items: *57 examples: - default-response: *578 + default-response: *579 headers: Link: *37 x-github: @@ -98147,7 +98403,7 @@ webhooks: type: string enum: - disabled - enterprise: &593 + enterprise: &594 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98216,7 +98472,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &594 + installation: &595 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98237,7 +98493,7 @@ webhooks: required: - id - node_id - organization: &595 + organization: &596 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98310,7 +98566,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &596 + repository: &597 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -99223,10 +99479,10 @@ webhooks: type: string enum: - enabled - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -99302,11 +99558,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: &597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: &598 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) @@ -99529,11 +99785,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: *597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: *598 sender: *4 required: - action @@ -99721,11 +99977,11 @@ webhooks: - everyone required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: *597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: *598 sender: *4 required: - action @@ -99809,7 +100065,7 @@ webhooks: type: string enum: - completed - check_run: &599 + check_run: &600 title: CheckRun description: A check performed on the code of a given code change type: object @@ -99922,7 +100178,7 @@ webhooks: - examples: - neutral - deployment: *598 + deployment: *599 details_url: type: string examples: @@ -100020,9 +100276,9 @@ webhooks: - output - app - pull_requests - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -100415,10 +100671,10 @@ webhooks: type: string enum: - created - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -100814,10 +101070,10 @@ webhooks: type: string enum: - requested_action - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 requested_action: description: The action requested by the user. type: object @@ -101222,10 +101478,10 @@ webhooks: type: string enum: - rerequested - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -102217,10 +102473,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -102905,10 +103161,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -103587,10 +103843,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -103897,20 +104153,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &600 + commit_oid: &601 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: *593 - installation: *594 - organization: *595 - ref: &601 + enterprise: *594 + installation: *595 + organization: *596 + ref: &602 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: *596 + repository: *597 sender: *4 required: - action @@ -104238,12 +104494,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -104516,12 +104772,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -104853,12 +105109,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -105127,9 +105383,9 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -105137,7 +105393,7 @@ webhooks: type: - string - 'null' - repository: *596 + repository: *597 sender: *4 required: - action @@ -105369,12 +105625,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -105636,10 +105892,10 @@ webhooks: - updated_at - author_association - body - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -105720,18 +105976,18 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *595 - pusher_type: &602 + organization: *596 + pusher_type: &603 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &603 + ref: &604 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -105741,7 +105997,7 @@ webhooks: enum: - tag - branch - repository: *596 + repository: *597 sender: *4 required: - ref @@ -105824,9 +106080,9 @@ webhooks: enum: - created definition: *202 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -105911,9 +106167,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -105991,9 +106247,9 @@ webhooks: enum: - updated definition: *202 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -106070,10 +106326,10 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - repository: *596 - organization: *595 + enterprise: *594 + installation: *595 + repository: *597 + organization: *596 sender: *4 new_property_values: type: array @@ -106158,18 +106414,18 @@ webhooks: title: delete event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - pusher_type: *602 - ref: *603 + enterprise: *594 + installation: *595 + organization: *596 + pusher_type: *603 + ref: *604 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *596 + repository: *597 sender: *4 required: - ref @@ -106254,10 +106510,10 @@ webhooks: enum: - auto_dismissed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106342,10 +106598,10 @@ webhooks: enum: - auto_reopened alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106430,10 +106686,10 @@ webhooks: enum: - created alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106516,10 +106772,10 @@ webhooks: enum: - dismissed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106602,10 +106858,10 @@ webhooks: enum: - fixed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106689,10 +106945,10 @@ webhooks: enum: - reintroduced alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106775,10 +107031,10 @@ webhooks: enum: - reopened alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106855,9 +107111,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - key: &604 + enterprise: *594 + installation: *595 + key: &605 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -106895,8 +107151,8 @@ webhooks: - verified - created_at - read_only - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -106973,11 +107229,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - key: *604 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + key: *605 + organization: *596 + repository: *597 sender: *4 required: - action @@ -107549,12 +107805,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: &608 + workflow: &609 title: Workflow type: - object @@ -108295,10 +108551,10 @@ webhooks: deployment: *390 pull_requests: type: array - items: *471 - repository: *596 - organization: *595 - installation: *594 + items: *472 + repository: *597 + organization: *596 + installation: *595 sender: *4 responses: '200': @@ -108369,7 +108625,7 @@ webhooks: type: string enum: - approved - approver: &605 + approver: &606 type: object properties: avatar_url: @@ -108412,11 +108668,11 @@ webhooks: type: string comment: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - reviewers: &606 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + reviewers: &607 type: array items: type: object @@ -108497,7 +108753,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &607 + workflow_job_run: &608 type: object properties: conclusion: @@ -109243,18 +109499,18 @@ webhooks: type: string enum: - rejected - approver: *605 + approver: *606 comment: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - reviewers: *606 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + reviewers: *607 sender: *4 since: type: string - workflow_job_run: *607 + workflow_job_run: *608 workflow_job_runs: type: array items: @@ -109971,13 +110227,13 @@ webhooks: type: string enum: - requested - enterprise: *593 + enterprise: *594 environment: type: string - installation: *594 - organization: *595 - repository: *596 - requestor: &613 + installation: *595 + organization: *596 + repository: *597 + requestor: &614 title: User type: - object @@ -111920,12 +112176,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Deployment Workflow Run type: @@ -112616,7 +112872,7 @@ webhooks: type: string enum: - answered - answer: &611 + answer: &612 type: object properties: author_association: @@ -112776,7 +113032,7 @@ webhooks: - created_at - updated_at - body - discussion: &609 + discussion: &610 title: Discussion description: A Discussion in a repository. type: object @@ -113094,10 +113350,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113224,11 +113480,11 @@ webhooks: - from required: - category - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113311,11 +113567,11 @@ webhooks: type: string enum: - closed - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113397,7 +113653,7 @@ webhooks: type: string enum: - created - comment: &610 + comment: &611 type: object properties: author_association: @@ -113557,11 +113813,11 @@ webhooks: - updated_at - body - reactions - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113644,12 +113900,12 @@ webhooks: type: string enum: - deleted - comment: *610 - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + comment: *611 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113744,12 +114000,12 @@ webhooks: - from required: - body - comment: *610 - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + comment: *611 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113833,11 +114089,11 @@ webhooks: type: string enum: - created - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113919,11 +114175,11 @@ webhooks: type: string enum: - deleted - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114023,11 +114279,11 @@ webhooks: type: string required: - from - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114109,10 +114365,10 @@ webhooks: type: string enum: - labeled - discussion: *609 - enterprise: *593 - installation: *594 - label: &612 + discussion: *610 + enterprise: *594 + installation: *595 + label: &613 title: Label type: object properties: @@ -114145,8 +114401,8 @@ webhooks: - color - default - description - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114229,11 +114485,11 @@ webhooks: type: string enum: - locked - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114315,11 +114571,11 @@ webhooks: type: string enum: - pinned - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114401,11 +114657,11 @@ webhooks: type: string enum: - reopened - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114490,16 +114746,16 @@ webhooks: changes: type: object properties: - new_discussion: *609 - new_repository: *596 + new_discussion: *610 + new_repository: *597 required: - new_discussion - new_repository - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114582,10 +114838,10 @@ webhooks: type: string enum: - unanswered - discussion: *609 - old_answer: *611 - organization: *595 - repository: *596 + discussion: *610 + old_answer: *612 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114667,12 +114923,12 @@ webhooks: type: string enum: - unlabeled - discussion: *609 - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114755,11 +115011,11 @@ webhooks: type: string enum: - unlocked - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114841,11 +115097,11 @@ webhooks: type: string enum: - unpinned - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114918,7 +115174,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *593 + enterprise: *594 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115596,9 +115852,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - forkee @@ -115744,9 +116000,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pages: description: The pages that were updated. type: array @@ -115784,7 +116040,7 @@ webhooks: - action - sha - html_url - repository: *596 + repository: *597 sender: *4 required: - pages @@ -115860,10 +116116,10 @@ webhooks: type: string enum: - created - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: &614 + organization: *596 + repositories: &615 description: An array of repository objects that the installation can access. type: array @@ -115889,8 +116145,8 @@ webhooks: - name - full_name - private - repository: *596 - requester: *613 + repository: *597 + requester: *614 sender: *4 required: - action @@ -115965,11 +116221,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116046,11 +116302,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116127,10 +116383,10 @@ webhooks: type: string enum: - added - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories_added: &615 + organization: *596 + repositories_added: &616 description: An array of repository objects, which were added to the installation. type: array @@ -116176,15 +116432,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *596 - repository_selection: &616 + repository: *597 + repository_selection: &617 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *613 + requester: *614 sender: *4 required: - action @@ -116263,10 +116519,10 @@ webhooks: type: string enum: - removed - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories_added: *615 + organization: *596 + repositories_added: *616 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116293,9 +116549,9 @@ webhooks: - name - full_name - private - repository: *596 - repository_selection: *616 - requester: *613 + repository: *597 + repository_selection: *617 + requester: *614 sender: *4 required: - action @@ -116374,11 +116630,11 @@ webhooks: type: string enum: - suspend - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116560,10 +116816,10 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 target_type: type: string @@ -116642,11 +116898,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116894,8 +117150,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117712,6 +117968,20 @@ 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 @@ -118071,8 +118341,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -118152,7 +118422,7 @@ webhooks: type: string enum: - deleted - comment: &617 + comment: &618 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118319,8 +118589,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119133,6 +119403,20 @@ 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 @@ -119494,8 +119778,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -119575,7 +119859,7 @@ webhooks: type: string enum: - edited - changes: &642 + changes: &643 description: The changes to the comment. type: object properties: @@ -119587,9 +119871,9 @@ webhooks: type: string required: - from - comment: *617 - enterprise: *593 - installation: *594 + comment: *618 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120405,6 +120689,20 @@ 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 @@ -120764,8 +121062,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -120847,10 +121145,10 @@ webhooks: type: string enum: - assigned - assignee: *613 - enterprise: *593 - installation: *594 - issue: &620 + assignee: *614 + enterprise: *594 + installation: *595 + issue: &621 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121662,6 +121960,20 @@ 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 @@ -121780,8 +122092,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -121861,8 +122173,8 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122679,6 +122991,20 @@ 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 @@ -122940,8 +123266,8 @@ webhooks: required: - state - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -123020,8 +123346,8 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123827,6 +124153,20 @@ 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 @@ -123944,8 +124284,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -124024,8 +124364,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124856,6 +125196,20 @@ 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 @@ -124952,7 +125306,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &618 + milestone: &619 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125095,8 +125449,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -125195,8 +125549,8 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126008,6 +126362,20 @@ 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 @@ -126126,9 +126494,9 @@ webhooks: - active_lock_reason - body - reactions - label: *612 - organization: *595 - repository: *596 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -126208,8 +126576,8 @@ webhooks: type: string enum: - labeled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127020,6 +127388,20 @@ 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 @@ -127138,9 +127520,9 @@ webhooks: - active_lock_reason - body - reactions - label: *612 - organization: *595 - repository: *596 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -127220,8 +127602,8 @@ webhooks: type: string enum: - locked - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128057,6 +128439,20 @@ 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 @@ -128152,8 +128548,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -128232,8 +128628,8 @@ webhooks: type: string enum: - milestoned - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129063,6 +129459,20 @@ 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 @@ -129158,9 +129568,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *618 - organization: *595 - repository: *596 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -130052,6 +130462,20 @@ 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 @@ -130646,8 +131070,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131459,6 +131883,20 @@ 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 @@ -131576,8 +132014,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -131657,9 +132095,9 @@ webhooks: type: string enum: - pinned - enterprise: *593 - installation: *594 - issue: &619 + enterprise: *594 + installation: *595 + issue: &620 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132465,6 +132903,20 @@ 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 @@ -132582,8 +133034,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -132662,8 +133114,8 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133497,6 +133949,20 @@ 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 @@ -133593,8 +134059,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -134483,6 +134949,20 @@ 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 @@ -135080,11 +135560,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *593 - installation: *594 - issue: *619 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *620 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135165,7 +135645,7 @@ webhooks: type: string enum: - unassigned - assignee: &645 + assignee: &646 title: User type: - object @@ -135237,11 +135717,11 @@ webhooks: required: - login - id - enterprise: *593 - installation: *594 - issue: *620 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *621 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135320,12 +135800,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *593 - installation: *594 - issue: *620 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *621 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135405,8 +135885,8 @@ webhooks: type: string enum: - unlocked - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136240,6 +136720,20 @@ 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 @@ -136335,8 +136829,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136416,11 +136910,11 @@ webhooks: type: string enum: - unpinned - enterprise: *593 - installation: *594 - issue: *619 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *620 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136499,11 +136993,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136581,11 +137075,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136695,11 +137189,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136781,9 +137275,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: &621 + enterprise: *594 + installation: *595 + marketplace_purchase: &622 title: Marketplace Purchase type: object required: @@ -136871,8 +137365,8 @@ webhooks: type: integer unit_count: type: integer - organization: *595 - previous_marketplace_purchase: &622 + organization: *596 + previous_marketplace_purchase: &623 title: Marketplace Purchase type: object properties: @@ -136956,7 +137450,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137036,10 +137530,10 @@ webhooks: - changed effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137127,7 +137621,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137209,10 +137703,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137298,7 +137792,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137379,8 +137873,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 marketplace_purchase: title: Marketplace Purchase type: object @@ -137466,9 +137960,9 @@ webhooks: type: integer unit_count: type: integer - organization: *595 - previous_marketplace_purchase: *622 - repository: *596 + organization: *596 + previous_marketplace_purchase: *623 + repository: *597 sender: *4 required: - action @@ -137548,12 +138042,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 - previous_marketplace_purchase: *622 - repository: *596 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 + previous_marketplace_purchase: *623 + repository: *597 sender: *4 required: - action @@ -137655,11 +138149,11 @@ webhooks: type: string required: - to - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137761,11 +138255,11 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137844,11 +138338,11 @@ webhooks: type: string enum: - removed - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137926,11 +138420,11 @@ webhooks: type: string enum: - added - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138008,7 +138502,7 @@ webhooks: required: - login - id - team: &623 + team: &624 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138201,11 +138695,11 @@ webhooks: type: string enum: - removed - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138284,7 +138778,7 @@ webhooks: required: - login - id - team: *623 + team: *624 required: - action - scope @@ -138366,8 +138860,8 @@ webhooks: type: string enum: - checks_requested - installation: *594 - merge_group: &624 + installation: *595 + merge_group: &625 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138393,8 +138887,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138480,10 +138974,10 @@ webhooks: - merged - invalidated - dequeued - installation: *594 - merge_group: *624 - organization: *595 - repository: *596 + installation: *595 + merge_group: *625 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138556,7 +139050,7 @@ webhooks: type: string enum: - deleted - enterprise: *593 + enterprise: *594 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138664,12 +139158,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *594 - organization: *595 + installation: *595 + organization: *596 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -138749,11 +139243,11 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138832,9 +139326,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - milestone: &625 + enterprise: *594 + installation: *595 + milestone: &626 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138976,8 +139470,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139056,11 +139550,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139170,11 +139664,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139254,11 +139748,11 @@ webhooks: type: string enum: - opened - enterprise: *593 - installation: *594 - milestone: *625 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *626 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139337,11 +139831,11 @@ webhooks: type: string enum: - blocked - blocked_user: *613 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + blocked_user: *614 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139420,11 +139914,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *613 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + blocked_user: *614 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139503,9 +139997,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - membership: &626 + enterprise: *594 + installation: *595 + membership: &627 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -139599,8 +140093,8 @@ webhooks: - role - organization_url - user - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139678,11 +140172,11 @@ webhooks: type: string enum: - member_added - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139761,8 +140255,8 @@ webhooks: type: string enum: - member_invited - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139884,10 +140378,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 - user: *613 + user: *614 required: - action - invitation @@ -139965,11 +140459,11 @@ webhooks: type: string enum: - member_removed - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -140056,11 +140550,11 @@ webhooks: properties: from: type: string - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -140136,9 +140630,9 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 package: description: Information about the package. type: object @@ -140661,7 +141155,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &627 + items: &628 title: Ruby Gems metadata type: object properties: @@ -140758,7 +141252,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -140834,9 +141328,9 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 package: description: Information about the package. type: object @@ -141198,7 +141692,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *627 + items: *628 source_url: type: string format: uri @@ -141269,7 +141763,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -141450,12 +141944,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *593 + enterprise: *594 id: type: integer - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - id @@ -141535,7 +142029,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &628 + personal_access_token_request: &629 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141685,10 +142179,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *593 - organization: *595 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141767,11 +142261,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *628 - enterprise: *593 - organization: *595 + personal_access_token_request: *629 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141849,11 +142343,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *628 - enterprise: *593 - organization: *595 + personal_access_token_request: *629 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141930,11 +142424,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *628 - organization: *595 - enterprise: *593 + personal_access_token_request: *629 + organization: *596 + enterprise: *594 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -142038,7 +142532,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *629 + last_response: *630 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142070,8 +142564,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 zen: description: Random string of GitHub zen. @@ -142316,10 +142810,10 @@ webhooks: - from required: - note - enterprise: *593 - installation: *594 - organization: *595 - project_card: &630 + enterprise: *594 + installation: *595 + organization: *596 + project_card: &631 title: Project Card type: object properties: @@ -142442,7 +142936,7 @@ webhooks: - creator - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -142523,11 +143017,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project_card: *630 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_card: *631 + repository: *597 sender: *4 required: - action @@ -142607,9 +143101,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 project_card: title: Project Card type: object @@ -142739,7 +143233,7 @@ webhooks: repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -142833,11 +143327,11 @@ webhooks: - from required: - note - enterprise: *593 - installation: *594 - organization: *595 - project_card: *630 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_card: *631 + repository: *597 sender: *4 required: - action @@ -142931,9 +143425,9 @@ webhooks: - from required: - column_id - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 project_card: allOf: - title: Project Card @@ -143130,7 +143624,7 @@ webhooks: type: string required: - after_id - repository: *596 + repository: *597 sender: *4 required: - action @@ -143210,10 +143704,10 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - organization: *595 - project: &632 + enterprise: *594 + installation: *595 + organization: *596 + project: &633 title: Project type: object properties: @@ -143340,7 +143834,7 @@ webhooks: - creator - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -143420,10 +143914,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project_column: &631 + enterprise: *594 + installation: *595 + organization: *596 + project_column: &632 title: Project Column type: object properties: @@ -143463,7 +143957,7 @@ webhooks: - name - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -143542,14 +144036,14 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -143638,11 +144132,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 + repository: *597 sender: *4 required: - action @@ -143722,11 +144216,11 @@ webhooks: type: string enum: - moved - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 + repository: *597 sender: *4 required: - action @@ -143806,11 +144300,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -143890,14 +144384,14 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - project: *632 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -143998,11 +144492,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -144081,11 +144575,11 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -144166,9 +144660,9 @@ webhooks: type: string enum: - closed - installation: *594 - organization: *595 - projects_v2: &633 + installation: *595 + organization: *596 + projects_v2: &634 title: Projects v2 Project description: A projects v2 project type: object @@ -144316,9 +144810,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144399,9 +144893,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144522,9 +145016,9 @@ webhooks: type: string to: type: string - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144607,7 +145101,7 @@ webhooks: type: string enum: - archived - changes: &637 + changes: &638 type: object properties: archived_at: @@ -144623,9 +145117,9 @@ webhooks: - string - 'null' format: date-time - installation: *594 - organization: *595 - projects_v2_item: &634 + installation: *595 + organization: *596 + projects_v2_item: &635 title: Projects v2 Item description: An item belonging to a project type: object @@ -144764,9 +145258,9 @@ webhooks: - 'null' to: type: string - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -144848,9 +145342,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -144931,9 +145425,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145038,7 +145532,7 @@ webhooks: oneOf: - type: string - type: integer - - &635 + - &636 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145058,7 +145552,7 @@ webhooks: required: - id - name - - &636 + - &637 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145087,8 +145581,8 @@ webhooks: oneOf: - type: string - type: integer - - *635 - *636 + - *637 type: - 'null' - string @@ -145111,9 +145605,9 @@ webhooks: - 'null' required: - body - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145210,9 +145704,9 @@ webhooks: type: - string - 'null' - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145295,10 +145789,10 @@ webhooks: type: string enum: - restored - changes: *637 - installation: *594 - organization: *595 - projects_v2_item: *634 + changes: *638 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145380,9 +145874,9 @@ webhooks: type: string enum: - reopened - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -145463,9 +145957,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2_status_update: &638 + installation: *595 + organization: *596 + projects_v2_status_update: &639 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -145600,9 +146094,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2_status_update: *638 + installation: *595 + organization: *596 + projects_v2_status_update: *639 sender: *4 required: - action @@ -145748,9 +146242,9 @@ webhooks: - string - 'null' format: date - installation: *594 - organization: *595 - projects_v2_status_update: *638 + installation: *595 + organization: *596 + projects_v2_status_update: *639 sender: *4 required: - action @@ -145821,10 +146315,10 @@ webhooks: title: public event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - repository @@ -145901,13 +146395,13 @@ webhooks: type: string enum: - assigned - assignee: *613 - enterprise: *593 - installation: *594 - number: &639 + assignee: *614 + enterprise: *594 + installation: *595 + number: &640 description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -148256,7 +148750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -148338,11 +148832,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -150684,7 +151178,7 @@ webhooks: - draft reason: type: string - repository: *596 + repository: *597 sender: *4 required: - action @@ -150766,11 +151260,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -153112,7 +153606,7 @@ webhooks: - draft reason: type: string - repository: *596 + repository: *597 sender: *4 required: - action @@ -153194,13 +153688,13 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: &640 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: &641 allOf: - - *471 + - *472 - type: object properties: allow_auto_merge: @@ -153262,7 +153756,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *596 + repository: *597 sender: *4 required: - action @@ -153343,12 +153837,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -153428,11 +153922,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *593 + enterprise: *594 milestone: *370 - number: *639 - organization: *595 - pull_request: &641 + number: *640 + organization: *596 + pull_request: &642 title: Pull Request type: object properties: @@ -155759,7 +156253,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -155838,11 +156332,11 @@ webhooks: type: string enum: - dequeued - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -158188,7 +158682,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *596 + repository: *597 sender: *4 required: - action @@ -158312,12 +158806,12 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -158397,11 +158891,11 @@ webhooks: type: string enum: - enqueued - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -160732,7 +161226,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -160812,11 +161306,11 @@ webhooks: type: string enum: - labeled - enterprise: *593 - installation: *594 - label: *612 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + label: *613 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -163164,7 +163658,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -163245,10 +163739,10 @@ webhooks: type: string enum: - locked - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -165594,7 +166088,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -165674,12 +166168,12 @@ webhooks: type: string enum: - milestoned - enterprise: *593 + enterprise: *594 milestone: *370 - number: *639 - organization: *595 - pull_request: *641 - repository: *596 + number: *640 + organization: *596 + pull_request: *642 + repository: *597 sender: *4 required: - action @@ -165758,12 +166252,12 @@ webhooks: type: string enum: - opened - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -165844,12 +166338,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -165929,12 +166423,12 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -166309,9 +166803,9 @@ webhooks: - start_side - side - reactions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -168541,7 +169035,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -168621,7 +169115,7 @@ webhooks: type: string enum: - deleted - comment: &643 + comment: &644 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -168914,9 +169408,9 @@ webhooks: - start_side - side - reactions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -171134,7 +171628,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -171214,11 +171708,11 @@ webhooks: type: string enum: - edited - changes: *642 - comment: *643 - enterprise: *593 - installation: *594 - organization: *595 + changes: *643 + comment: *644 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -173439,7 +173933,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -173520,9 +174014,9 @@ webhooks: type: string enum: - dismissed - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -175755,7 +176249,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 review: description: The review that was affected. type: object @@ -176001,9 +176495,9 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -178117,8 +178611,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 - review: &644 + repository: *597 + review: &645 description: The review that was affected. type: object properties: @@ -178351,12 +178845,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -180703,7 +181197,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_reviewer: title: User type: @@ -180789,12 +181283,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -183148,7 +183642,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183343,12 +183837,12 @@ webhooks: type: string enum: - review_requested - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -185697,7 +186191,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_reviewer: title: User type: @@ -185784,12 +186278,12 @@ webhooks: type: string enum: - review_requested - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -188129,7 +188623,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188313,9 +188807,9 @@ webhooks: type: string enum: - submitted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -190551,8 +191045,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 - review: *644 + repository: *597 + review: *645 sender: *4 required: - action @@ -190632,9 +191126,9 @@ webhooks: type: string enum: - resolved - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -192765,7 +193259,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 sender: *4 thread: type: object @@ -193157,9 +193651,9 @@ webhooks: type: string enum: - unresolved - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -195273,7 +195767,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 sender: *4 thread: type: object @@ -195667,10 +196161,10 @@ webhooks: type: string before: type: string - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -198005,7 +198499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -198087,11 +198581,11 @@ webhooks: type: string enum: - unassigned - assignee: *645 - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + assignee: *646 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -200441,7 +200935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -200520,11 +201014,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *593 - installation: *594 - label: *612 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + label: *613 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -202863,7 +203357,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -202944,10 +203438,10 @@ webhooks: type: string enum: - unlocked - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -205276,7 +205770,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -205479,7 +205973,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *593 + enterprise: *594 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205574,8 +206068,8 @@ webhooks: - url - author - committer - installation: *594 - organization: *595 + installation: *595 + organization: *596 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206163,9 +206657,9 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 registry_package: type: object properties: @@ -206642,7 +207136,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *627 + items: *628 summary: type: string tag_name: @@ -206698,7 +207192,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -206776,9 +207270,9 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 registry_package: type: object properties: @@ -207090,7 +207584,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *627 + items: *628 summary: type: string tag_name: @@ -207140,7 +207634,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -207217,10 +207711,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - release: &646 + enterprise: *594 + installation: *595 + organization: *596 + release: &647 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207536,7 +208030,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *596 + repository: *597 sender: *4 required: - action @@ -207613,11 +208107,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -207725,11 +208219,11 @@ webhooks: type: boolean required: - to - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -207807,9 +208301,9 @@ webhooks: type: string enum: - prereleased - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208130,7 +208624,7 @@ webhooks: - string - 'null' format: uri - repository: *596 + repository: *597 sender: *4 required: - action @@ -208206,10 +208700,10 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - release: &647 + enterprise: *594 + installation: *595 + organization: *596 + release: &648 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208527,7 +209021,7 @@ webhooks: - string - 'null' format: uri - repository: *596 + repository: *597 sender: *4 required: - action @@ -208603,11 +209097,11 @@ webhooks: type: string enum: - released - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -208683,11 +209177,11 @@ webhooks: type: string enum: - unpublished - enterprise: *593 - installation: *594 - organization: *595 - release: *647 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *648 + repository: *597 sender: *4 required: - action @@ -208763,11 +209257,11 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - repository_advisory: *525 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + repository_advisory: *526 sender: *4 required: - action @@ -208843,11 +209337,11 @@ webhooks: type: string enum: - reported - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - repository_advisory: *525 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + repository_advisory: *526 sender: *4 required: - action @@ -208923,10 +209417,10 @@ webhooks: type: string enum: - archived - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209003,10 +209497,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209084,10 +209578,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209172,10 +209666,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209290,10 +209784,10 @@ webhooks: - 'null' items: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209365,10 +209859,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 status: type: string @@ -209449,10 +209943,10 @@ webhooks: type: string enum: - privatized - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209529,10 +210023,10 @@ webhooks: type: string enum: - publicized - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209626,10 +210120,10 @@ webhooks: - name required: - repository - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209709,10 +210203,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 sender: *4 required: @@ -209791,10 +210285,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 sender: *4 required: @@ -209873,10 +210367,10 @@ webhooks: type: string enum: - edited - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 changes: type: object @@ -210184,10 +210678,10 @@ webhooks: - from required: - owner - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210265,10 +210759,10 @@ webhooks: type: string enum: - unarchived - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210346,7 +210840,7 @@ webhooks: type: string enum: - create - alert: &648 + alert: &649 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210470,10 +210964,10 @@ webhooks: type: string enum: - open - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210683,10 +211177,10 @@ webhooks: type: string enum: - dismissed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210764,11 +211258,11 @@ webhooks: type: string enum: - reopen - alert: *648 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *649 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210970,10 +211464,10 @@ webhooks: enum: - fixed - open - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211051,7 +211545,7 @@ webhooks: type: string enum: - created - alert: &649 + alert: &650 type: object properties: number: *46 @@ -211155,10 +211649,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211239,11 +211733,11 @@ webhooks: type: string enum: - created - alert: *649 - installation: *594 - location: *650 - organization: *595 - repository: *596 + alert: *650 + installation: *595 + location: *651 + organization: *596 + repository: *597 sender: *4 required: - location @@ -211481,11 +211975,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211563,11 +212057,11 @@ webhooks: type: string enum: - reopened - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211645,11 +212139,11 @@ webhooks: type: string enum: - resolved - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211727,11 +212221,11 @@ webhooks: type: string enum: - validated - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211807,11 +212301,11 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - security_advisory: &651 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + security_advisory: &652 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211997,11 +212491,11 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - security_advisory: *651 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + security_advisory: *652 sender: *4 required: - action @@ -212074,10 +212568,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212264,9 +212758,9 @@ webhooks: type: object properties: security_and_analysis: *207 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: *252 sender: *4 required: @@ -212345,12 +212839,12 @@ webhooks: type: string enum: - cancelled - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: &652 + sponsorship: &653 type: object properties: created_at: @@ -212655,12 +213149,12 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - sponsorship @@ -212748,12 +213242,12 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -212830,17 +213324,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &653 + effective_date: &654 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: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - sponsorship @@ -212914,7 +213408,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &654 + changes: &655 type: object properties: tier: @@ -212958,13 +213452,13 @@ webhooks: - from required: - tier - effective_date: *653 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + effective_date: *654 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -213041,13 +213535,13 @@ webhooks: type: string enum: - tier_changed - changes: *654 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + changes: *655 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -213121,10 +213615,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213208,10 +213702,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213644,15 +214138,15 @@ webhooks: type: - string - 'null' - enterprise: *593 + enterprise: *594 id: description: The unique identifier of the status. type: integer - installation: *594 + installation: *595 name: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 sha: description: The Commit SHA. @@ -213768,9 +214262,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -213860,9 +214354,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -213952,9 +214446,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -214044,9 +214538,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -214123,12 +214617,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - team: &655 + team: &656 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214321,9 +214815,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -214793,7 +215287,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -214869,9 +215363,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -215341,7 +215835,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -215418,9 +215912,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -215890,7 +216384,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -216034,9 +216528,9 @@ webhooks: - from required: - permissions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -216506,7 +217000,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - changes @@ -216584,9 +217078,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -217056,7 +217550,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -217132,10 +217626,10 @@ webhooks: type: string enum: - started - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -217208,17 +217702,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *593 + enterprise: *594 inputs: type: - object - 'null' additionalProperties: true - installation: *594 - organization: *595 + installation: *595 + organization: *596 ref: type: string - repository: *596 + repository: *597 sender: *4 workflow: type: string @@ -217300,10 +217794,10 @@ webhooks: type: string enum: - completed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: allOf: @@ -217638,10 +218132,10 @@ webhooks: type: string enum: - in_progress - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: allOf: @@ -218002,10 +218496,10 @@ webhooks: type: string enum: - queued - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: type: object @@ -218230,10 +218724,10 @@ webhooks: type: string enum: - waiting - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: type: object @@ -218460,12 +218954,12 @@ webhooks: type: string enum: - completed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object @@ -219484,12 +219978,12 @@ webhooks: type: string enum: - in_progress - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object @@ -220493,12 +220987,12 @@ webhooks: type: string enum: - requested - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index eadd1ea62..dafcbcf45 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -27080,6 +27080,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": [ @@ -44971,6 +44991,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": [ @@ -51563,6 +51603,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": [ @@ -90915,6 +90975,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": [ @@ -102521,6 +102601,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": [ @@ -302391,6 +302491,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": [ @@ -325236,6 +325356,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": [ @@ -328304,6 +328444,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": [ @@ -335360,6 +335520,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": [ @@ -339928,6 +340108,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": [ @@ -344293,6 +344493,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": [ @@ -347343,6 +347563,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": [ @@ -350404,6 +350644,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": [ @@ -353262,6 +353522,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": [ @@ -367939,610 +368219,12644 @@ } } } - } - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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" + } + } + } + } + } }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] + "message": { + "type": "string" }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -368554,8 +380868,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -368571,128 +380885,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } }, @@ -380902,6 +393130,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": [ @@ -494739,6 +506987,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" }, @@ -546703,6 +558971,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": [ @@ -580867,6 +593155,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": [ @@ -584438,6 +596746,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": [ @@ -588011,6 +600339,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": [ @@ -598907,6 +611255,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": [ @@ -602480,6 +614848,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": [ @@ -794328,6 +806716,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", @@ -798457,6 +810865,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", @@ -802610,6 +815038,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", @@ -806287,6 +818735,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", @@ -809517,6 +821985,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", @@ -812952,6 +825440,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", @@ -816194,6 +828702,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", @@ -819617,6 +832145,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", @@ -822883,6 +835431,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", @@ -826177,6 +838745,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", @@ -829395,6 +841983,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", @@ -832675,6 +845283,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", @@ -834667,6 +847295,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", @@ -837885,6 +850533,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", @@ -841130,6 +853798,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", @@ -844214,6 +856902,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", @@ -846203,6 +858911,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", @@ -849529,6 +862257,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", @@ -852754,6 +865502,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", @@ -856046,6 +868814,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", @@ -859241,6 +872029,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", @@ -1269131,6 +1281939,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": [ @@ -1272684,6 +1285512,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": [ @@ -1277191,6 +1290039,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": [ @@ -1280744,6 +1293612,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": [ @@ -1285251,6 +1298139,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": [ @@ -1288804,6 +1301712,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": [ @@ -1293311,6 +1306239,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": [ @@ -1296864,6 +1309812,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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index c558ae40b..87915e1ec 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &527 + - &528 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9620,14 +9620,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &519 + state: &520 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: &520 + resolution: &521 type: - string - 'null' @@ -10615,6 +10615,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: - assignee - closed_at @@ -11210,7 +11224,7 @@ paths: url: type: string format: uri - user: &550 + user: &551 title: Public User description: Public User type: object @@ -14647,7 +14661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &457 + - &458 name: all description: If `true`, show notifications marked as read. in: query @@ -14655,7 +14669,7 @@ paths: schema: type: boolean default: false - - &458 + - &459 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14665,7 +14679,7 @@ paths: type: boolean default: false - *62 - - &459 + - &460 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: @@ -15183,7 +15197,7 @@ paths: - url - subscription_url examples: - default: &460 + default: &461 value: - id: '1' repository: @@ -15734,7 +15748,7 @@ paths: type: array items: *88 examples: - default: &567 + default: &568 value: - login: github id: 1 @@ -16970,7 +16984,7 @@ paths: type: array items: *57 examples: - default: &561 + default: &562 value: total_count: 1 repositories: @@ -17787,7 +17801,7 @@ paths: type: array items: *108 examples: - default: &553 + default: &554 value: total_count: 1 repositories: @@ -28185,7 +28199,7 @@ paths: parameters: - *89 - *182 - - &566 + - &567 name: repo_name description: repo_name parameter in: path @@ -29222,7 +29236,7 @@ paths: - nuget - container - *89 - - &568 + - &569 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29263,7 +29277,7 @@ paths: default: *189 '403': *27 '401': *23 - '400': &570 + '400': &571 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32662,7 +32676,7 @@ paths: - *89 - *17 - *18 - - &506 + - &507 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32945,7 +32959,7 @@ paths: type: object description: A repository rule. oneOf: - - &488 + - &489 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32957,7 +32971,7 @@ paths: type: string enum: - creation - - &489 + - &490 title: update description: Only allow users with bypass permission to update matching refs. @@ -32978,7 +32992,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &491 + - &492 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32990,7 +33004,7 @@ paths: type: string enum: - deletion - - &492 + - &493 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33002,7 +33016,7 @@ paths: type: string enum: - required_linear_history - - &493 + - &494 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33080,7 +33094,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &494 + - &495 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33104,7 +33118,7 @@ paths: type: string required: - required_deployment_environments - - &495 + - &496 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33116,7 +33130,7 @@ paths: type: string enum: - required_signatures - - &496 + - &497 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33162,7 +33176,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &497 + - &498 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33210,7 +33224,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &498 + - &499 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33222,7 +33236,7 @@ paths: type: string enum: - non_fast_forward - - &499 + - &500 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33258,7 +33272,7 @@ paths: required: - operator - pattern - - &500 + - &501 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33294,7 +33308,7 @@ paths: required: - operator - pattern - - &501 + - &502 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33330,7 +33344,7 @@ paths: required: - operator - pattern - - &502 + - &503 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33366,7 +33380,7 @@ paths: required: - operator - pattern - - &503 + - &504 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33492,7 +33506,7 @@ paths: maximum: 100 required: - max_file_size - - &504 + - &505 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33542,7 +33556,7 @@ paths: - repository_id required: - workflows - - &505 + - &506 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -33779,7 +33793,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &507 + - &508 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 @@ -33794,7 +33808,7 @@ paths: in: query schema: type: string - - &508 + - &509 name: time_period description: |- The time period to filter by. @@ -33810,14 +33824,14 @@ paths: - week - month default: day - - &509 + - &510 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 - - &510 + - &511 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33837,7 +33851,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Rule Suites description: Response type: array @@ -33893,7 +33907,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &512 + default: &513 value: - id: 21 actor_id: 12 @@ -33937,7 +33951,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &513 + - &514 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33953,7 +33967,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &515 title: Rule Suite description: Response type: object @@ -34060,7 +34074,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &515 + default: &516 value: id: 21 actor_id: 12 @@ -34278,7 +34292,7 @@ paths: - *40 - *18 - *17 - - &517 + - &518 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 @@ -34288,7 +34302,7 @@ paths: required: false schema: type: string - - &518 + - &519 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 @@ -34380,7 +34394,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 description: A repository security advisory. type: object properties: @@ -34699,7 +34713,7 @@ paths: - private_fork additionalProperties: false examples: - default: &526 + default: &527 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35173,7 +35187,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &585 type: object properties: total_minutes_used: @@ -35243,7 +35257,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &585 + default: &586 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35279,7 +35293,7 @@ paths: description: Response content: application/json: - schema: &586 + schema: &587 type: object properties: total_gigabytes_bandwidth_used: @@ -35297,7 +35311,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &587 + default: &588 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35329,7 +35343,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &589 type: object properties: days_left_in_billing_cycle: @@ -35347,7 +35361,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &589 + default: &590 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36351,7 +36365,7 @@ paths: - updated_at - url examples: - default: &540 + default: &541 value: - author: login: octocat @@ -36599,7 +36613,7 @@ paths: application/json: schema: *228 examples: - default: &541 + default: &542 value: author: login: octocat @@ -36790,7 +36804,7 @@ paths: - updated_at - url examples: - default: &542 + default: &543 value: - author: login: octocat @@ -37016,7 +37030,7 @@ paths: application/json: schema: *231 examples: - default: &543 + default: &544 value: author: login: octocat @@ -37634,7 +37648,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &544 + response-if-user-is-a-team-maintainer: &545 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -37699,7 +37713,7 @@ paths: application/json: schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: &545 + response-if-users-membership-with-team-is-now-pending: &546 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -37842,7 +37856,7 @@ paths: - updated_at - permissions examples: - default: &546 + default: &547 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37919,7 +37933,7 @@ paths: application/json: schema: *239 examples: - default: &547 + default: &548 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -38123,7 +38137,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &548 + schema: &549 title: Team Repository description: A team's access to a repository. type: object @@ -38852,7 +38866,7 @@ paths: type: array items: *172 examples: - response-if-child-teams-exist: &549 + response-if-child-teams-exist: &550 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50818,7 +50832,7 @@ paths: check. type: array items: *320 - deployment: &598 + deployment: &599 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55744,7 +55758,7 @@ paths: type: array items: *358 examples: - default: &556 + default: &557 value: total_count: 2 machines: @@ -57299,7 +57313,7 @@ paths: type: array items: *366 examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57587,7 +57601,7 @@ paths: application/json: schema: type: array - items: &466 + items: &467 title: Pull Request Simple description: Pull Request Simple type: object @@ -57832,7 +57846,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &468 + auto_merge: &469 title: Auto merge description: The status of auto merging a pull request. type: @@ -57897,7 +57911,7 @@ paths: - author_association - auto_merge examples: - default: &467 + default: &468 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58454,7 +58468,7 @@ paths: application/json: schema: *366 examples: - default: &454 + default: &455 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59075,7 +59089,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Status description: The status of a commit. type: object @@ -60031,7 +60045,7 @@ paths: - size - type - url - - &480 + - &481 title: Content File description: Content File type: object @@ -60668,7 +60682,7 @@ paths: items: type: object properties: - placeholder_id: &522 + placeholder_id: &523 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66549,7 +66563,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &629 + last_response: &630 title: Hook Response type: object properties: @@ -67521,7 +67535,7 @@ paths: parameters: - *241 - *242 - - &579 + - &580 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67955,7 +67969,7 @@ paths: type: array items: *428 examples: - default: &572 + default: &573 value: - id: 1 repository: @@ -68347,7 +68361,7 @@ paths: type: array items: *72 examples: - default: + default: &437 value: - id: 1 node_id: MDU6SXNzdWUx @@ -70168,7 +70182,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &437 + - &438 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70217,7 +70231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &438 + - &439 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70345,7 +70359,7 @@ paths: - performed_via_github_app - assignee - assigner - - &439 + - &440 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70391,7 +70405,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &440 + - &441 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70437,7 +70451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &441 + - &442 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70486,7 +70500,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &443 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70528,7 +70542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &443 + - &444 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70570,7 +70584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &445 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70626,7 +70640,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &446 title: Locked Issue Event description: Locked Issue Event type: object @@ -70671,7 +70685,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &447 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70732,7 +70746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &448 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -70793,7 +70807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &449 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70854,7 +70868,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &450 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -71512,6 +71526,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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *14 + '404': *6 + 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: + - *241 + - *242 + - *433 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *72 + examples: + default: *437 + headers: + Link: *37 + '404': *6 + '410': *250 + 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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *27 + '410': *250 + '422': *15 + '404': *6 + 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: + - *241 + - *242 + - *433 + 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: *72 + examples: + default: *432 + '403': *27 + '404': *6 + '422': *7 + '503': *60 + 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 @@ -71540,7 +71782,6 @@ paths: description: Timeline Event type: object anyOf: - - *437 - *438 - *439 - *440 @@ -71553,6 +71794,7 @@ paths: - *447 - *448 - *449 + - *450 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -71875,7 +72117,7 @@ paths: type: string comments: type: array - items: &469 + items: &470 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72416,7 +72658,7 @@ paths: application/json: schema: type: array - items: &450 + items: &451 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72520,9 +72762,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: &451 + default: &452 value: id: 1 key: ssh-rsa AAA... @@ -72558,7 +72800,7 @@ paths: parameters: - *241 - *242 - - &452 + - &453 name: key_id description: The unique identifier of the key. in: path @@ -72570,9 +72812,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *451 examples: - default: *451 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -72592,7 +72834,7 @@ paths: parameters: - *241 - *242 - - *452 + - *453 responses: '204': description: Response @@ -72685,7 +72927,7 @@ paths: application/json: schema: *435 examples: - default: &453 + default: &454 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72731,7 +72973,7 @@ paths: application/json: schema: *435 examples: - default: *453 + default: *454 '404': *6 x-github: githubCloudOnly: false @@ -73133,7 +73375,7 @@ paths: application/json: schema: *366 examples: - default: *454 + default: *455 '204': description: Response when already merged '404': @@ -73299,7 +73541,7 @@ paths: application/json: schema: *370 examples: - default: &455 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73360,7 +73602,7 @@ paths: parameters: - *241 - *242 - - &456 + - &457 name: milestone_number description: The number that identifies the milestone. in: path @@ -73374,7 +73616,7 @@ paths: application/json: schema: *370 examples: - default: *455 + default: *456 '404': *6 x-github: githubCloudOnly: false @@ -73393,7 +73635,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 requestBody: required: false content: @@ -73433,7 +73675,7 @@ paths: application/json: schema: *370 examples: - default: *455 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73451,7 +73693,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 responses: '204': description: Response @@ -73474,7 +73716,7 @@ paths: parameters: - *241 - *242 - - *456 + - *457 - *17 - *18 responses: @@ -73507,10 +73749,10 @@ paths: parameters: - *241 - *242 - - *457 - *458 - - *62 - *459 + - *62 + - *460 - *17 - *18 responses: @@ -73522,7 +73764,7 @@ paths: type: array items: *84 examples: - default: *460 + default: *461 headers: Link: *37 x-github: @@ -73612,7 +73854,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -73756,7 +73998,7 @@ paths: - custom_404 - public examples: - default: &462 + default: &463 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -73853,9 +74095,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *462 + default: *463 '422': *15 '409': *128 x-github: @@ -74017,7 +74259,7 @@ paths: application/json: schema: type: array - items: &463 + items: &464 title: Page Build description: Page Build type: object @@ -74164,9 +74406,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: &464 + default: &465 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74226,9 +74468,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74360,7 +74602,7 @@ paths: parameters: - *241 - *242 - - &465 + - &466 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74420,7 +74662,7 @@ paths: parameters: - *241 - *242 - - *465 + - *466 responses: '204': *131 '404': *6 @@ -75126,9 +75368,9 @@ paths: application/json: schema: type: array - items: *466 + items: *467 examples: - default: *467 + default: *468 headers: Link: *37 '304': *35 @@ -75228,7 +75470,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75468,7 +75710,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *468 + auto_merge: *469 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -75570,7 +75812,7 @@ paths: - merged_by - review_comments examples: - default: &472 + default: &473 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76127,9 +76369,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: &474 + default: &475 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76214,9 +76456,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76315,9 +76557,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76520,7 +76762,7 @@ paths: parameters: - *241 - *242 - - &473 + - &474 name: pull_number description: The number that identifies the pull request. in: path @@ -76533,9 +76775,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '304': *35 '404': *6 '406': @@ -76572,7 +76814,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -76614,9 +76856,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '422': *15 '403': *27 x-github: @@ -76640,7 +76882,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -76743,7 +76985,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -76764,9 +77006,9 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: - default: *474 + default: *475 headers: Link: *37 x-github: @@ -76801,7 +77043,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -76907,7 +77149,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: example-for-a-multi-line-comment: value: @@ -76997,7 +77239,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *71 requestBody: required: true @@ -77020,7 +77262,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -77108,7 +77350,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -77120,7 +77362,7 @@ paths: type: array items: *366 examples: - default: *475 + default: *476 headers: Link: *37 x-github: @@ -77152,7 +77394,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -77202,7 +77444,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 responses: '204': description: Response if pull request has been merged @@ -77227,7 +77469,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -77341,7 +77583,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 responses: '200': description: Response @@ -77418,7 +77660,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -77455,7 +77697,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -77993,7 +78235,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: true content: @@ -78027,7 +78269,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *467 examples: default: value: @@ -78534,7 +78776,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 - *17 - *18 responses: @@ -78544,7 +78786,7 @@ paths: application/json: schema: type: array - items: &476 + items: &477 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -78702,7 +78944,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -78792,9 +79034,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &478 + default: &479 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78859,8 +79101,8 @@ paths: parameters: - *241 - *242 - - *473 - - &477 + - *474 + - &478 name: review_id description: The unique identifier of the review. in: path @@ -78872,9 +79114,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: &479 + default: &480 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78935,8 +79177,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -78959,7 +79201,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -79023,16 +79265,16 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *478 + default: *479 '422': *7 '404': *6 x-github: @@ -79061,8 +79303,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 - *17 - *18 responses: @@ -79315,8 +79557,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -79345,7 +79587,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -79410,8 +79652,8 @@ paths: parameters: - *241 - *242 - - *473 - - *477 + - *474 + - *478 requestBody: required: true content: @@ -79446,9 +79688,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: - default: *479 + default: *480 '404': *6 '422': *7 '403': *27 @@ -79472,7 +79714,7 @@ paths: parameters: - *241 - *242 - - *473 + - *474 requestBody: required: false content: @@ -79550,9 +79792,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: &481 + default: &482 value: type: file encoding: base64 @@ -79615,9 +79857,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *481 examples: - default: *481 + default: *482 '404': *6 '422': *15 x-github: @@ -79650,7 +79892,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Release description: A release. type: object @@ -79722,7 +79964,7 @@ paths: author: *4 assets: type: array - items: &483 + items: &484 title: Release Asset description: Data related to a release. type: object @@ -79979,9 +80221,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80086,7 +80328,7 @@ paths: parameters: - *241 - *242 - - &484 + - &485 name: asset_id description: The unique identifier of the asset. in: path @@ -80098,9 +80340,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &485 + default: &486 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 @@ -80152,7 +80394,7 @@ paths: parameters: - *241 - *242 - - *484 + - *485 requestBody: required: false content: @@ -80181,9 +80423,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80201,7 +80443,7 @@ paths: parameters: - *241 - *242 - - *484 + - *485 responses: '204': description: Response @@ -80319,9 +80561,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80352,9 +80594,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -80378,7 +80620,7 @@ paths: parameters: - *241 - *242 - - &487 + - &488 name: release_id description: The unique identifier of the release. in: path @@ -80392,9 +80634,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: *482 + schema: *483 examples: - default: *486 + default: *487 '401': description: Unauthorized x-github: @@ -80414,7 +80656,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 requestBody: required: false content: @@ -80478,9 +80720,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: - default: *486 + default: *487 '404': description: Not Found if the discussion category name is invalid content: @@ -80503,7 +80745,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 responses: '204': description: Response @@ -80525,7 +80767,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - *17 - *18 responses: @@ -80535,7 +80777,7 @@ paths: application/json: schema: type: array - items: *483 + items: *484 examples: default: value: @@ -80617,7 +80859,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - name: name in: query required: true @@ -80643,7 +80885,7 @@ paths: description: Response for successful upload content: application/json: - schema: *483 + schema: *484 examples: response-for-successful-upload: value: @@ -80699,7 +80941,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - 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. @@ -80748,7 +80990,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 requestBody: required: true content: @@ -80811,7 +81053,7 @@ paths: parameters: - *241 - *242 - - *487 + - *488 - *237 responses: '204': @@ -80854,8 +81096,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *488 - - &490 + - *489 + - &491 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80875,53 +81117,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *489 - *490 - - allOf: - *491 - - *490 - allOf: - *492 - - *490 + - *491 - allOf: - *493 - - *490 + - *491 - allOf: - *494 - - *490 + - *491 - allOf: - *495 - - *490 + - *491 - allOf: - *496 - - *490 + - *491 - allOf: - *497 - - *490 + - *491 - allOf: - *498 - - *490 + - *491 - allOf: - *499 - - *490 + - *491 - allOf: - *500 - - *490 + - *491 - allOf: - *501 - - *490 + - *491 - allOf: - *502 - - *490 + - *491 - allOf: - *503 - - *490 + - *491 - allOf: - *504 - - *490 + - *491 - allOf: - *505 - - *490 + - *491 + - allOf: + - *506 + - *491 examples: default: value: @@ -80972,7 +81214,7 @@ paths: schema: type: boolean default: true - - *506 + - *507 responses: '200': description: Response @@ -81090,7 +81332,7 @@ paths: application/json: schema: *214 examples: - default: &516 + default: &517 value: id: 42 name: super cool ruleset @@ -81139,10 +81381,10 @@ paths: parameters: - *241 - *242 - - *507 - *508 - *509 - *510 + - *511 - *17 - *18 responses: @@ -81150,9 +81392,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '500': *39 x-github: @@ -81175,15 +81417,15 @@ paths: parameters: - *241 - *242 - - *513 + - *514 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 '500': *39 x-github: @@ -81234,7 +81476,7 @@ paths: application/json: schema: *214 examples: - default: *516 + default: *517 '404': *6 '500': *39 put: @@ -81317,7 +81559,7 @@ paths: application/json: schema: *214 examples: - default: *516 + default: *517 '404': *6 '500': *39 delete: @@ -81373,8 +81615,8 @@ paths: - *40 - *18 - *17 - - *517 - *518 + - *519 - *220 - *221 - *222 @@ -81385,7 +81627,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 type: object properties: number: *46 @@ -81401,8 +81643,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *519 - resolution: *520 + state: *520 + resolution: *521 resolved_at: type: - string @@ -81615,7 +81857,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -81676,8 +81918,8 @@ paths: schema: type: object properties: - state: *519 - resolution: *520 + state: *520 + resolution: *521 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81696,7 +81938,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -81783,7 +82025,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &650 + items: &651 type: object properties: type: @@ -82171,14 +82413,14 @@ paths: schema: type: object properties: - reason: &523 + reason: &524 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *522 + placeholder_id: *523 required: - reason - placeholder_id @@ -82195,7 +82437,7 @@ paths: schema: type: object properties: - reason: *523 + reason: *524 expire_at: type: - string @@ -82255,7 +82497,7 @@ paths: properties: incremental_scans: type: array - items: &524 + items: &525 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82280,15 +82522,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *524 + items: *525 backfill_scans: type: array - items: *524 + items: *525 custom_pattern_backfill_scans: type: array items: allOf: - - *524 + - *525 - type: object properties: pattern_name: @@ -82403,9 +82645,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *526 + default: *527 '400': *14 '404': *6 x-github: @@ -82599,9 +82841,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &528 + default: &529 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -82948,7 +83190,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -83097,15 +83339,15 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *528 + default: *529 '403': *27 '404': *6 x-github: @@ -83131,7 +83373,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 requestBody: required: true content: @@ -83302,10 +83544,10 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *528 - add_credit: *528 + default: *529 + add_credit: *529 '403': *27 '404': *6 '422': @@ -83345,7 +83587,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '202': *94 '400': *14 @@ -83374,7 +83616,7 @@ paths: parameters: - *241 - *242 - - *527 + - *528 responses: '202': description: Response @@ -83515,7 +83757,7 @@ paths: application/json: schema: type: array - items: &529 + items: &530 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83888,7 +84130,7 @@ paths: application/json: schema: type: array - items: *529 + items: *530 examples: default: value: @@ -83978,7 +84220,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -84072,7 +84314,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &531 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84172,7 +84414,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -84312,7 +84554,7 @@ paths: application/json: schema: type: array - items: &532 + items: &533 title: Tag protection description: Tag protection type: object @@ -84393,7 +84635,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -84541,7 +84783,7 @@ paths: description: Response content: application/json: - schema: &533 + schema: &534 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84553,7 +84795,7 @@ paths: required: - names examples: - default: &534 + default: &535 value: names: - octocat @@ -84608,9 +84850,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '404': *6 '422': *7 x-github: @@ -84633,7 +84875,7 @@ paths: parameters: - *241 - *242 - - &535 + - &536 name: per description: The time frame to display results for. in: query @@ -84664,7 +84906,7 @@ paths: - 128 clones: type: array - items: &536 + items: &537 title: Traffic type: object properties: @@ -84912,7 +85154,7 @@ paths: parameters: - *241 - *242 - - *535 + - *536 responses: '200': description: Response @@ -84933,7 +85175,7 @@ paths: - 3782 views: type: array - items: *536 + items: *537 required: - uniques - count @@ -85703,7 +85945,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &537 + text_matches: &538 title: Search Result Text Matches type: array items: @@ -85866,7 +86108,7 @@ paths: enum: - author-date - committer-date - - &538 + - &539 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 @@ -85986,7 +86228,7 @@ paths: type: number node_id: type: string - text_matches: *537 + text_matches: *538 required: - sha - node_id @@ -86178,7 +86420,7 @@ paths: - interactions - created - updated - - *538 + - *539 - *17 - *18 responses: @@ -86267,6 +86509,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -86294,7 +86550,7 @@ paths: - string - 'null' format: date-time - text_matches: *537 + text_matches: *538 pull_request: type: object properties: @@ -86516,7 +86772,7 @@ paths: enum: - created - updated - - *538 + - *539 - *17 - *18 responses: @@ -86561,7 +86817,7 @@ paths: - 'null' score: type: number - text_matches: *537 + text_matches: *538 required: - id - node_id @@ -86646,7 +86902,7 @@ paths: - forks - help-wanted-issues - updated - - *538 + - *539 - *17 - *18 responses: @@ -86883,7 +87139,7 @@ paths: - admin - pull - push - text_matches: *537 + text_matches: *538 temp_clone_token: type: string allow_merge_commit: @@ -87191,7 +87447,7 @@ paths: - string - 'null' format: uri - text_matches: *537 + text_matches: *538 related: type: - array @@ -87384,7 +87640,7 @@ paths: - followers - repositories - joined - - *538 + - *539 - *17 - *18 responses: @@ -87494,7 +87750,7 @@ paths: type: - boolean - 'null' - text_matches: *537 + text_matches: *538 blog: type: - string @@ -87576,7 +87832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &539 + - &540 name: team_id description: The unique identifier of the team. in: path @@ -87617,7 +87873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *539 + - *540 requestBody: required: true content: @@ -87718,7 +87974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *539 + - *540 responses: '204': description: Response @@ -87749,7 +88005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *539 + - *540 - *40 - *17 - *18 @@ -87762,7 +88018,7 @@ paths: type: array items: *228 examples: - default: *540 + default: *541 headers: Link: *37 x-github: @@ -87791,7 +88047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *539 + - *540 requestBody: required: true content: @@ -87854,7 +88110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *539 + - *540 - *230 responses: '200': @@ -87888,7 +88144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *539 + - *540 - *230 requestBody: required: false @@ -87914,7 +88170,7 @@ paths: application/json: schema: *228 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87939,7 +88195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *539 + - *540 - *230 responses: '204': @@ -87969,7 +88225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *539 + - *540 - *230 - *40 - *17 @@ -87983,7 +88239,7 @@ paths: type: array items: *231 examples: - default: *542 + default: *543 headers: Link: *37 x-github: @@ -88012,7 +88268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 requestBody: required: true @@ -88064,7 +88320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 responses: @@ -88099,7 +88355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 requestBody: @@ -88125,7 +88381,7 @@ paths: application/json: schema: *231 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88150,7 +88406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 responses: @@ -88181,7 +88437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 - name: content @@ -88240,7 +88496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *539 + - *540 - *230 - *233 requestBody: @@ -88302,7 +88558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *539 + - *540 - *230 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -88360,7 +88616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *539 + - *540 - *230 requestBody: required: true @@ -88419,7 +88675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88457,7 +88713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *539 + - *540 - name: role description: Filters members returned by their role in the team. in: query @@ -88508,7 +88764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88545,7 +88801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88585,7 +88841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88622,7 +88878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 responses: '200': @@ -88631,7 +88887,7 @@ paths: application/json: schema: *238 examples: - response-if-user-is-a-team-maintainer: *544 + response-if-user-is-a-team-maintainer: *545 '404': *6 x-github: githubCloudOnly: false @@ -88664,7 +88920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 requestBody: required: false @@ -88692,7 +88948,7 @@ paths: application/json: schema: *238 examples: - response-if-users-membership-with-team-is-now-pending: *545 + response-if-users-membership-with-team-is-now-pending: *546 '403': description: Forbidden if team synchronization is set up '422': @@ -88726,7 +88982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *539 + - *540 - *121 responses: '204': @@ -88756,7 +89012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88768,7 +89024,7 @@ paths: type: array items: *239 examples: - default: *546 + default: *547 headers: Link: *37 '404': *6 @@ -88795,7 +89051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *539 + - *540 - *240 responses: '200': @@ -88804,7 +89060,7 @@ paths: application/json: schema: *239 examples: - default: *547 + default: *548 '404': description: Not Found if project is not managed by this team x-github: @@ -88829,7 +89085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *539 + - *540 - *240 requestBody: required: false @@ -88898,7 +89154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *539 + - *540 - *240 responses: '204': @@ -88926,7 +89182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -88968,7 +89224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *539 + - *540 - *241 - *242 responses: @@ -88976,7 +89232,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *548 + schema: *549 examples: alternative-response-with-extra-repository-information: value: @@ -89127,7 +89383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *539 + - *540 - *241 - *242 requestBody: @@ -89179,7 +89435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *539 + - *540 - *241 - *242 responses: @@ -89206,7 +89462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *539 + - *540 - *17 - *18 responses: @@ -89218,7 +89474,7 @@ paths: type: array items: *172 examples: - response-if-child-teams-exist: *549 + response-if-child-teams-exist: *550 headers: Link: *37 '404': *6 @@ -89251,7 +89507,7 @@ paths: application/json: schema: oneOf: - - &551 + - &552 title: Private User description: Private User type: object @@ -89501,7 +89757,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *550 + - *551 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89661,7 +89917,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: default: value: @@ -90059,7 +90315,7 @@ paths: type: integer secrets: type: array - items: &552 + items: &553 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90179,7 +90435,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -90325,7 +90581,7 @@ paths: type: array items: *108 examples: - default: *553 + default: *554 '401': *23 '403': *27 '404': *6 @@ -90592,7 +90848,7 @@ paths: description: Response content: application/json: - schema: &554 + schema: &555 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90645,7 +90901,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &555 + default: &556 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90690,9 +90946,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: - default: *555 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -90731,7 +90987,7 @@ paths: type: array items: *358 examples: - default: *556 + default: *557 '304': *35 '500': *39 '401': *23 @@ -91697,7 +91953,7 @@ paths: type: array items: *188 examples: - default: &569 + default: &570 value: - id: 197 name: hello_docker @@ -91798,7 +92054,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Email description: Email type: object @@ -91868,9 +92124,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: &571 + default: &572 value: - email: octocat@github.com verified: true @@ -91947,7 +92203,7 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: default: value: @@ -92205,7 +92461,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 title: GPG Key description: A unique encryption key type: object @@ -92350,7 +92606,7 @@ paths: - subkeys - revoked examples: - default: &582 + default: &583 value: - id: 3 name: Octocat's GPG Key @@ -92435,9 +92691,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: &559 + default: &560 value: id: 3 name: Octocat's GPG Key @@ -92494,7 +92750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &560 + - &561 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92506,9 +92762,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *559 + default: *560 '404': *6 '304': *35 '403': *27 @@ -92531,7 +92787,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *560 + - *561 responses: '204': description: Response @@ -92722,7 +92978,7 @@ paths: type: array items: *57 examples: - default: *561 + default: *562 headers: Link: *37 '404': *6 @@ -92986,7 +93242,7 @@ paths: application/json: schema: type: array - items: &562 + items: &563 title: Key description: Key type: object @@ -93084,9 +93340,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: &563 + default: &564 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93119,15 +93375,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *452 + - *453 responses: '200': description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '404': *6 '304': *35 '403': *27 @@ -93150,7 +93406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *452 + - *453 responses: '204': description: Response @@ -93183,7 +93439,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93262,7 +93518,7 @@ paths: - account - plan examples: - default: &565 + default: &566 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93324,9 +93580,9 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: - default: *565 + default: *566 headers: Link: *37 '304': *35 @@ -94330,7 +94586,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *182 - - *566 + - *567 responses: '204': description: Response @@ -94403,7 +94659,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *37 '304': *35 @@ -94445,7 +94701,7 @@ paths: - docker - nuget - container - - *568 + - *569 - *18 - *17 responses: @@ -94457,8 +94713,8 @@ paths: type: array items: *188 examples: - default: *569 - '400': *570 + default: *570 + '400': *571 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94487,7 +94743,7 @@ paths: application/json: schema: *188 examples: - default: &583 + default: &584 value: id: 40201 name: octo-name @@ -94939,9 +95195,9 @@ paths: application/json: schema: type: array - items: *557 + items: *558 examples: - default: *571 + default: *572 headers: Link: *37 '304': *35 @@ -95054,7 +95310,7 @@ paths: type: array items: *57 examples: - default: &578 + default: &579 summary: Default response value: - id: 1296269 @@ -95412,7 +95668,7 @@ paths: type: array items: *428 examples: - default: *572 + default: *573 headers: Link: *37 '304': *35 @@ -95491,7 +95747,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Social account description: Social media account type: object @@ -95508,7 +95764,7 @@ paths: - provider - url examples: - default: &574 + default: &575 value: - provider: twitter url: https://twitter.com/github @@ -95571,9 +95827,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *574 + default: *575 '422': *15 '304': *35 '404': *6 @@ -95661,7 +95917,7 @@ paths: application/json: schema: type: array - items: &575 + items: &576 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95681,7 +95937,7 @@ paths: - title - created_at examples: - default: &590 + default: &591 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95748,9 +96004,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: &576 + default: &577 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -95781,7 +96037,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: - - &577 + - &578 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -95793,9 +96049,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *6 '304': *35 '403': *27 @@ -95818,7 +96074,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: - - *577 + - *578 responses: '204': description: Response @@ -95847,7 +96103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &591 + - &592 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 @@ -95872,11 +96128,11 @@ paths: type: array items: *57 examples: - default-response: *578 + default-response: *579 application/vnd.github.v3.star+json: schema: type: array - items: &592 + items: &593 title: Starred Repository description: Starred Repository type: object @@ -96243,10 +96499,10 @@ paths: application/json: schema: oneOf: + - *552 - *551 - - *550 examples: - default-response: &580 + default-response: &581 summary: Default response value: login: octocat @@ -96281,7 +96537,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &581 + response-with-git-hub-plan-information: &582 summary: Response with GitHub plan information value: login: octocat @@ -96341,7 +96597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *579 + - *580 - *17 responses: '200': @@ -96388,11 +96644,11 @@ paths: application/json: schema: oneOf: + - *552 - *551 - - *550 examples: - default-response: *580 - response-with-git-hub-plan-information: *581 + default-response: *581 + response-with-git-hub-plan-information: *582 '404': *6 x-github: githubCloudOnly: false @@ -96556,7 +96812,7 @@ paths: type: array items: *188 examples: - default: *569 + default: *570 '403': *27 '401': *23 x-github: @@ -96960,9 +97216,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *582 + default: *583 headers: Link: *37 x-github: @@ -97144,7 +97400,7 @@ paths: type: array items: *88 examples: - default: *567 + default: *568 headers: Link: *37 x-github: @@ -97183,7 +97439,7 @@ paths: - docker - nuget - container - - *568 + - *569 - *121 - *18 - *17 @@ -97196,10 +97452,10 @@ paths: type: array items: *188 examples: - default: *569 + default: *570 '403': *27 '401': *23 - '400': *570 + '400': *571 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97229,7 +97485,7 @@ paths: application/json: schema: *188 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97822,9 +98078,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97852,9 +98108,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97882,9 +98138,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: - default: *589 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97912,9 +98168,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *574 + default: *575 headers: Link: *37 x-github: @@ -97944,9 +98200,9 @@ paths: application/json: schema: type: array - items: *575 + items: *576 examples: - default: *590 + default: *591 headers: Link: *37 x-github: @@ -97971,7 +98227,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *591 + - *592 - *40 - *17 - *18 @@ -97983,11 +98239,11 @@ paths: schema: anyOf: - type: array - items: *592 + items: *593 - type: array items: *57 examples: - default-response: *578 + default-response: *579 headers: Link: *37 x-github: @@ -98147,7 +98403,7 @@ webhooks: type: string enum: - disabled - enterprise: &593 + enterprise: &594 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98216,7 +98472,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &594 + installation: &595 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98237,7 +98493,7 @@ webhooks: required: - id - node_id - organization: &595 + organization: &596 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98310,7 +98566,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &596 + repository: &597 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -99223,10 +99479,10 @@ webhooks: type: string enum: - enabled - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -99302,11 +99558,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: &597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: &598 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) @@ -99529,11 +99785,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: *597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: *598 sender: *4 required: - action @@ -99721,11 +99977,11 @@ webhooks: - everyone required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - rule: *597 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + rule: *598 sender: *4 required: - action @@ -99809,7 +100065,7 @@ webhooks: type: string enum: - completed - check_run: &599 + check_run: &600 title: CheckRun description: A check performed on the code of a given code change type: object @@ -99922,7 +100178,7 @@ webhooks: - examples: - neutral - deployment: *598 + deployment: *599 details_url: type: string examples: @@ -100020,9 +100276,9 @@ webhooks: - output - app - pull_requests - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -100415,10 +100671,10 @@ webhooks: type: string enum: - created - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -100814,10 +101070,10 @@ webhooks: type: string enum: - requested_action - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 requested_action: description: The action requested by the user. type: object @@ -101222,10 +101478,10 @@ webhooks: type: string enum: - rerequested - check_run: *599 - installation: *594 - organization: *595 - repository: *596 + check_run: *600 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - check_run @@ -102217,10 +102473,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -102905,10 +103161,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -103587,10 +103843,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -103897,20 +104153,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &600 + commit_oid: &601 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: *593 - installation: *594 - organization: *595 - ref: &601 + enterprise: *594 + installation: *595 + organization: *596 + ref: &602 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: *596 + repository: *597 sender: *4 required: - action @@ -104238,12 +104494,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -104516,12 +104772,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -104853,12 +105109,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -105127,9 +105383,9 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -105137,7 +105393,7 @@ webhooks: type: - string - 'null' - repository: *596 + repository: *597 sender: *4 required: - action @@ -105369,12 +105625,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *600 - enterprise: *593 - installation: *594 - organization: *595 - ref: *601 - repository: *596 + commit_oid: *601 + enterprise: *594 + installation: *595 + organization: *596 + ref: *602 + repository: *597 sender: *4 required: - action @@ -105636,10 +105892,10 @@ webhooks: - updated_at - author_association - body - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -105720,18 +105976,18 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *595 - pusher_type: &602 + organization: *596 + pusher_type: &603 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &603 + ref: &604 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -105741,7 +105997,7 @@ webhooks: enum: - tag - branch - repository: *596 + repository: *597 sender: *4 required: - ref @@ -105824,9 +106080,9 @@ webhooks: enum: - created definition: *202 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -105911,9 +106167,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -105991,9 +106247,9 @@ webhooks: enum: - updated definition: *202 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 sender: *4 required: - action @@ -106070,10 +106326,10 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - repository: *596 - organization: *595 + enterprise: *594 + installation: *595 + repository: *597 + organization: *596 sender: *4 new_property_values: type: array @@ -106158,18 +106414,18 @@ webhooks: title: delete event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - pusher_type: *602 - ref: *603 + enterprise: *594 + installation: *595 + organization: *596 + pusher_type: *603 + ref: *604 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *596 + repository: *597 sender: *4 required: - ref @@ -106254,10 +106510,10 @@ webhooks: enum: - auto_dismissed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106342,10 +106598,10 @@ webhooks: enum: - auto_reopened alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106430,10 +106686,10 @@ webhooks: enum: - created alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106516,10 +106772,10 @@ webhooks: enum: - dismissed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106602,10 +106858,10 @@ webhooks: enum: - fixed alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106689,10 +106945,10 @@ webhooks: enum: - reintroduced alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106775,10 +107031,10 @@ webhooks: enum: - reopened alert: *384 - installation: *594 - organization: *595 - enterprise: *593 - repository: *596 + installation: *595 + organization: *596 + enterprise: *594 + repository: *597 sender: *4 required: - action @@ -106855,9 +107111,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - key: &604 + enterprise: *594 + installation: *595 + key: &605 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -106895,8 +107151,8 @@ webhooks: - verified - created_at - read_only - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -106973,11 +107229,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - key: *604 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + key: *605 + organization: *596 + repository: *597 sender: *4 required: - action @@ -107549,12 +107805,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: &608 + workflow: &609 title: Workflow type: - object @@ -108295,10 +108551,10 @@ webhooks: deployment: *390 pull_requests: type: array - items: *471 - repository: *596 - organization: *595 - installation: *594 + items: *472 + repository: *597 + organization: *596 + installation: *595 sender: *4 responses: '200': @@ -108369,7 +108625,7 @@ webhooks: type: string enum: - approved - approver: &605 + approver: &606 type: object properties: avatar_url: @@ -108412,11 +108668,11 @@ webhooks: type: string comment: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - reviewers: &606 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + reviewers: &607 type: array items: type: object @@ -108497,7 +108753,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &607 + workflow_job_run: &608 type: object properties: conclusion: @@ -109243,18 +109499,18 @@ webhooks: type: string enum: - rejected - approver: *605 + approver: *606 comment: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - reviewers: *606 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + reviewers: *607 sender: *4 since: type: string - workflow_job_run: *607 + workflow_job_run: *608 workflow_job_runs: type: array items: @@ -109971,13 +110227,13 @@ webhooks: type: string enum: - requested - enterprise: *593 + enterprise: *594 environment: type: string - installation: *594 - organization: *595 - repository: *596 - requestor: &613 + installation: *595 + organization: *596 + repository: *597 + requestor: &614 title: User type: - object @@ -111920,12 +112176,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Deployment Workflow Run type: @@ -112616,7 +112872,7 @@ webhooks: type: string enum: - answered - answer: &611 + answer: &612 type: object properties: author_association: @@ -112776,7 +113032,7 @@ webhooks: - created_at - updated_at - body - discussion: &609 + discussion: &610 title: Discussion description: A Discussion in a repository. type: object @@ -113094,10 +113350,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113224,11 +113480,11 @@ webhooks: - from required: - category - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113311,11 +113567,11 @@ webhooks: type: string enum: - closed - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113397,7 +113653,7 @@ webhooks: type: string enum: - created - comment: &610 + comment: &611 type: object properties: author_association: @@ -113557,11 +113813,11 @@ webhooks: - updated_at - body - reactions - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113644,12 +113900,12 @@ webhooks: type: string enum: - deleted - comment: *610 - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + comment: *611 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113744,12 +114000,12 @@ webhooks: - from required: - body - comment: *610 - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + comment: *611 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113833,11 +114089,11 @@ webhooks: type: string enum: - created - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -113919,11 +114175,11 @@ webhooks: type: string enum: - deleted - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114023,11 +114279,11 @@ webhooks: type: string required: - from - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114109,10 +114365,10 @@ webhooks: type: string enum: - labeled - discussion: *609 - enterprise: *593 - installation: *594 - label: &612 + discussion: *610 + enterprise: *594 + installation: *595 + label: &613 title: Label type: object properties: @@ -114145,8 +114401,8 @@ webhooks: - color - default - description - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114229,11 +114485,11 @@ webhooks: type: string enum: - locked - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114315,11 +114571,11 @@ webhooks: type: string enum: - pinned - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114401,11 +114657,11 @@ webhooks: type: string enum: - reopened - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114490,16 +114746,16 @@ webhooks: changes: type: object properties: - new_discussion: *609 - new_repository: *596 + new_discussion: *610 + new_repository: *597 required: - new_discussion - new_repository - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114582,10 +114838,10 @@ webhooks: type: string enum: - unanswered - discussion: *609 - old_answer: *611 - organization: *595 - repository: *596 + discussion: *610 + old_answer: *612 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114667,12 +114923,12 @@ webhooks: type: string enum: - unlabeled - discussion: *609 - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114755,11 +115011,11 @@ webhooks: type: string enum: - unlocked - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114841,11 +115097,11 @@ webhooks: type: string enum: - unpinned - discussion: *609 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + discussion: *610 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -114918,7 +115174,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *593 + enterprise: *594 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115596,9 +115852,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - forkee @@ -115744,9 +116000,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pages: description: The pages that were updated. type: array @@ -115784,7 +116040,7 @@ webhooks: - action - sha - html_url - repository: *596 + repository: *597 sender: *4 required: - pages @@ -115860,10 +116116,10 @@ webhooks: type: string enum: - created - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: &614 + organization: *596 + repositories: &615 description: An array of repository objects that the installation can access. type: array @@ -115889,8 +116145,8 @@ webhooks: - name - full_name - private - repository: *596 - requester: *613 + repository: *597 + requester: *614 sender: *4 required: - action @@ -115965,11 +116221,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116046,11 +116302,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116127,10 +116383,10 @@ webhooks: type: string enum: - added - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories_added: &615 + organization: *596 + repositories_added: &616 description: An array of repository objects, which were added to the installation. type: array @@ -116176,15 +116432,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *596 - repository_selection: &616 + repository: *597 + repository_selection: &617 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *613 + requester: *614 sender: *4 required: - action @@ -116263,10 +116519,10 @@ webhooks: type: string enum: - removed - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories_added: *615 + organization: *596 + repositories_added: *616 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116293,9 +116549,9 @@ webhooks: - name - full_name - private - repository: *596 - repository_selection: *616 - requester: *613 + repository: *597 + repository_selection: *617 + requester: *614 sender: *4 required: - action @@ -116374,11 +116630,11 @@ webhooks: type: string enum: - suspend - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116560,10 +116816,10 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 target_type: type: string @@ -116642,11 +116898,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *593 + enterprise: *594 installation: *20 - organization: *595 - repositories: *614 - repository: *596 + organization: *596 + repositories: *615 + repository: *597 requester: type: - 'null' @@ -116894,8 +117150,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117712,6 +117968,20 @@ 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 @@ -118071,8 +118341,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -118152,7 +118422,7 @@ webhooks: type: string enum: - deleted - comment: &617 + comment: &618 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118319,8 +118589,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119133,6 +119403,20 @@ 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 @@ -119494,8 +119778,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -119575,7 +119859,7 @@ webhooks: type: string enum: - edited - changes: &642 + changes: &643 description: The changes to the comment. type: object properties: @@ -119587,9 +119871,9 @@ webhooks: type: string required: - from - comment: *617 - enterprise: *593 - installation: *594 + comment: *618 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120405,6 +120689,20 @@ 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 @@ -120764,8 +121062,8 @@ webhooks: - state - locked - assignee - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -120847,10 +121145,10 @@ webhooks: type: string enum: - assigned - assignee: *613 - enterprise: *593 - installation: *594 - issue: &620 + assignee: *614 + enterprise: *594 + installation: *595 + issue: &621 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121662,6 +121960,20 @@ 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 @@ -121780,8 +122092,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -121861,8 +122173,8 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122679,6 +122991,20 @@ 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 @@ -122940,8 +123266,8 @@ webhooks: required: - state - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -123020,8 +123346,8 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123827,6 +124153,20 @@ 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 @@ -123944,8 +124284,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -124024,8 +124364,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124856,6 +125196,20 @@ 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 @@ -124952,7 +125306,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &618 + milestone: &619 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125095,8 +125449,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -125195,8 +125549,8 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126008,6 +126362,20 @@ 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 @@ -126126,9 +126494,9 @@ webhooks: - active_lock_reason - body - reactions - label: *612 - organization: *595 - repository: *596 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -126208,8 +126576,8 @@ webhooks: type: string enum: - labeled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127020,6 +127388,20 @@ 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 @@ -127138,9 +127520,9 @@ webhooks: - active_lock_reason - body - reactions - label: *612 - organization: *595 - repository: *596 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -127220,8 +127602,8 @@ webhooks: type: string enum: - locked - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128057,6 +128439,20 @@ 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 @@ -128152,8 +128548,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -128232,8 +128628,8 @@ webhooks: type: string enum: - milestoned - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129063,6 +129459,20 @@ 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 @@ -129158,9 +129568,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *618 - organization: *595 - repository: *596 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -130052,6 +130462,20 @@ 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 @@ -130646,8 +131070,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131459,6 +131883,20 @@ 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 @@ -131576,8 +132014,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -131657,9 +132095,9 @@ webhooks: type: string enum: - pinned - enterprise: *593 - installation: *594 - issue: &619 + enterprise: *594 + installation: *595 + issue: &620 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132465,6 +132903,20 @@ 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 @@ -132582,8 +133034,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -132662,8 +133114,8 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133497,6 +133949,20 @@ 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 @@ -133593,8 +134059,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -134483,6 +134949,20 @@ 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 @@ -135080,11 +135560,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *593 - installation: *594 - issue: *619 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *620 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135165,7 +135645,7 @@ webhooks: type: string enum: - unassigned - assignee: &645 + assignee: &646 title: User type: - object @@ -135237,11 +135717,11 @@ webhooks: required: - login - id - enterprise: *593 - installation: *594 - issue: *620 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *621 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135320,12 +135800,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *593 - installation: *594 - issue: *620 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *621 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -135405,8 +135885,8 @@ webhooks: type: string enum: - unlocked - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136240,6 +136720,20 @@ 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 @@ -136335,8 +136829,8 @@ webhooks: format: uri user_view_type: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136416,11 +136910,11 @@ webhooks: type: string enum: - unpinned - enterprise: *593 - installation: *594 - issue: *619 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + issue: *620 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136499,11 +136993,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136581,11 +137075,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136695,11 +137189,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - label: *612 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + label: *613 + organization: *596 + repository: *597 sender: *4 required: - action @@ -136781,9 +137275,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: &621 + enterprise: *594 + installation: *595 + marketplace_purchase: &622 title: Marketplace Purchase type: object required: @@ -136871,8 +137365,8 @@ webhooks: type: integer unit_count: type: integer - organization: *595 - previous_marketplace_purchase: &622 + organization: *596 + previous_marketplace_purchase: &623 title: Marketplace Purchase type: object properties: @@ -136956,7 +137450,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137036,10 +137530,10 @@ webhooks: - changed effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137127,7 +137621,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137209,10 +137703,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137298,7 +137792,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *596 + repository: *597 sender: *4 required: - action @@ -137379,8 +137873,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 marketplace_purchase: title: Marketplace Purchase type: object @@ -137466,9 +137960,9 @@ webhooks: type: integer unit_count: type: integer - organization: *595 - previous_marketplace_purchase: *622 - repository: *596 + organization: *596 + previous_marketplace_purchase: *623 + repository: *597 sender: *4 required: - action @@ -137548,12 +138042,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *593 - installation: *594 - marketplace_purchase: *621 - organization: *595 - previous_marketplace_purchase: *622 - repository: *596 + enterprise: *594 + installation: *595 + marketplace_purchase: *622 + organization: *596 + previous_marketplace_purchase: *623 + repository: *597 sender: *4 required: - action @@ -137655,11 +138149,11 @@ webhooks: type: string required: - to - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137761,11 +138255,11 @@ webhooks: type: - string - 'null' - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137844,11 +138338,11 @@ webhooks: type: string enum: - removed - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 sender: *4 required: - action @@ -137926,11 +138420,11 @@ webhooks: type: string enum: - added - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138008,7 +138502,7 @@ webhooks: required: - login - id - team: &623 + team: &624 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138201,11 +138695,11 @@ webhooks: type: string enum: - removed - enterprise: *593 - installation: *594 - member: *613 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + member: *614 + organization: *596 + repository: *597 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138284,7 +138778,7 @@ webhooks: required: - login - id - team: *623 + team: *624 required: - action - scope @@ -138366,8 +138860,8 @@ webhooks: type: string enum: - checks_requested - installation: *594 - merge_group: &624 + installation: *595 + merge_group: &625 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138393,8 +138887,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138480,10 +138974,10 @@ webhooks: - merged - invalidated - dequeued - installation: *594 - merge_group: *624 - organization: *595 - repository: *596 + installation: *595 + merge_group: *625 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138556,7 +139050,7 @@ webhooks: type: string enum: - deleted - enterprise: *593 + enterprise: *594 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -138664,12 +139158,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *594 - organization: *595 + installation: *595 + organization: *596 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -138749,11 +139243,11 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -138832,9 +139326,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - milestone: &625 + enterprise: *594 + installation: *595 + milestone: &626 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138976,8 +139470,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139056,11 +139550,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139170,11 +139664,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - milestone: *618 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *619 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139254,11 +139748,11 @@ webhooks: type: string enum: - opened - enterprise: *593 - installation: *594 - milestone: *625 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + milestone: *626 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139337,11 +139831,11 @@ webhooks: type: string enum: - blocked - blocked_user: *613 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + blocked_user: *614 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139420,11 +139914,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *613 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + blocked_user: *614 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139503,9 +139997,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - membership: &626 + enterprise: *594 + installation: *595 + membership: &627 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -139599,8 +140093,8 @@ webhooks: - role - organization_url - user - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139678,11 +140172,11 @@ webhooks: type: string enum: - member_added - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -139761,8 +140255,8 @@ webhooks: type: string enum: - member_invited - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -139884,10 +140378,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 - user: *613 + user: *614 required: - action - invitation @@ -139965,11 +140459,11 @@ webhooks: type: string enum: - member_removed - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -140056,11 +140550,11 @@ webhooks: properties: from: type: string - enterprise: *593 - installation: *594 - membership: *626 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + membership: *627 + organization: *596 + repository: *597 sender: *4 required: - action @@ -140136,9 +140630,9 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 package: description: Information about the package. type: object @@ -140661,7 +141155,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &627 + items: &628 title: Ruby Gems metadata type: object properties: @@ -140758,7 +141252,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -140834,9 +141328,9 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 package: description: Information about the package. type: object @@ -141198,7 +141692,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *627 + items: *628 source_url: type: string format: uri @@ -141269,7 +141763,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -141450,12 +141944,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *593 + enterprise: *594 id: type: integer - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - id @@ -141535,7 +142029,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &628 + personal_access_token_request: &629 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -141685,10 +142179,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *593 - organization: *595 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141767,11 +142261,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *628 - enterprise: *593 - organization: *595 + personal_access_token_request: *629 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141849,11 +142343,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *628 - enterprise: *593 - organization: *595 + personal_access_token_request: *629 + enterprise: *594 + organization: *596 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -141930,11 +142424,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *628 - organization: *595 - enterprise: *593 + personal_access_token_request: *629 + organization: *596 + enterprise: *594 sender: *4 - installation: *594 + installation: *595 required: - action - personal_access_token_request @@ -142038,7 +142532,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *629 + last_response: *630 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142070,8 +142564,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 zen: description: Random string of GitHub zen. @@ -142316,10 +142810,10 @@ webhooks: - from required: - note - enterprise: *593 - installation: *594 - organization: *595 - project_card: &630 + enterprise: *594 + installation: *595 + organization: *596 + project_card: &631 title: Project Card type: object properties: @@ -142442,7 +142936,7 @@ webhooks: - creator - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -142523,11 +143017,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project_card: *630 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_card: *631 + repository: *597 sender: *4 required: - action @@ -142607,9 +143101,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 project_card: title: Project Card type: object @@ -142739,7 +143233,7 @@ webhooks: repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -142833,11 +143327,11 @@ webhooks: - from required: - note - enterprise: *593 - installation: *594 - organization: *595 - project_card: *630 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_card: *631 + repository: *597 sender: *4 required: - action @@ -142931,9 +143425,9 @@ webhooks: - from required: - column_id - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 project_card: allOf: - title: Project Card @@ -143130,7 +143624,7 @@ webhooks: type: string required: - after_id - repository: *596 + repository: *597 sender: *4 required: - action @@ -143210,10 +143704,10 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - organization: *595 - project: &632 + enterprise: *594 + installation: *595 + organization: *596 + project: &633 title: Project type: object properties: @@ -143340,7 +143834,7 @@ webhooks: - creator - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -143420,10 +143914,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project_column: &631 + enterprise: *594 + installation: *595 + organization: *596 + project_column: &632 title: Project Column type: object properties: @@ -143463,7 +143957,7 @@ webhooks: - name - created_at - updated_at - repository: *596 + repository: *597 sender: *4 required: - action @@ -143542,14 +144036,14 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -143638,11 +144132,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 + repository: *597 sender: *4 required: - action @@ -143722,11 +144216,11 @@ webhooks: type: string enum: - moved - enterprise: *593 - installation: *594 - organization: *595 - project_column: *631 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project_column: *632 + repository: *597 sender: *4 required: - action @@ -143806,11 +144300,11 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -143890,14 +144384,14 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - project: *632 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 repository: anyOf: - type: 'null' - - *596 + - *597 sender: *4 required: - action @@ -143998,11 +144492,11 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -144081,11 +144575,11 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 - organization: *595 - project: *632 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + project: *633 + repository: *597 sender: *4 required: - action @@ -144166,9 +144660,9 @@ webhooks: type: string enum: - closed - installation: *594 - organization: *595 - projects_v2: &633 + installation: *595 + organization: *596 + projects_v2: &634 title: Projects v2 Project description: A projects v2 project type: object @@ -144316,9 +144810,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144399,9 +144893,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144522,9 +145016,9 @@ webhooks: type: string to: type: string - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -144607,7 +145101,7 @@ webhooks: type: string enum: - archived - changes: &637 + changes: &638 type: object properties: archived_at: @@ -144623,9 +145117,9 @@ webhooks: - string - 'null' format: date-time - installation: *594 - organization: *595 - projects_v2_item: &634 + installation: *595 + organization: *596 + projects_v2_item: &635 title: Projects v2 Item description: An item belonging to a project type: object @@ -144764,9 +145258,9 @@ webhooks: - 'null' to: type: string - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -144848,9 +145342,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -144931,9 +145425,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145038,7 +145532,7 @@ webhooks: oneOf: - type: string - type: integer - - &635 + - &636 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145058,7 +145552,7 @@ webhooks: required: - id - name - - &636 + - &637 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145087,8 +145581,8 @@ webhooks: oneOf: - type: string - type: integer - - *635 - *636 + - *637 type: - 'null' - string @@ -145111,9 +145605,9 @@ webhooks: - 'null' required: - body - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145210,9 +145704,9 @@ webhooks: type: - string - 'null' - installation: *594 - organization: *595 - projects_v2_item: *634 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145295,10 +145789,10 @@ webhooks: type: string enum: - restored - changes: *637 - installation: *594 - organization: *595 - projects_v2_item: *634 + changes: *638 + installation: *595 + organization: *596 + projects_v2_item: *635 sender: *4 required: - action @@ -145380,9 +145874,9 @@ webhooks: type: string enum: - reopened - installation: *594 - organization: *595 - projects_v2: *633 + installation: *595 + organization: *596 + projects_v2: *634 sender: *4 required: - action @@ -145463,9 +145957,9 @@ webhooks: type: string enum: - created - installation: *594 - organization: *595 - projects_v2_status_update: &638 + installation: *595 + organization: *596 + projects_v2_status_update: &639 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -145600,9 +146094,9 @@ webhooks: type: string enum: - deleted - installation: *594 - organization: *595 - projects_v2_status_update: *638 + installation: *595 + organization: *596 + projects_v2_status_update: *639 sender: *4 required: - action @@ -145748,9 +146242,9 @@ webhooks: - string - 'null' format: date - installation: *594 - organization: *595 - projects_v2_status_update: *638 + installation: *595 + organization: *596 + projects_v2_status_update: *639 sender: *4 required: - action @@ -145821,10 +146315,10 @@ webhooks: title: public event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - repository @@ -145901,13 +146395,13 @@ webhooks: type: string enum: - assigned - assignee: *613 - enterprise: *593 - installation: *594 - number: &639 + assignee: *614 + enterprise: *594 + installation: *595 + number: &640 description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -148256,7 +148750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -148338,11 +148832,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -150684,7 +151178,7 @@ webhooks: - draft reason: type: string - repository: *596 + repository: *597 sender: *4 required: - action @@ -150766,11 +151260,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -153112,7 +153606,7 @@ webhooks: - draft reason: type: string - repository: *596 + repository: *597 sender: *4 required: - action @@ -153194,13 +153688,13 @@ webhooks: type: string enum: - closed - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: &640 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: &641 allOf: - - *471 + - *472 - type: object properties: allow_auto_merge: @@ -153262,7 +153756,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *596 + repository: *597 sender: *4 required: - action @@ -153343,12 +153837,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -153428,11 +153922,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *593 + enterprise: *594 milestone: *370 - number: *639 - organization: *595 - pull_request: &641 + number: *640 + organization: *596 + pull_request: &642 title: Pull Request type: object properties: @@ -155759,7 +156253,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -155838,11 +156332,11 @@ webhooks: type: string enum: - dequeued - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -158188,7 +158682,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *596 + repository: *597 sender: *4 required: - action @@ -158312,12 +158806,12 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -158397,11 +158891,11 @@ webhooks: type: string enum: - enqueued - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -160732,7 +161226,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -160812,11 +161306,11 @@ webhooks: type: string enum: - labeled - enterprise: *593 - installation: *594 - label: *612 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + label: *613 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -163164,7 +163658,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -163245,10 +163739,10 @@ webhooks: type: string enum: - locked - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -165594,7 +166088,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -165674,12 +166168,12 @@ webhooks: type: string enum: - milestoned - enterprise: *593 + enterprise: *594 milestone: *370 - number: *639 - organization: *595 - pull_request: *641 - repository: *596 + number: *640 + organization: *596 + pull_request: *642 + repository: *597 sender: *4 required: - action @@ -165758,12 +166252,12 @@ webhooks: type: string enum: - opened - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -165844,12 +166338,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -165929,12 +166423,12 @@ webhooks: type: string enum: - reopened - enterprise: *593 - installation: *594 - number: *639 - organization: *595 - pull_request: *640 - repository: *596 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 + pull_request: *641 + repository: *597 sender: *4 required: - action @@ -166309,9 +166803,9 @@ webhooks: - start_side - side - reactions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -168541,7 +169035,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -168621,7 +169115,7 @@ webhooks: type: string enum: - deleted - comment: &643 + comment: &644 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -168914,9 +169408,9 @@ webhooks: - start_side - side - reactions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -171134,7 +171628,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -171214,11 +171708,11 @@ webhooks: type: string enum: - edited - changes: *642 - comment: *643 - enterprise: *593 - installation: *594 - organization: *595 + changes: *643 + comment: *644 + enterprise: *594 + installation: *595 + organization: *596 pull_request: type: object properties: @@ -173439,7 +173933,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *596 + repository: *597 sender: *4 required: - action @@ -173520,9 +174014,9 @@ webhooks: type: string enum: - dismissed - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -175755,7 +176249,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 review: description: The review that was affected. type: object @@ -176001,9 +176495,9 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -178117,8 +178611,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 - review: &644 + repository: *597 + review: &645 description: The review that was affected. type: object properties: @@ -178351,12 +178845,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -180703,7 +181197,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_reviewer: title: User type: @@ -180789,12 +181283,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -183148,7 +183642,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183343,12 +183837,12 @@ webhooks: type: string enum: - review_requested - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -185697,7 +186191,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_reviewer: title: User type: @@ -185784,12 +186278,12 @@ webhooks: type: string enum: - review_requested - enterprise: *593 - installation: *594 + enterprise: *594 + installation: *595 number: description: The pull request number. type: integer - organization: *595 + organization: *596 pull_request: title: Pull Request type: object @@ -188129,7 +188623,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188313,9 +188807,9 @@ webhooks: type: string enum: - submitted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -190551,8 +191045,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 - review: *644 + repository: *597 + review: *645 sender: *4 required: - action @@ -190632,9 +191126,9 @@ webhooks: type: string enum: - resolved - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -192765,7 +193259,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 sender: *4 thread: type: object @@ -193157,9 +193651,9 @@ webhooks: type: string enum: - unresolved - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 pull_request: title: Simple Pull Request type: object @@ -195273,7 +195767,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *596 + repository: *597 sender: *4 thread: type: object @@ -195667,10 +196161,10 @@ webhooks: type: string before: type: string - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -198005,7 +198499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -198087,11 +198581,11 @@ webhooks: type: string enum: - unassigned - assignee: *645 - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + assignee: *646 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -200441,7 +200935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -200520,11 +201014,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *593 - installation: *594 - label: *612 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + label: *613 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -202863,7 +203357,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -202944,10 +203438,10 @@ webhooks: type: string enum: - unlocked - enterprise: *593 - installation: *594 - number: *639 - organization: *595 + enterprise: *594 + installation: *595 + number: *640 + organization: *596 pull_request: title: Pull Request type: object @@ -205276,7 +205770,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *596 + repository: *597 sender: *4 required: - action @@ -205479,7 +205973,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *593 + enterprise: *594 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205574,8 +206068,8 @@ webhooks: - url - author - committer - installation: *594 - organization: *595 + installation: *595 + organization: *596 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206163,9 +206657,9 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 registry_package: type: object properties: @@ -206642,7 +207136,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *627 + items: *628 summary: type: string tag_name: @@ -206698,7 +207192,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -206776,9 +207270,9 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 registry_package: type: object properties: @@ -207090,7 +207584,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *627 + items: *628 summary: type: string tag_name: @@ -207140,7 +207634,7 @@ webhooks: - owner - package_version - registry - repository: *596 + repository: *597 sender: *4 required: - action @@ -207217,10 +207711,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - release: &646 + enterprise: *594 + installation: *595 + organization: *596 + release: &647 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207536,7 +208030,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *596 + repository: *597 sender: *4 required: - action @@ -207613,11 +208107,11 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -207725,11 +208219,11 @@ webhooks: type: boolean required: - to - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -207807,9 +208301,9 @@ webhooks: type: string enum: - prereleased - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208130,7 +208624,7 @@ webhooks: - string - 'null' format: uri - repository: *596 + repository: *597 sender: *4 required: - action @@ -208206,10 +208700,10 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - release: &647 + enterprise: *594 + installation: *595 + organization: *596 + release: &648 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208527,7 +209021,7 @@ webhooks: - string - 'null' format: uri - repository: *596 + repository: *597 sender: *4 required: - action @@ -208603,11 +209097,11 @@ webhooks: type: string enum: - released - enterprise: *593 - installation: *594 - organization: *595 - release: *646 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *647 + repository: *597 sender: *4 required: - action @@ -208683,11 +209177,11 @@ webhooks: type: string enum: - unpublished - enterprise: *593 - installation: *594 - organization: *595 - release: *647 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + release: *648 + repository: *597 sender: *4 required: - action @@ -208763,11 +209257,11 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - repository_advisory: *525 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + repository_advisory: *526 sender: *4 required: - action @@ -208843,11 +209337,11 @@ webhooks: type: string enum: - reported - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - repository_advisory: *525 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + repository_advisory: *526 sender: *4 required: - action @@ -208923,10 +209417,10 @@ webhooks: type: string enum: - archived - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209003,10 +209497,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209084,10 +209578,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209172,10 +209666,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209290,10 +209784,10 @@ webhooks: - 'null' items: type: string - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209365,10 +209859,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 status: type: string @@ -209449,10 +209943,10 @@ webhooks: type: string enum: - privatized - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209529,10 +210023,10 @@ webhooks: type: string enum: - publicized - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209626,10 +210120,10 @@ webhooks: - name required: - repository - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -209709,10 +210203,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 sender: *4 required: @@ -209791,10 +210285,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 sender: *4 required: @@ -209873,10 +210367,10 @@ webhooks: type: string enum: - edited - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 repository_ruleset: *214 changes: type: object @@ -210184,10 +210678,10 @@ webhooks: - from required: - owner - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210265,10 +210759,10 @@ webhooks: type: string enum: - unarchived - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210346,7 +210840,7 @@ webhooks: type: string enum: - create - alert: &648 + alert: &649 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210470,10 +210964,10 @@ webhooks: type: string enum: - open - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210683,10 +211177,10 @@ webhooks: type: string enum: - dismissed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210764,11 +211258,11 @@ webhooks: type: string enum: - reopen - alert: *648 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *649 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -210970,10 +211464,10 @@ webhooks: enum: - fixed - open - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211051,7 +211545,7 @@ webhooks: type: string enum: - created - alert: &649 + alert: &650 type: object properties: number: *46 @@ -211155,10 +211649,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211239,11 +211733,11 @@ webhooks: type: string enum: - created - alert: *649 - installation: *594 - location: *650 - organization: *595 - repository: *596 + alert: *650 + installation: *595 + location: *651 + organization: *596 + repository: *597 sender: *4 required: - location @@ -211481,11 +211975,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211563,11 +212057,11 @@ webhooks: type: string enum: - reopened - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211645,11 +212139,11 @@ webhooks: type: string enum: - resolved - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211727,11 +212221,11 @@ webhooks: type: string enum: - validated - alert: *649 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + alert: *650 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -211807,11 +212301,11 @@ webhooks: type: string enum: - published - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - security_advisory: &651 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + security_advisory: &652 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211997,11 +212491,11 @@ webhooks: type: string enum: - updated - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 - security_advisory: *651 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 + security_advisory: *652 sender: *4 required: - action @@ -212074,10 +212568,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212264,9 +212758,9 @@ webhooks: type: object properties: security_and_analysis: *207 - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: *252 sender: *4 required: @@ -212345,12 +212839,12 @@ webhooks: type: string enum: - cancelled - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: &652 + sponsorship: &653 type: object properties: created_at: @@ -212655,12 +213149,12 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - sponsorship @@ -212748,12 +213242,12 @@ webhooks: type: string required: - from - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -212830,17 +213324,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &653 + effective_date: &654 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: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - sponsorship @@ -212914,7 +213408,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &654 + changes: &655 type: object properties: tier: @@ -212958,13 +213452,13 @@ webhooks: - from required: - tier - effective_date: *653 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + effective_date: *654 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -213041,13 +213535,13 @@ webhooks: type: string enum: - tier_changed - changes: *654 - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + changes: *655 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - sponsorship: *652 + sponsorship: *653 required: - action - changes @@ -213121,10 +213615,10 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213208,10 +213702,10 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213644,15 +214138,15 @@ webhooks: type: - string - 'null' - enterprise: *593 + enterprise: *594 id: description: The unique identifier of the status. type: integer - installation: *594 + installation: *595 name: type: string - organization: *595 - repository: *596 + organization: *596 + repository: *597 sender: *4 sha: description: The Commit SHA. @@ -213768,9 +214262,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -213860,9 +214354,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -213952,9 +214446,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -214044,9 +214538,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *594 - organization: *595 - repository: *596 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -214123,12 +214617,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - team: &655 + team: &656 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214321,9 +214815,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -214793,7 +215287,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -214869,9 +215363,9 @@ webhooks: type: string enum: - created - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -215341,7 +215835,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -215418,9 +215912,9 @@ webhooks: type: string enum: - deleted - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -215890,7 +216384,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -216034,9 +216528,9 @@ webhooks: - from required: - permissions - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -216506,7 +217000,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - changes @@ -216584,9 +217078,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *593 - installation: *594 - organization: *595 + enterprise: *594 + installation: *595 + organization: *596 repository: title: Repository description: A git repository @@ -217056,7 +217550,7 @@ webhooks: - topics - visibility sender: *4 - team: *655 + team: *656 required: - action - team @@ -217132,10 +217626,10 @@ webhooks: type: string enum: - started - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 required: - action @@ -217208,17 +217702,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *593 + enterprise: *594 inputs: type: - object - 'null' additionalProperties: true - installation: *594 - organization: *595 + installation: *595 + organization: *596 ref: type: string - repository: *596 + repository: *597 sender: *4 workflow: type: string @@ -217300,10 +217794,10 @@ webhooks: type: string enum: - completed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: allOf: @@ -217638,10 +218132,10 @@ webhooks: type: string enum: - in_progress - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: allOf: @@ -218002,10 +218496,10 @@ webhooks: type: string enum: - queued - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: type: object @@ -218230,10 +218724,10 @@ webhooks: type: string enum: - waiting - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 workflow_job: type: object @@ -218460,12 +218954,12 @@ webhooks: type: string enum: - completed - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object @@ -219484,12 +219978,12 @@ webhooks: type: string enum: - in_progress - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object @@ -220493,12 +220987,12 @@ webhooks: type: string enum: - requested - enterprise: *593 - installation: *594 - organization: *595 - repository: *596 + enterprise: *594 + installation: *595 + organization: *596 + repository: *597 sender: *4 - workflow: *608 + workflow: *609 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index e6d572dfe..8b387d633 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -39200,6 +39200,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": [ @@ -57091,6 +57111,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": [ @@ -63683,6 +63723,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": [ @@ -107259,6 +107319,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": [ @@ -119319,6 +119399,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": [ @@ -321947,6 +322047,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": [ @@ -344840,6 +344960,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": [ @@ -347908,6 +348048,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": [ @@ -354964,6 +355124,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": [ @@ -359532,6 +359712,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": [ @@ -363897,6 +364097,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": [ @@ -366947,6 +367167,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": [ @@ -370008,6 +370248,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": [ @@ -372866,6 +373126,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": [ @@ -387543,610 +387823,12644 @@ } } } - } - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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" + } + } + } + } + } }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] + "message": { + "type": "string" }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -388158,8 +400472,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -388175,128 +400489,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } }, @@ -400506,6 +412734,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": [ @@ -525993,6 +538241,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" }, @@ -578578,6 +590846,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": [ @@ -612826,6 +625114,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": [ @@ -616397,6 +628705,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": [ @@ -619970,6 +632298,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": [ @@ -630890,6 +643238,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": [ @@ -634463,6 +646831,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": [ @@ -848669,6 +861057,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", @@ -852798,6 +865206,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", @@ -856951,6 +869379,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", @@ -860628,6 +873076,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", @@ -863858,6 +876326,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", @@ -867293,6 +879781,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", @@ -870535,6 +883043,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", @@ -873958,6 +886486,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", @@ -877224,6 +889772,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", @@ -880518,6 +893086,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", @@ -883736,6 +896324,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", @@ -887016,6 +899624,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", @@ -889008,6 +901636,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", @@ -892226,6 +904874,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", @@ -895471,6 +908139,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", @@ -898555,6 +911243,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", @@ -900544,6 +913252,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", @@ -903870,6 +916598,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", @@ -907095,6 +919843,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", @@ -910387,6 +923155,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", @@ -913582,6 +926370,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", @@ -1323499,6 +1336307,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": [ @@ -1327052,6 +1339880,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": [ @@ -1331559,6 +1344407,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": [ @@ -1335112,6 +1347980,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": [ @@ -1339619,6 +1352507,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": [ @@ -1343172,6 +1356080,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": [ @@ -1347679,6 +1360607,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": [ @@ -1351232,6 +1364180,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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 7e6d0202e..04fa70df6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1062,7 +1062,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: - - &585 + - &586 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &595 + schema: &596 title: Scim Error description: Scim Error type: object @@ -13696,14 +13696,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &577 + state: &578 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: &578 + resolution: &579 type: - string - 'null' @@ -15390,6 +15390,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: - assignee - closed_at @@ -15985,7 +15999,7 @@ paths: url: type: string format: uri - user: &634 + user: &635 title: Public User description: Public User type: object @@ -19422,7 +19436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &515 + - &516 name: all description: If `true`, show notifications marked as read. in: query @@ -19430,7 +19444,7 @@ paths: schema: type: boolean default: false - - &516 + - &517 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19440,7 +19454,7 @@ paths: type: boolean default: false - *102 - - &517 + - &518 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: @@ -19966,7 +19980,7 @@ paths: - url - subscription_url examples: - default: &518 + default: &519 value: - id: '1' repository: @@ -20519,7 +20533,7 @@ paths: type: array items: *50 examples: - default: &651 + default: &652 value: - login: github id: 1 @@ -21782,7 +21796,7 @@ paths: type: array items: *55 examples: - default: &645 + default: &646 value: total_count: 1 repositories: @@ -22550,7 +22564,7 @@ paths: type: array items: *152 examples: - default: &637 + default: &638 value: total_count: 1 repositories: @@ -33268,7 +33282,7 @@ paths: parameters: - *134 - *239 - - &650 + - &651 name: repo_name description: repo_name parameter in: path @@ -34592,7 +34606,7 @@ paths: - nuget - container - *134 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34633,7 +34647,7 @@ paths: default: *245 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38066,7 +38080,7 @@ paths: - *134 - *17 - *18 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38350,7 +38364,7 @@ paths: type: object description: A repository rule. oneOf: - - &546 + - &547 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38362,7 +38376,7 @@ paths: type: string enum: - creation - - &547 + - &548 title: update description: Only allow users with bypass permission to update matching refs. @@ -38383,7 +38397,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &549 + - &550 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38395,7 +38409,7 @@ paths: type: string enum: - deletion - - &550 + - &551 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38407,7 +38421,7 @@ paths: type: string enum: - required_linear_history - - &551 + - &552 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38485,7 +38499,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &552 + - &553 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38509,7 +38523,7 @@ paths: type: string required: - required_deployment_environments - - &553 + - &554 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38521,7 +38535,7 @@ paths: type: string enum: - required_signatures - - &554 + - &555 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38567,7 +38581,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &555 + - &556 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38615,7 +38629,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &556 + - &557 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38627,7 +38641,7 @@ paths: type: string enum: - non_fast_forward - - &557 + - &558 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38663,7 +38677,7 @@ paths: required: - operator - pattern - - &558 + - &559 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38699,7 +38713,7 @@ paths: required: - operator - pattern - - &559 + - &560 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38735,7 +38749,7 @@ paths: required: - operator - pattern - - &560 + - &561 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38771,7 +38785,7 @@ paths: required: - operator - pattern - - &561 + - &562 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38897,7 +38911,7 @@ paths: maximum: 100 required: - max_file_size - - &562 + - &563 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38947,7 +38961,7 @@ paths: - repository_id required: - workflows - - &563 + - &564 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39184,7 +39198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *134 - - &565 + - &566 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 @@ -39199,7 +39213,7 @@ paths: in: query schema: type: string - - &566 + - &567 name: time_period description: |- The time period to filter by. @@ -39215,14 +39229,14 @@ paths: - week - month default: day - - &567 + - &568 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 - - &568 + - &569 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39242,7 +39256,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &570 title: Rule Suites description: Response type: array @@ -39298,7 +39312,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &570 + default: &571 value: - id: 21 actor_id: 12 @@ -39342,7 +39356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *134 - - &571 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39358,7 +39372,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suite description: Response type: object @@ -39465,7 +39479,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &573 + default: &574 value: id: 21 actor_id: 12 @@ -39683,7 +39697,7 @@ paths: - *76 - *18 - *17 - - &575 + - &576 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 @@ -39693,7 +39707,7 @@ paths: required: false schema: type: string - - &576 + - &577 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 @@ -39785,7 +39799,7 @@ paths: application/json: schema: type: array - items: &583 + items: &584 description: A repository security advisory. type: object properties: @@ -40104,7 +40118,7 @@ paths: - private_fork additionalProperties: false examples: - default: &584 + default: &585 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -41777,7 +41791,7 @@ paths: - updated_at - url examples: - default: &624 + default: &625 value: - author: login: octocat @@ -42025,7 +42039,7 @@ paths: application/json: schema: *294 examples: - default: &625 + default: &626 value: author: login: octocat @@ -42216,7 +42230,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -42442,7 +42456,7 @@ paths: application/json: schema: *297 examples: - default: &627 + default: &628 value: author: login: octocat @@ -43158,7 +43172,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &628 + response-if-user-is-a-team-maintainer: &629 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43223,7 +43237,7 @@ paths: application/json: schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &629 + response-if-users-membership-with-team-is-now-pending: &630 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43366,7 +43380,7 @@ paths: - updated_at - permissions examples: - default: &630 + default: &631 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43443,7 +43457,7 @@ paths: application/json: schema: *309 examples: - default: &631 + default: &632 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43647,7 +43661,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &632 + schema: &633 title: Team Repository description: A team's access to a repository. type: object @@ -44485,7 +44499,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: &633 + response-if-child-teams-exist: &634 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56474,7 +56488,7 @@ paths: check. type: array items: *381 - deployment: &683 + deployment: &684 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61400,7 +61414,7 @@ paths: type: array items: *416 examples: - default: &640 + default: &641 value: total_count: 2 machines: @@ -62955,7 +62969,7 @@ paths: type: array items: *424 examples: - default: &533 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63243,7 +63257,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Pull Request Simple description: Pull Request Simple type: object @@ -63488,7 +63502,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: &526 + auto_merge: &527 title: Auto merge description: The status of auto merging a pull request. type: @@ -63553,7 +63567,7 @@ paths: - author_association - auto_merge examples: - default: &525 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64110,7 +64124,7 @@ paths: application/json: schema: *424 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64731,7 +64745,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Status description: The status of a commit. type: object @@ -65687,7 +65701,7 @@ paths: - size - type - url - - &538 + - &539 title: Content File description: Content File type: object @@ -66324,7 +66338,7 @@ paths: items: type: object properties: - placeholder_id: &580 + placeholder_id: &581 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72205,7 +72219,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &714 + last_response: &715 title: Hook Response type: object properties: @@ -73177,7 +73191,7 @@ paths: parameters: - *311 - *312 - - &663 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73611,7 +73625,7 @@ paths: type: array items: *486 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -74003,7 +74017,7 @@ paths: type: array items: *112 examples: - default: + default: &495 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75824,7 +75838,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &495 + - &496 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75873,7 +75887,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &497 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76001,7 +76015,7 @@ paths: - performed_via_github_app - assignee - assigner - - &497 + - &498 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76047,7 +76061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &499 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76093,7 +76107,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76142,7 +76156,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &501 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76184,7 +76198,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76226,7 +76240,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76282,7 +76296,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Locked Issue Event description: Locked Issue Event type: object @@ -76327,7 +76341,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76388,7 +76402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76449,7 +76463,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76510,7 +76524,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -77168,6 +77182,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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *14 + '404': *6 + 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: + - *311 + - *312 + - *491 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *112 + examples: + default: *495 + headers: + Link: *37 + '404': *6 + '410': *322 + 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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *27 + '410': *322 + '422': *15 + '404': *6 + 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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + '403': *27 + '404': *6 + '422': *7 + '503': *92 + 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 @@ -77196,7 +77438,6 @@ paths: description: Timeline Event type: object anyOf: - - *495 - *496 - *497 - *498 @@ -77209,6 +77450,7 @@ paths: - *505 - *506 - *507 + - *508 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77531,7 +77773,7 @@ paths: type: string comments: type: array - items: &527 + items: &528 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78072,7 +78314,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78176,9 +78418,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: id: 1 key: ssh-rsa AAA... @@ -78214,7 +78456,7 @@ paths: parameters: - *311 - *312 - - &510 + - &511 name: key_id description: The unique identifier of the key. in: path @@ -78226,9 +78468,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -78248,7 +78490,7 @@ paths: parameters: - *311 - *312 - - *510 + - *511 responses: '204': description: Response @@ -78341,7 +78583,7 @@ paths: application/json: schema: *493 examples: - default: &511 + default: &512 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78387,7 +78629,7 @@ paths: application/json: schema: *493 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -78842,7 +79084,7 @@ paths: application/json: schema: *424 examples: - default: *512 + default: *513 '204': description: Response when already merged '404': @@ -79008,7 +79250,7 @@ paths: application/json: schema: *428 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79069,7 +79311,7 @@ paths: parameters: - *311 - *312 - - &514 + - &515 name: milestone_number description: The number that identifies the milestone. in: path @@ -79083,7 +79325,7 @@ paths: application/json: schema: *428 examples: - default: *513 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -79102,7 +79344,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 requestBody: required: false content: @@ -79142,7 +79384,7 @@ paths: application/json: schema: *428 examples: - default: *513 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79160,7 +79402,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 responses: '204': description: Response @@ -79183,7 +79425,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 - *17 - *18 responses: @@ -79216,10 +79458,10 @@ paths: parameters: - *311 - *312 - - *515 - *516 - - *102 - *517 + - *102 + - *518 - *17 - *18 responses: @@ -79231,7 +79473,7 @@ paths: type: array items: *124 examples: - default: *518 + default: *519 headers: Link: *37 x-github: @@ -79321,7 +79563,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79465,7 +79707,7 @@ paths: - custom_404 - public examples: - default: &520 + default: &521 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79562,9 +79804,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '422': *15 '409': *139 x-github: @@ -79734,7 +79976,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Page Build description: Page Build type: object @@ -79881,9 +80123,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79943,9 +80185,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80077,7 +80319,7 @@ paths: parameters: - *311 - *312 - - &523 + - &524 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80137,7 +80379,7 @@ paths: parameters: - *311 - *312 - - *523 + - *524 responses: '204': *183 '404': *6 @@ -80843,9 +81085,9 @@ paths: application/json: schema: type: array - items: *524 + items: *525 examples: - default: *525 + default: *526 headers: Link: *37 '304': *35 @@ -80945,7 +81187,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &530 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81185,7 +81427,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: *526 + auto_merge: *527 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81287,7 +81529,7 @@ paths: - merged_by - review_comments examples: - default: &530 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81844,9 +82086,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: &532 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81931,9 +82173,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82032,9 +82274,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82237,7 +82479,7 @@ paths: parameters: - *311 - *312 - - &531 + - &532 name: pull_number description: The number that identifies the pull request. in: path @@ -82250,9 +82492,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '304': *35 '404': *6 '406': @@ -82289,7 +82531,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -82331,9 +82573,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '422': *15 '403': *27 x-github: @@ -82357,7 +82599,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -82460,7 +82702,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -82481,9 +82723,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: *532 + default: *533 headers: Link: *37 x-github: @@ -82518,7 +82760,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -82624,7 +82866,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: example-for-a-multi-line-comment: value: @@ -82714,7 +82956,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *111 requestBody: required: true @@ -82737,7 +82979,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -82825,7 +83067,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -82837,7 +83079,7 @@ paths: type: array items: *424 examples: - default: *533 + default: *534 headers: Link: *37 x-github: @@ -82869,7 +83111,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -82919,7 +83161,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 responses: '204': description: Response if pull request has been merged @@ -82944,7 +83186,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -83058,7 +83300,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 responses: '200': description: Response @@ -83135,7 +83377,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -83172,7 +83414,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default: value: @@ -83710,7 +83952,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -83744,7 +83986,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default: value: @@ -84251,7 +84493,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -84261,7 +84503,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84419,7 +84661,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -84509,9 +84751,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &536 + default: &537 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84576,8 +84818,8 @@ paths: parameters: - *311 - *312 - - *531 - - &535 + - *532 + - &536 name: review_id description: The unique identifier of the review. in: path @@ -84589,9 +84831,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &537 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84652,8 +84894,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -84676,7 +84918,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -84740,16 +84982,16 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 responses: '200': description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *536 + default: *537 '422': *7 '404': *6 x-github: @@ -84778,8 +85020,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 - *17 - *18 responses: @@ -85032,8 +85274,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -85062,7 +85304,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -85127,8 +85369,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -85163,9 +85405,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *537 + default: *538 '404': *6 '422': *7 '403': *27 @@ -85189,7 +85431,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -85267,9 +85509,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: type: file encoding: base64 @@ -85332,9 +85574,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '404': *6 '422': *15 x-github: @@ -85367,7 +85609,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Release description: A release. type: object @@ -85439,7 +85681,7 @@ paths: author: *4 assets: type: array - items: &541 + items: &542 title: Release Asset description: Data related to a release. type: object @@ -85696,9 +85938,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85803,7 +86045,7 @@ paths: parameters: - *311 - *312 - - &542 + - &543 name: asset_id description: The unique identifier of the asset. in: path @@ -85815,9 +86057,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &543 + default: &544 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 @@ -85869,7 +86111,7 @@ paths: parameters: - *311 - *312 - - *542 + - *543 requestBody: required: false content: @@ -85898,9 +86140,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85918,7 +86160,7 @@ paths: parameters: - *311 - *312 - - *542 + - *543 responses: '204': description: Response @@ -86036,9 +86278,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86069,9 +86311,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -86095,7 +86337,7 @@ paths: parameters: - *311 - *312 - - &545 + - &546 name: release_id description: The unique identifier of the release. in: path @@ -86109,9 +86351,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: *540 + schema: *541 examples: - default: *544 + default: *545 '401': description: Unauthorized x-github: @@ -86131,7 +86373,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 requestBody: required: false content: @@ -86195,9 +86437,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 '404': description: Not Found if the discussion category name is invalid content: @@ -86220,7 +86462,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 responses: '204': description: Response @@ -86242,7 +86484,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - *17 - *18 responses: @@ -86252,7 +86494,7 @@ paths: application/json: schema: type: array - items: *541 + items: *542 examples: default: value: @@ -86335,7 +86577,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - name: name in: query required: true @@ -86361,7 +86603,7 @@ paths: description: Response for successful upload content: application/json: - schema: *541 + schema: *542 examples: response-for-successful-upload: value: @@ -86417,7 +86659,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - 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. @@ -86466,7 +86708,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 requestBody: required: true content: @@ -86529,7 +86771,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - *303 responses: '204': @@ -86572,8 +86814,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *546 - - &548 + - *547 + - &549 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86593,53 +86835,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *547 - *548 - - allOf: - *549 - - *548 - allOf: - *550 - - *548 + - *549 - allOf: - *551 - - *548 + - *549 - allOf: - *552 - - *548 + - *549 - allOf: - *553 - - *548 + - *549 - allOf: - *554 - - *548 + - *549 - allOf: - *555 - - *548 + - *549 - allOf: - *556 - - *548 + - *549 - allOf: - *557 - - *548 + - *549 - allOf: - *558 - - *548 + - *549 - allOf: - *559 - - *548 + - *549 - allOf: - *560 - - *548 + - *549 - allOf: - *561 - - *548 + - *549 - allOf: - *562 - - *548 + - *549 - allOf: - *563 - - *548 + - *549 + - allOf: + - *564 + - *549 examples: default: value: @@ -86690,7 +86932,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -86808,7 +87050,7 @@ paths: application/json: schema: *272 examples: - default: &574 + default: &575 value: id: 42 name: super cool ruleset @@ -86857,10 +87099,10 @@ paths: parameters: - *311 - *312 - - *565 - *566 - *567 - *568 + - *569 - *17 - *18 responses: @@ -86868,9 +87110,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 '404': *6 '500': *80 x-github: @@ -86893,15 +87135,15 @@ paths: parameters: - *311 - *312 - - *571 + - *572 responses: '200': description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *80 x-github: @@ -86952,7 +87194,7 @@ paths: application/json: schema: *272 examples: - default: *574 + default: *575 '404': *6 '500': *80 put: @@ -87035,7 +87277,7 @@ paths: application/json: schema: *272 examples: - default: *574 + default: *575 '404': *6 '500': *80 delete: @@ -87091,8 +87333,8 @@ paths: - *76 - *18 - *17 - - *575 - *576 + - *577 - *278 - *279 - *280 @@ -87103,7 +87345,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 type: object properties: number: *81 @@ -87119,8 +87361,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *577 - resolution: *578 + state: *578 + resolution: *579 resolved_at: type: - string @@ -87333,7 +87575,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -87394,8 +87636,8 @@ paths: schema: type: object properties: - state: *577 - resolution: *578 + state: *578 + resolution: *579 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87414,7 +87656,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -87501,7 +87743,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &735 + items: &736 type: object properties: type: @@ -87889,14 +88131,14 @@ paths: schema: type: object properties: - reason: &581 + reason: &582 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *580 + placeholder_id: *581 required: - reason - placeholder_id @@ -87913,7 +88155,7 @@ paths: schema: type: object properties: - reason: *581 + reason: *582 expire_at: type: - string @@ -87973,7 +88215,7 @@ paths: properties: incremental_scans: type: array - items: &582 + items: &583 description: Information on a single scan performed by secret scanning on the repository type: object @@ -87998,15 +88240,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *582 + items: *583 backfill_scans: type: array - items: *582 + items: *583 custom_pattern_backfill_scans: type: array items: allOf: - - *582 + - *583 - type: object properties: pattern_name: @@ -88121,9 +88363,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: *584 + default: *585 '400': *14 '404': *6 x-github: @@ -88317,9 +88559,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &586 + default: &587 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88666,7 +88908,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: default: value: @@ -88815,15 +89057,15 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '200': description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *586 + default: *587 '403': *27 '404': *6 x-github: @@ -88849,7 +89091,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 requestBody: required: true content: @@ -89020,10 +89262,10 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *586 - add_credit: *586 + default: *587 + add_credit: *587 '403': *27 '404': *6 '422': @@ -89063,7 +89305,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '202': *140 '400': *14 @@ -89092,7 +89334,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '202': description: Response @@ -89233,7 +89475,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89606,7 +89848,7 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: default: value: @@ -89696,7 +89938,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -89790,7 +90032,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &589 + schema: &590 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89890,7 +90132,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -90030,7 +90272,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Tag protection description: Tag protection type: object @@ -90111,7 +90353,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -90259,7 +90501,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &592 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90271,7 +90513,7 @@ paths: required: - names examples: - default: &592 + default: &593 value: names: - octocat @@ -90326,9 +90568,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: - default: *592 + default: *593 '404': *6 '422': *7 x-github: @@ -90351,7 +90593,7 @@ paths: parameters: - *311 - *312 - - &593 + - &594 name: per description: The time frame to display results for. in: query @@ -90382,7 +90624,7 @@ paths: - 128 clones: type: array - items: &594 + items: &595 title: Traffic type: object properties: @@ -90630,7 +90872,7 @@ paths: parameters: - *311 - *312 - - *593 + - *594 responses: '200': description: Response @@ -90651,7 +90893,7 @@ paths: - 3782 views: type: array - items: *594 + items: *595 required: - uniques - count @@ -91323,7 +91565,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &602 + - &603 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91333,7 +91575,7 @@ paths: type: string examples: - members - - &607 + - &608 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91345,7 +91587,7 @@ paths: format: int32 examples: - 1 - - &608 + - &609 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91389,7 +91631,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &596 + items: &597 allOf: - type: object required: @@ -91471,7 +91713,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: &609 + meta: &610 type: object description: The metadata associated with the creation/updates to the user. @@ -91536,31 +91778,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &597 + '400': &598 description: Bad request content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '401': &598 + schema: *596 + '401': &599 description: Authorization failure - '403': &599 + '403': &600 description: Permission denied - '429': &600 + '429': &601 description: Too many requests content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '500': &601 + schema: *596 + '500': &602 description: Internal server error content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 + schema: *596 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91584,7 +91826,7 @@ paths: required: true content: application/json: - schema: &605 + schema: &606 type: object required: - schemas @@ -91644,9 +91886,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *596 + schema: *597 examples: - group: &603 + group: &604 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91665,13 +91907,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': *597 - '401': *598 - '403': *599 - '409': &606 + '400': *598 + '401': *599 + '403': *600 + '409': &607 description: Duplicate record detected - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91688,7 +91930,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: - - &604 + - &605 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91697,22 +91939,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *602 + - *603 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *596 + schema: *597 examples: - default: *603 - '400': *597 - '401': *598 - '403': *599 + default: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91731,13 +91973,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: - - *604 + - *605 - *38 requestBody: required: true content: application/json: - schema: *605 + schema: *606 examples: group: summary: Group @@ -91763,17 +92005,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *596 + schema: *597 examples: - group: *603 - groupWithMembers: *603 - '400': *597 - '401': *598 - '403': *599 + group: *604 + groupWithMembers: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91797,13 +92039,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: - - *604 + - *605 - *38 requestBody: required: true content: application/json: - schema: &616 + schema: &617 type: object required: - Operations @@ -91863,17 +92105,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *596 + schema: *597 examples: - updateGroup: *603 - addMembers: *603 - '400': *597 - '401': *598 - '403': *599 + updateGroup: *604 + addMembers: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91889,17 +92131,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: - - *604 + - *605 - *38 responses: '204': description: Group was deleted, no content - '400': *597 - '401': *598 - '403': *599 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91933,8 +92175,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *607 - *608 + - *609 - *38 responses: '200': @@ -91968,7 +92210,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &611 + items: &612 allOf: - type: object required: @@ -92060,7 +92302,7 @@ paths: address. examples: - true - roles: &610 + roles: &611 type: array description: The roles assigned to the user. items: @@ -92119,7 +92361,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *609 + meta: *610 startIndex: type: integer description: A starting index for the returned page @@ -92158,11 +92400,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *597 - '401': *598 - '403': *599 - '429': *600 - '500': *601 + '400': *598 + '401': *599 + '403': *600 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92186,7 +92428,7 @@ paths: required: true content: application/json: - schema: &614 + schema: &615 type: object required: - schemas @@ -92279,9 +92521,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *610 + roles: *611 examples: - user: &615 + user: &616 summary: User value: schemas: @@ -92328,9 +92570,9 @@ paths: description: User has been created content: application/scim+json: - schema: *611 + schema: *612 examples: - user: &612 + user: &613 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92356,13 +92598,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: *612 - '400': *597 - '401': *598 - '403': *599 - '409': *606 - '429': *600 - '500': *601 + enterpriseOwner: *613 + '400': *598 + '401': *599 + '403': *600 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92379,7 +92621,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: - - &613 + - &614 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92392,15 +92634,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *611 + schema: *612 examples: - default: *612 - '400': *597 - '401': *598 - '403': *599 + default: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92422,30 +92664,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: - - *613 + - *614 - *38 requestBody: required: true content: application/json: - schema: *614 + schema: *615 examples: - user: *615 + user: *616 responses: '200': description: User was updated content: application/scim+json: - schema: *611 + schema: *612 examples: - user: *612 - '400': *597 - '401': *598 - '403': *599 + user: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92480,13 +92722,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: - - *613 + - *614 - *38 requestBody: required: true content: application/json: - schema: *616 + schema: *617 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92526,18 +92768,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *611 - examples: - userMultiValuedProperties: *612 - userSingleValuedProperties: *612 - disableUser: *612 - '400': *597 - '401': *598 - '403': *599 + schema: *612 + examples: + userMultiValuedProperties: *613 + userSingleValuedProperties: *613 + disableUser: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92557,17 +92799,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: - - *613 + - *614 - *38 responses: '204': description: User was deleted, no content - '400': *597 - '401': *598 - '403': *599 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92658,7 +92900,7 @@ paths: - 1 Resources: type: array - items: &617 + items: &618 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92905,22 +93147,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &618 + '404': &619 description: Resource not found content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '403': &619 + schema: *596 + '403': &620 description: Forbidden content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '400': *597 - '429': *600 + schema: *596 + '400': *598 + '429': *601 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92946,9 +93188,9 @@ paths: description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: &620 + default: &621 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92971,17 +93213,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *618 - '403': *619 - '500': *601 + '404': *619 + '403': *620 + '500': *602 '409': description: Conflict content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '400': *597 + schema: *596 + '400': *598 requestBody: required: true content: @@ -93076,17 +93318,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 - '404': *618 - '403': *619 + default: *621 + '404': *619 + '403': *620 '304': *35 x-github: githubCloudOnly: true @@ -93110,18 +93352,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 + default: *621 '304': *35 - '404': *618 - '403': *619 + '404': *619 + '403': *620 requestBody: required: true content: @@ -93232,19 +93474,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 + default: *621 '304': *35 - '404': *618 - '403': *619 - '400': *597 + '404': *619 + '403': *620 + '400': *598 '429': description: Response content: @@ -93340,12 +93582,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *134 - - *613 + - *614 responses: '204': description: Response - '404': *618 - '403': *619 + '404': *619 + '403': *620 '304': *35 x-github: githubCloudOnly: true @@ -93479,7 +93721,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &622 title: Search Result Text Matches type: array items: @@ -93643,7 +93885,7 @@ paths: enum: - author-date - committer-date - - &622 + - &623 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 @@ -93763,7 +94005,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *622 required: - sha - node_id @@ -93956,7 +94198,7 @@ paths: - interactions - created - updated - - *622 + - *623 - *17 - *18 responses: @@ -94045,6 +94287,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -94072,7 +94328,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *622 pull_request: type: object properties: @@ -94294,7 +94550,7 @@ paths: enum: - created - updated - - *622 + - *623 - *17 - *18 responses: @@ -94339,7 +94595,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *622 required: - id - node_id @@ -94425,7 +94681,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *623 - *17 - *18 responses: @@ -94662,7 +94918,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *622 temp_clone_token: type: string allow_merge_commit: @@ -94971,7 +95227,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *622 related: type: - array @@ -95166,7 +95422,7 @@ paths: - followers - repositories - joined - - *622 + - *623 - *17 - *18 responses: @@ -95276,7 +95532,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *622 blog: type: - string @@ -95358,7 +95614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &623 + - &624 name: team_id description: The unique identifier of the team. in: path @@ -95399,7 +95655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *623 + - *624 requestBody: required: true content: @@ -95500,7 +95756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *623 + - *624 responses: '204': description: Response @@ -95531,7 +95787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *623 + - *624 - *76 - *17 - *18 @@ -95544,7 +95800,7 @@ paths: type: array items: *294 examples: - default: *624 + default: *625 headers: Link: *37 x-github: @@ -95573,7 +95829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *623 + - *624 requestBody: required: true content: @@ -95636,7 +95892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *623 + - *624 - *296 responses: '200': @@ -95670,7 +95926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *623 + - *624 - *296 requestBody: required: false @@ -95696,7 +95952,7 @@ paths: application/json: schema: *294 examples: - default: *625 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95721,7 +95977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *623 + - *624 - *296 responses: '204': @@ -95751,7 +96007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *623 + - *624 - *296 - *76 - *17 @@ -95765,7 +96021,7 @@ paths: type: array items: *297 examples: - default: *626 + default: *627 headers: Link: *37 x-github: @@ -95794,7 +96050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 requestBody: required: true @@ -95846,7 +96102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 responses: @@ -95881,7 +96137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 requestBody: @@ -95907,7 +96163,7 @@ paths: application/json: schema: *297 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95932,7 +96188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 responses: @@ -95963,7 +96219,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: - - *623 + - *624 - *296 - *299 - name: content @@ -96022,7 +96278,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: - - *623 + - *624 - *296 - *299 requestBody: @@ -96084,7 +96340,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: - - *623 + - *624 - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -96142,7 +96398,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: - - *623 + - *624 - *296 requestBody: required: true @@ -96201,7 +96457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96239,7 +96495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *623 + - *624 - name: role description: Filters members returned by their role in the team. in: query @@ -96290,7 +96546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96327,7 +96583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96367,7 +96623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96404,7 +96660,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: - - *623 + - *624 - *174 responses: '200': @@ -96413,7 +96669,7 @@ paths: application/json: schema: *308 examples: - response-if-user-is-a-team-maintainer: *628 + response-if-user-is-a-team-maintainer: *629 '404': *6 x-github: githubCloudOnly: false @@ -96446,7 +96702,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: - - *623 + - *624 - *174 requestBody: required: false @@ -96474,7 +96730,7 @@ paths: application/json: schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *629 + response-if-users-membership-with-team-is-now-pending: *630 '403': description: Forbidden if team synchronization is set up '422': @@ -96508,7 +96764,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: - - *623 + - *624 - *174 responses: '204': @@ -96538,7 +96794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96550,7 +96806,7 @@ paths: type: array items: *309 examples: - default: *630 + default: *631 headers: Link: *37 '404': *6 @@ -96577,7 +96833,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: - - *623 + - *624 - *310 responses: '200': @@ -96586,7 +96842,7 @@ paths: application/json: schema: *309 examples: - default: *631 + default: *632 '404': description: Not Found if project is not managed by this team x-github: @@ -96611,7 +96867,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: - - *623 + - *624 - *310 requestBody: required: false @@ -96680,7 +96936,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: - - *623 + - *624 - *310 responses: '204': @@ -96708,7 +96964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96750,7 +97006,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: - - *623 + - *624 - *311 - *312 responses: @@ -96758,7 +97014,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *632 + schema: *633 examples: alternative-response-with-extra-repository-information: value: @@ -96909,7 +97165,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: - - *623 + - *624 - *311 - *312 requestBody: @@ -96961,7 +97217,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: - - *623 + - *624 - *311 - *312 responses: @@ -96992,7 +97248,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: - - *623 + - *624 responses: '200': description: Response @@ -97027,7 +97283,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: - - *623 + - *624 requestBody: required: true content: @@ -97119,7 +97375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -97131,7 +97387,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: *633 + response-if-child-teams-exist: *634 headers: Link: *37 '404': *6 @@ -97164,7 +97420,7 @@ paths: application/json: schema: oneOf: - - &635 + - &636 title: Private User description: Private User type: object @@ -97414,7 +97670,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *634 + - *635 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97574,7 +97830,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -97972,7 +98228,7 @@ paths: type: integer secrets: type: array - items: &636 + items: &637 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98092,7 +98348,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -98238,7 +98494,7 @@ paths: type: array items: *152 examples: - default: *637 + default: *638 '401': *23 '403': *27 '404': *6 @@ -98505,7 +98761,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98558,7 +98814,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &639 + default: &640 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98603,9 +98859,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *639 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -98644,7 +98900,7 @@ paths: type: array items: *416 examples: - default: *640 + default: *641 '304': *35 '500': *80 '401': *23 @@ -99610,7 +99866,7 @@ paths: type: array items: *244 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -99711,7 +99967,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: Email description: Email type: object @@ -99781,9 +100037,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -99860,7 +100116,7 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: default: value: @@ -100118,7 +100374,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: GPG Key description: A unique encryption key type: object @@ -100263,7 +100519,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &667 value: - id: 3 name: Octocat's GPG Key @@ -100348,9 +100604,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: &643 + default: &644 value: id: 3 name: Octocat's GPG Key @@ -100407,7 +100663,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: - - &644 + - &645 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100419,9 +100675,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *643 + default: *644 '404': *6 '304': *35 '403': *27 @@ -100444,7 +100700,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: - - *644 + - *645 responses: '204': description: Response @@ -100635,7 +100891,7 @@ paths: type: array items: *55 examples: - default: *645 + default: *646 headers: Link: *37 '404': *6 @@ -100899,7 +101155,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -100997,9 +101253,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101032,15 +101288,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: - - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: *647 + default: *648 '404': *6 '304': *35 '403': *27 @@ -101063,7 +101319,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: - - *510 + - *511 responses: '204': description: Response @@ -101096,7 +101352,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101175,7 +101431,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101237,9 +101493,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *37 '304': *35 @@ -102243,7 +102499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *239 - - *650 + - *651 responses: '204': description: Response @@ -102316,7 +102572,7 @@ paths: type: array items: *50 examples: - default: *651 + default: *652 headers: Link: *37 '304': *35 @@ -102358,7 +102614,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *18 - *17 responses: @@ -102370,8 +102626,8 @@ paths: type: array items: *244 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102400,7 +102656,7 @@ paths: application/json: schema: *244 examples: - default: &667 + default: &668 value: id: 40201 name: octo-name @@ -102852,9 +103108,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *655 + default: *656 headers: Link: *37 '304': *35 @@ -102967,7 +103223,7 @@ paths: type: array items: *55 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -103325,7 +103581,7 @@ paths: type: array items: *486 examples: - default: *656 + default: *657 headers: Link: *37 '304': *35 @@ -103404,7 +103660,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -103421,7 +103677,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -103484,9 +103740,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -103574,7 +103830,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103594,7 +103850,7 @@ paths: - title - created_at examples: - default: &668 + default: &669 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103661,9 +103917,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103694,7 +103950,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103706,9 +103962,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -103731,7 +103987,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: - - *661 + - *662 responses: '204': description: Response @@ -103760,7 +104016,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: - - &669 + - &670 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 @@ -103785,11 +104041,11 @@ paths: type: array items: *55 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array - items: &670 + items: &671 title: Starred Repository description: Starred Repository type: object @@ -104156,10 +104412,10 @@ paths: application/json: schema: oneOf: + - *636 - *635 - - *634 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -104194,7 +104450,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -104254,7 +104510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -104301,11 +104557,11 @@ paths: application/json: schema: oneOf: + - *636 - *635 - - *634 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -104469,7 +104725,7 @@ paths: type: array items: *244 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -104873,9 +105129,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *666 + default: *667 headers: Link: *37 x-github: @@ -105057,7 +105313,7 @@ paths: type: array items: *50 examples: - default: *651 + default: *652 headers: Link: *37 x-github: @@ -105096,7 +105352,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *174 - *18 - *17 @@ -105109,10 +105365,10 @@ paths: type: array items: *244 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105142,7 +105398,7 @@ paths: application/json: schema: *244 examples: - default: *667 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105825,9 +106081,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *37 x-github: @@ -105857,9 +106113,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: *668 + default: *669 headers: Link: *37 x-github: @@ -105884,7 +106140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *174 - - *669 + - *670 - *76 - *17 - *18 @@ -105896,11 +106152,11 @@ paths: schema: anyOf: - type: array - items: *670 + items: *671 - type: array items: *55 examples: - default-response: *662 + default-response: *663 headers: Link: *37 x-github: @@ -106060,7 +106316,7 @@ webhooks: type: string enum: - disabled - enterprise: &671 + enterprise: &672 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106129,7 +106385,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &672 + installation: &673 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106150,7 +106406,7 @@ webhooks: required: - id - node_id - organization: &673 + organization: &674 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106223,7 +106479,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &674 + repository: &675 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -107136,10 +107392,10 @@ webhooks: type: string enum: - enabled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -107215,11 +107471,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: &675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: &676 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) @@ -107442,11 +107698,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: *675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: *676 sender: *4 required: - action @@ -107634,11 +107890,11 @@ webhooks: - everyone required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: *675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: *676 sender: *4 required: - action @@ -107711,7 +107967,7 @@ webhooks: required: true content: application/json: - schema: &678 + schema: &679 title: Exemption request cancellation event type: object properties: @@ -107719,11 +107975,11 @@ webhooks: type: string enum: - cancelled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: &676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: &677 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107877,7 +108133,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &677 + items: &678 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107983,7 +108239,7 @@ webhooks: required: true content: application/json: - schema: &679 + schema: &680 title: Exemption request completed event type: object properties: @@ -107991,11 +108247,11 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 sender: *4 required: - action @@ -108067,7 +108323,7 @@ webhooks: required: true content: application/json: - schema: &680 + schema: &681 title: Exemption request created event type: object properties: @@ -108075,11 +108331,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 sender: *4 required: - action @@ -108151,7 +108407,7 @@ webhooks: required: true content: application/json: - schema: &681 + schema: &682 title: Exemption response dismissed event type: object properties: @@ -108159,12 +108415,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 - exemption_response: *677 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 + exemption_response: *678 sender: *4 required: - action @@ -108238,7 +108494,7 @@ webhooks: required: true content: application/json: - schema: &682 + schema: &683 title: Exemption response submitted event type: object properties: @@ -108246,12 +108502,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 - exemption_response: *677 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 + exemption_response: *678 sender: *4 required: - action @@ -108324,7 +108580,7 @@ webhooks: required: true content: application/json: - schema: *678 + schema: *679 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108391,7 +108647,7 @@ webhooks: required: true content: application/json: - schema: *679 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108458,7 +108714,7 @@ webhooks: required: true content: application/json: - schema: *680 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108525,7 +108781,7 @@ webhooks: required: true content: application/json: - schema: *681 + schema: *682 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108593,7 +108849,7 @@ webhooks: required: true content: application/json: - schema: *682 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108671,7 +108927,7 @@ webhooks: type: string enum: - completed - check_run: &684 + check_run: &685 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108784,7 +109040,7 @@ webhooks: - examples: - neutral - deployment: *683 + deployment: *684 details_url: type: string examples: @@ -108882,9 +109138,9 @@ webhooks: - output - app - pull_requests - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -109277,10 +109533,10 @@ webhooks: type: string enum: - created - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -109676,10 +109932,10 @@ webhooks: type: string enum: - requested_action - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 requested_action: description: The action requested by the user. type: object @@ -110084,10 +110340,10 @@ webhooks: type: string enum: - rerequested - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -111079,10 +111335,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -111767,10 +112023,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -112449,10 +112705,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -112759,20 +113015,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &685 + commit_oid: &686 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: *671 - installation: *672 - organization: *673 - ref: &686 + enterprise: *672 + installation: *673 + organization: *674 + ref: &687 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: *674 + repository: *675 sender: *4 required: - action @@ -113100,12 +113356,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113378,12 +113634,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113715,12 +113971,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113989,9 +114245,9 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113999,7 +114255,7 @@ webhooks: type: - string - 'null' - repository: *674 + repository: *675 sender: *4 required: - action @@ -114231,12 +114487,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -114498,10 +114754,10 @@ webhooks: - updated_at - author_association - body - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -114582,18 +114838,18 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *673 - pusher_type: &687 + organization: *674 + pusher_type: &688 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &688 + ref: &689 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114603,7 +114859,7 @@ webhooks: enum: - tag - branch - repository: *674 + repository: *675 sender: *4 required: - ref @@ -114686,9 +114942,9 @@ webhooks: enum: - created definition: *258 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114773,9 +115029,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114853,9 +115109,9 @@ webhooks: enum: - updated definition: *258 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114932,10 +115188,10 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - repository: *674 - organization: *673 + enterprise: *672 + installation: *673 + repository: *675 + organization: *674 sender: *4 new_property_values: type: array @@ -115020,18 +115276,18 @@ webhooks: title: delete event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - pusher_type: *687 - ref: *688 + enterprise: *672 + installation: *673 + organization: *674 + pusher_type: *688 + ref: *689 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *674 + repository: *675 sender: *4 required: - ref @@ -115116,10 +115372,10 @@ webhooks: enum: - auto_dismissed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115204,10 +115460,10 @@ webhooks: enum: - auto_reopened alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115292,10 +115548,10 @@ webhooks: enum: - created alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115378,10 +115634,10 @@ webhooks: enum: - dismissed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115464,10 +115720,10 @@ webhooks: enum: - fixed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115551,10 +115807,10 @@ webhooks: enum: - reintroduced alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115637,10 +115893,10 @@ webhooks: enum: - reopened alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115717,9 +115973,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - key: &689 + enterprise: *672 + installation: *673 + key: &690 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115757,8 +116013,8 @@ webhooks: - verified - created_at - read_only - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -115835,11 +116091,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - key: *689 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + key: *690 + organization: *674 + repository: *675 sender: *4 required: - action @@ -116411,12 +116667,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: &693 + workflow: &694 title: Workflow type: - object @@ -117157,10 +117413,10 @@ webhooks: deployment: *448 pull_requests: type: array - items: *529 - repository: *674 - organization: *673 - installation: *672 + items: *530 + repository: *675 + organization: *674 + installation: *673 sender: *4 responses: '200': @@ -117231,7 +117487,7 @@ webhooks: type: string enum: - approved - approver: &690 + approver: &691 type: object properties: avatar_url: @@ -117274,11 +117530,11 @@ webhooks: type: string comment: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - reviewers: &691 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + reviewers: &692 type: array items: type: object @@ -117359,7 +117615,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &692 + workflow_job_run: &693 type: object properties: conclusion: @@ -118105,18 +118361,18 @@ webhooks: type: string enum: - rejected - approver: *690 + approver: *691 comment: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - reviewers: *691 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + reviewers: *692 sender: *4 since: type: string - workflow_job_run: *692 + workflow_job_run: *693 workflow_job_runs: type: array items: @@ -118833,13 +119089,13 @@ webhooks: type: string enum: - requested - enterprise: *671 + enterprise: *672 environment: type: string - installation: *672 - organization: *673 - repository: *674 - requestor: &698 + installation: *673 + organization: *674 + repository: *675 + requestor: &699 title: User type: - object @@ -120782,12 +121038,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Deployment Workflow Run type: @@ -121478,7 +121734,7 @@ webhooks: type: string enum: - answered - answer: &696 + answer: &697 type: object properties: author_association: @@ -121638,7 +121894,7 @@ webhooks: - created_at - updated_at - body - discussion: &694 + discussion: &695 title: Discussion description: A Discussion in a repository. type: object @@ -121956,10 +122212,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122086,11 +122342,11 @@ webhooks: - from required: - category - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122173,11 +122429,11 @@ webhooks: type: string enum: - closed - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122259,7 +122515,7 @@ webhooks: type: string enum: - created - comment: &695 + comment: &696 type: object properties: author_association: @@ -122419,11 +122675,11 @@ webhooks: - updated_at - body - reactions - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122506,12 +122762,12 @@ webhooks: type: string enum: - deleted - comment: *695 - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + comment: *696 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122606,12 +122862,12 @@ webhooks: - from required: - body - comment: *695 - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + comment: *696 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122695,11 +122951,11 @@ webhooks: type: string enum: - created - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122781,11 +123037,11 @@ webhooks: type: string enum: - deleted - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122885,11 +123141,11 @@ webhooks: type: string required: - from - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122971,10 +123227,10 @@ webhooks: type: string enum: - labeled - discussion: *694 - enterprise: *671 - installation: *672 - label: &697 + discussion: *695 + enterprise: *672 + installation: *673 + label: &698 title: Label type: object properties: @@ -123007,8 +123263,8 @@ webhooks: - color - default - description - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123091,11 +123347,11 @@ webhooks: type: string enum: - locked - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123177,11 +123433,11 @@ webhooks: type: string enum: - pinned - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123263,11 +123519,11 @@ webhooks: type: string enum: - reopened - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123352,16 +123608,16 @@ webhooks: changes: type: object properties: - new_discussion: *694 - new_repository: *674 + new_discussion: *695 + new_repository: *675 required: - new_discussion - new_repository - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123444,10 +123700,10 @@ webhooks: type: string enum: - unanswered - discussion: *694 - old_answer: *696 - organization: *673 - repository: *674 + discussion: *695 + old_answer: *697 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123529,12 +123785,12 @@ webhooks: type: string enum: - unlabeled - discussion: *694 - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123617,11 +123873,11 @@ webhooks: type: string enum: - unlocked - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123703,11 +123959,11 @@ webhooks: type: string enum: - unpinned - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123780,7 +124036,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *671 + enterprise: *672 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124458,9 +124714,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - forkee @@ -124606,9 +124862,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pages: description: The pages that were updated. type: array @@ -124646,7 +124902,7 @@ webhooks: - action - sha - html_url - repository: *674 + repository: *675 sender: *4 required: - pages @@ -124722,10 +124978,10 @@ webhooks: type: string enum: - created - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: &699 + organization: *674 + repositories: &700 description: An array of repository objects that the installation can access. type: array @@ -124751,8 +125007,8 @@ webhooks: - name - full_name - private - repository: *674 - requester: *698 + repository: *675 + requester: *699 sender: *4 required: - action @@ -124827,11 +125083,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -124908,11 +125164,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -124989,10 +125245,10 @@ webhooks: type: string enum: - added - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories_added: &700 + organization: *674 + repositories_added: &701 description: An array of repository objects, which were added to the installation. type: array @@ -125038,15 +125294,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *674 - repository_selection: &701 + repository: *675 + repository_selection: &702 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *698 + requester: *699 sender: *4 required: - action @@ -125125,10 +125381,10 @@ webhooks: type: string enum: - removed - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories_added: *700 + organization: *674 + repositories_added: *701 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125155,9 +125411,9 @@ webhooks: - name - full_name - private - repository: *674 - repository_selection: *701 - requester: *698 + repository: *675 + repository_selection: *702 + requester: *699 sender: *4 required: - action @@ -125236,11 +125492,11 @@ webhooks: type: string enum: - suspend - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -125423,10 +125679,10 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 target_type: type: string @@ -125505,11 +125761,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -125757,8 +126013,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126575,6 +126831,20 @@ 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 @@ -126934,8 +127204,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -127015,7 +127285,7 @@ webhooks: type: string enum: - deleted - comment: &702 + comment: &703 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127182,8 +127452,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127996,6 +128266,20 @@ 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 @@ -128357,8 +128641,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -128438,7 +128722,7 @@ webhooks: type: string enum: - edited - changes: &727 + changes: &728 description: The changes to the comment. type: object properties: @@ -128450,9 +128734,9 @@ webhooks: type: string required: - from - comment: *702 - enterprise: *671 - installation: *672 + comment: *703 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129268,6 +129552,20 @@ 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 @@ -129627,8 +129925,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -129710,10 +130008,10 @@ webhooks: type: string enum: - assigned - assignee: *698 - enterprise: *671 - installation: *672 - issue: &705 + assignee: *699 + enterprise: *672 + installation: *673 + issue: &706 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130525,6 +130823,20 @@ 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 @@ -130643,8 +130955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -130724,8 +131036,8 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131542,6 +131854,20 @@ 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 @@ -131803,8 +132129,8 @@ webhooks: required: - state - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -131883,8 +132209,8 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132690,6 +133016,20 @@ 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 @@ -132807,8 +133147,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -132887,8 +133227,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133719,6 +134059,20 @@ 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 @@ -133815,7 +134169,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &703 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133958,8 +134312,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -134058,8 +134412,8 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134871,6 +135225,20 @@ 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 @@ -134989,9 +135357,9 @@ webhooks: - active_lock_reason - body - reactions - label: *697 - organization: *673 - repository: *674 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -135071,8 +135439,8 @@ webhooks: type: string enum: - labeled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135883,6 +136251,20 @@ 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 @@ -136001,9 +136383,9 @@ webhooks: - active_lock_reason - body - reactions - label: *697 - organization: *673 - repository: *674 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -136083,8 +136465,8 @@ webhooks: type: string enum: - locked - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136920,6 +137302,20 @@ 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 @@ -137015,8 +137411,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -137095,8 +137491,8 @@ webhooks: type: string enum: - milestoned - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137926,6 +138322,20 @@ 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 @@ -138021,9 +138431,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *703 - organization: *673 - repository: *674 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -138915,6 +139325,20 @@ 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 @@ -139509,8 +139933,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140322,6 +140746,20 @@ 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 @@ -140439,8 +140877,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -140520,9 +140958,9 @@ webhooks: type: string enum: - pinned - enterprise: *671 - installation: *672 - issue: &704 + enterprise: *672 + installation: *673 + issue: &705 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141328,6 +141766,20 @@ 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 @@ -141445,8 +141897,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -141525,8 +141977,8 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142360,6 +142812,20 @@ 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 @@ -142456,8 +142922,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -143346,6 +143812,20 @@ 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 @@ -143943,11 +144423,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *671 - installation: *672 - issue: *704 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *705 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144028,7 +144508,7 @@ webhooks: type: string enum: - unassigned - assignee: &730 + assignee: &731 title: User type: - object @@ -144100,11 +144580,11 @@ webhooks: required: - login - id - enterprise: *671 - installation: *672 - issue: *705 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *706 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144183,12 +144663,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *671 - installation: *672 - issue: *705 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *706 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144268,8 +144748,8 @@ webhooks: type: string enum: - unlocked - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145103,6 +145583,20 @@ 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 @@ -145198,8 +145692,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145279,11 +145773,11 @@ webhooks: type: string enum: - unpinned - enterprise: *671 - installation: *672 - issue: *704 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *705 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145362,11 +145856,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145444,11 +145938,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145558,11 +146052,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145644,9 +146138,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: &706 + enterprise: *672 + installation: *673 + marketplace_purchase: &707 title: Marketplace Purchase type: object required: @@ -145734,8 +146228,8 @@ webhooks: type: integer unit_count: type: integer - organization: *673 - previous_marketplace_purchase: &707 + organization: *674 + previous_marketplace_purchase: &708 title: Marketplace Purchase type: object properties: @@ -145819,7 +146313,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -145899,10 +146393,10 @@ webhooks: - changed effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145990,7 +146484,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -146072,10 +146566,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146161,7 +146655,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -146242,8 +146736,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 marketplace_purchase: title: Marketplace Purchase type: object @@ -146329,9 +146823,9 @@ webhooks: type: integer unit_count: type: integer - organization: *673 - previous_marketplace_purchase: *707 - repository: *674 + organization: *674 + previous_marketplace_purchase: *708 + repository: *675 sender: *4 required: - action @@ -146411,12 +146905,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 - previous_marketplace_purchase: *707 - repository: *674 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 + previous_marketplace_purchase: *708 + repository: *675 sender: *4 required: - action @@ -146518,11 +147012,11 @@ webhooks: type: string required: - to - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146624,11 +147118,11 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146707,11 +147201,11 @@ webhooks: type: string enum: - removed - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146789,11 +147283,11 @@ webhooks: type: string enum: - added - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146871,7 +147365,7 @@ webhooks: required: - login - id - team: &708 + team: &709 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147064,11 +147558,11 @@ webhooks: type: string enum: - removed - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147147,7 +147641,7 @@ webhooks: required: - login - id - team: *708 + team: *709 required: - action - scope @@ -147229,8 +147723,8 @@ webhooks: type: string enum: - checks_requested - installation: *672 - merge_group: &709 + installation: *673 + merge_group: &710 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147256,8 +147750,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147343,10 +147837,10 @@ webhooks: - merged - invalidated - dequeued - installation: *672 - merge_group: *709 - organization: *673 - repository: *674 + installation: *673 + merge_group: *710 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147419,7 +147913,7 @@ webhooks: type: string enum: - deleted - enterprise: *671 + enterprise: *672 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147527,12 +148021,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *672 - organization: *673 + installation: *673 + organization: *674 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -147612,11 +148106,11 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147695,9 +148189,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - milestone: &710 + enterprise: *672 + installation: *673 + milestone: &711 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147839,8 +148333,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147919,11 +148413,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148033,11 +148527,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148117,11 +148611,11 @@ webhooks: type: string enum: - opened - enterprise: *671 - installation: *672 - milestone: *710 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *711 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148200,11 +148694,11 @@ webhooks: type: string enum: - blocked - blocked_user: *698 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + blocked_user: *699 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148283,11 +148777,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *698 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + blocked_user: *699 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148366,9 +148860,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - membership: &711 + enterprise: *672 + installation: *673 + membership: &712 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148462,8 +148956,8 @@ webhooks: - role - organization_url - user - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148541,11 +149035,11 @@ webhooks: type: string enum: - member_added - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148624,8 +149118,8 @@ webhooks: type: string enum: - member_invited - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148747,10 +149241,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 - user: *698 + user: *699 required: - action - invitation @@ -148828,11 +149322,11 @@ webhooks: type: string enum: - member_removed - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148919,11 +149413,11 @@ webhooks: properties: from: type: string - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148999,9 +149493,9 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 package: description: Information about the package. type: object @@ -149524,7 +150018,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &712 + items: &713 title: Ruby Gems metadata type: object properties: @@ -149621,7 +150115,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -149697,9 +150191,9 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 package: description: Information about the package. type: object @@ -150061,7 +150555,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *712 + items: *713 source_url: type: string format: uri @@ -150132,7 +150626,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -150313,12 +150807,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *671 + enterprise: *672 id: type: integer - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - id @@ -150398,7 +150892,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &713 + personal_access_token_request: &714 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150548,10 +151042,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *671 - organization: *673 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150630,11 +151124,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *713 - enterprise: *671 - organization: *673 + personal_access_token_request: *714 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150712,11 +151206,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *713 - enterprise: *671 - organization: *673 + personal_access_token_request: *714 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150793,11 +151287,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *713 - organization: *673 - enterprise: *671 + personal_access_token_request: *714 + organization: *674 + enterprise: *672 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150901,7 +151395,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *714 + last_response: *715 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150933,8 +151427,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 zen: description: Random string of GitHub zen. @@ -151179,10 +151673,10 @@ webhooks: - from required: - note - enterprise: *671 - installation: *672 - organization: *673 - project_card: &715 + enterprise: *672 + installation: *673 + organization: *674 + project_card: &716 title: Project Card type: object properties: @@ -151305,7 +151799,7 @@ webhooks: - creator - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -151386,11 +151880,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project_card: *715 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_card: *716 + repository: *675 sender: *4 required: - action @@ -151470,9 +151964,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 project_card: title: Project Card type: object @@ -151602,7 +152096,7 @@ webhooks: repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -151696,11 +152190,11 @@ webhooks: - from required: - note - enterprise: *671 - installation: *672 - organization: *673 - project_card: *715 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_card: *716 + repository: *675 sender: *4 required: - action @@ -151794,9 +152288,9 @@ webhooks: - from required: - column_id - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 project_card: allOf: - title: Project Card @@ -151993,7 +152487,7 @@ webhooks: type: string required: - after_id - repository: *674 + repository: *675 sender: *4 required: - action @@ -152073,10 +152567,10 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - organization: *673 - project: &717 + enterprise: *672 + installation: *673 + organization: *674 + project: &718 title: Project type: object properties: @@ -152203,7 +152697,7 @@ webhooks: - creator - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -152283,10 +152777,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project_column: &716 + enterprise: *672 + installation: *673 + organization: *674 + project_column: &717 title: Project Column type: object properties: @@ -152326,7 +152820,7 @@ webhooks: - name - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -152405,14 +152899,14 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -152501,11 +152995,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 + repository: *675 sender: *4 required: - action @@ -152585,11 +153079,11 @@ webhooks: type: string enum: - moved - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 + repository: *675 sender: *4 required: - action @@ -152669,11 +153163,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -152753,14 +153247,14 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - project: *717 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -152861,11 +153355,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -152944,11 +153438,11 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -153029,9 +153523,9 @@ webhooks: type: string enum: - closed - installation: *672 - organization: *673 - projects_v2: &718 + installation: *673 + organization: *674 + projects_v2: &719 title: Projects v2 Project description: A projects v2 project type: object @@ -153179,9 +153673,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153262,9 +153756,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153385,9 +153879,9 @@ webhooks: type: string to: type: string - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153470,7 +153964,7 @@ webhooks: type: string enum: - archived - changes: &722 + changes: &723 type: object properties: archived_at: @@ -153486,9 +153980,9 @@ webhooks: - string - 'null' format: date-time - installation: *672 - organization: *673 - projects_v2_item: &719 + installation: *673 + organization: *674 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -153627,9 +154121,9 @@ webhooks: - 'null' to: type: string - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153711,9 +154205,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153794,9 +154288,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153901,7 +154395,7 @@ webhooks: oneOf: - type: string - type: integer - - &720 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153921,7 +154415,7 @@ webhooks: required: - id - name - - &721 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153950,8 +154444,8 @@ webhooks: oneOf: - type: string - type: integer - - *720 - *721 + - *722 type: - 'null' - string @@ -153974,9 +154468,9 @@ webhooks: - 'null' required: - body - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154073,9 +154567,9 @@ webhooks: type: - string - 'null' - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154158,10 +154652,10 @@ webhooks: type: string enum: - restored - changes: *722 - installation: *672 - organization: *673 - projects_v2_item: *719 + changes: *723 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154243,9 +154737,9 @@ webhooks: type: string enum: - reopened - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -154326,9 +154820,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2_status_update: &723 + installation: *673 + organization: *674 + projects_v2_status_update: &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154463,9 +154957,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2_status_update: *723 + installation: *673 + organization: *674 + projects_v2_status_update: *724 sender: *4 required: - action @@ -154611,9 +155105,9 @@ webhooks: - string - 'null' format: date - installation: *672 - organization: *673 - projects_v2_status_update: *723 + installation: *673 + organization: *674 + projects_v2_status_update: *724 sender: *4 required: - action @@ -154684,10 +155178,10 @@ webhooks: title: public event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - repository @@ -154764,13 +155258,13 @@ webhooks: type: string enum: - assigned - assignee: *698 - enterprise: *671 - installation: *672 - number: &724 + assignee: *699 + enterprise: *672 + installation: *673 + number: &725 description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -157119,7 +157613,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -157201,11 +157695,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -159547,7 +160041,7 @@ webhooks: - draft reason: type: string - repository: *674 + repository: *675 sender: *4 required: - action @@ -159629,11 +160123,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -161975,7 +162469,7 @@ webhooks: - draft reason: type: string - repository: *674 + repository: *675 sender: *4 required: - action @@ -162057,13 +162551,13 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: &725 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: &726 allOf: - - *529 + - *530 - type: object properties: allow_auto_merge: @@ -162125,7 +162619,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *674 + repository: *675 sender: *4 required: - action @@ -162206,12 +162700,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -162291,11 +162785,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *671 + enterprise: *672 milestone: *428 - number: *724 - organization: *673 - pull_request: &726 + number: *725 + organization: *674 + pull_request: &727 title: Pull Request type: object properties: @@ -164622,7 +165116,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -164701,11 +165195,11 @@ webhooks: type: string enum: - dequeued - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -167051,7 +167545,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *674 + repository: *675 sender: *4 required: - action @@ -167175,12 +167669,12 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -167260,11 +167754,11 @@ webhooks: type: string enum: - enqueued - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -169595,7 +170089,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -169675,11 +170169,11 @@ webhooks: type: string enum: - labeled - enterprise: *671 - installation: *672 - label: *697 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + label: *698 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -172027,7 +172521,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -172108,10 +172602,10 @@ webhooks: type: string enum: - locked - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -174457,7 +174951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -174537,12 +175031,12 @@ webhooks: type: string enum: - milestoned - enterprise: *671 + enterprise: *672 milestone: *428 - number: *724 - organization: *673 - pull_request: *726 - repository: *674 + number: *725 + organization: *674 + pull_request: *727 + repository: *675 sender: *4 required: - action @@ -174621,12 +175115,12 @@ webhooks: type: string enum: - opened - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -174707,12 +175201,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -174792,12 +175286,12 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -175172,9 +175666,9 @@ webhooks: - start_side - side - reactions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -177404,7 +177898,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -177484,7 +177978,7 @@ webhooks: type: string enum: - deleted - comment: &728 + comment: &729 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. @@ -177777,9 +178271,9 @@ webhooks: - start_side - side - reactions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -179997,7 +180491,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -180077,11 +180571,11 @@ webhooks: type: string enum: - edited - changes: *727 - comment: *728 - enterprise: *671 - installation: *672 - organization: *673 + changes: *728 + comment: *729 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -182302,7 +182796,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -182383,9 +182877,9 @@ webhooks: type: string enum: - dismissed - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -184618,7 +185112,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 review: description: The review that was affected. type: object @@ -184864,9 +185358,9 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -186980,8 +187474,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 - review: &729 + repository: *675 + review: &730 description: The review that was affected. type: object properties: @@ -187214,12 +187708,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -189566,7 +190060,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_reviewer: title: User type: @@ -189652,12 +190146,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -192011,7 +192505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192206,12 +192700,12 @@ webhooks: type: string enum: - review_requested - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -194560,7 +195054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_reviewer: title: User type: @@ -194647,12 +195141,12 @@ webhooks: type: string enum: - review_requested - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -196992,7 +197486,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197176,9 +197670,9 @@ webhooks: type: string enum: - submitted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -199414,8 +199908,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 - review: *729 + repository: *675 + review: *730 sender: *4 required: - action @@ -199495,9 +199989,9 @@ webhooks: type: string enum: - resolved - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -201628,7 +202122,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 sender: *4 thread: type: object @@ -202020,9 +202514,9 @@ webhooks: type: string enum: - unresolved - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -204136,7 +204630,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 sender: *4 thread: type: object @@ -204530,10 +205024,10 @@ webhooks: type: string before: type: string - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -206868,7 +207362,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -206950,11 +207444,11 @@ webhooks: type: string enum: - unassigned - assignee: *730 - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + assignee: *731 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -209304,7 +209798,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -209383,11 +209877,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *671 - installation: *672 - label: *697 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + label: *698 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -211726,7 +212220,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -211807,10 +212301,10 @@ webhooks: type: string enum: - unlocked - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -214139,7 +214633,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -214342,7 +214836,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *671 + enterprise: *672 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214437,8 +214931,8 @@ webhooks: - url - author - committer - installation: *672 - organization: *673 + installation: *673 + organization: *674 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215026,9 +215520,9 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 registry_package: type: object properties: @@ -215505,7 +215999,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *712 + items: *713 summary: type: string tag_name: @@ -215561,7 +216055,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -215639,9 +216133,9 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 registry_package: type: object properties: @@ -215953,7 +216447,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *712 + items: *713 summary: type: string tag_name: @@ -216003,7 +216497,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -216080,10 +216574,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - release: &731 + enterprise: *672 + installation: *673 + organization: *674 + release: &732 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216399,7 +216893,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *674 + repository: *675 sender: *4 required: - action @@ -216476,11 +216970,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -216588,11 +217082,11 @@ webhooks: type: boolean required: - to - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -216670,9 +217164,9 @@ webhooks: type: string enum: - prereleased - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216993,7 +217487,7 @@ webhooks: - string - 'null' format: uri - repository: *674 + repository: *675 sender: *4 required: - action @@ -217069,10 +217563,10 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - release: &732 + enterprise: *672 + installation: *673 + organization: *674 + release: &733 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217390,7 +217884,7 @@ webhooks: - string - 'null' format: uri - repository: *674 + repository: *675 sender: *4 required: - action @@ -217466,11 +217960,11 @@ webhooks: type: string enum: - released - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -217546,11 +218040,11 @@ webhooks: type: string enum: - unpublished - enterprise: *671 - installation: *672 - organization: *673 - release: *732 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *733 + repository: *675 sender: *4 required: - action @@ -217626,11 +218120,11 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - repository_advisory: *583 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + repository_advisory: *584 sender: *4 required: - action @@ -217706,11 +218200,11 @@ webhooks: type: string enum: - reported - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - repository_advisory: *583 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + repository_advisory: *584 sender: *4 required: - action @@ -217786,10 +218280,10 @@ webhooks: type: string enum: - archived - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -217866,10 +218360,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -217947,10 +218441,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218035,10 +218529,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218153,10 +218647,10 @@ webhooks: - 'null' items: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218228,10 +218722,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 status: type: string @@ -218312,10 +218806,10 @@ webhooks: type: string enum: - privatized - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218392,10 +218886,10 @@ webhooks: type: string enum: - publicized - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218489,10 +218983,10 @@ webhooks: - name required: - repository - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218572,10 +219066,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 sender: *4 required: @@ -218654,10 +219148,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 sender: *4 required: @@ -218736,10 +219230,10 @@ webhooks: type: string enum: - edited - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 changes: type: object @@ -219047,10 +219541,10 @@ webhooks: - from required: - owner - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219128,10 +219622,10 @@ webhooks: type: string enum: - unarchived - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219209,7 +219703,7 @@ webhooks: type: string enum: - create - alert: &733 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219333,10 +219827,10 @@ webhooks: type: string enum: - open - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219546,10 +220040,10 @@ webhooks: type: string enum: - dismissed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219627,11 +220121,11 @@ webhooks: type: string enum: - reopen - alert: *733 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *734 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219833,10 +220327,10 @@ webhooks: enum: - fixed - open - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219914,7 +220408,7 @@ webhooks: type: string enum: - created - alert: &734 + alert: &735 type: object properties: number: *81 @@ -220018,10 +220512,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220102,11 +220596,11 @@ webhooks: type: string enum: - created - alert: *734 - installation: *672 - location: *735 - organization: *673 - repository: *674 + alert: *735 + installation: *673 + location: *736 + organization: *674 + repository: *675 sender: *4 required: - location @@ -220344,11 +220838,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220426,11 +220920,11 @@ webhooks: type: string enum: - reopened - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220508,11 +221002,11 @@ webhooks: type: string enum: - resolved - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220590,11 +221084,11 @@ webhooks: type: string enum: - validated - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220670,11 +221164,11 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - security_advisory: &736 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220860,11 +221354,11 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - security_advisory: *736 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + security_advisory: *737 sender: *4 required: - action @@ -220937,10 +221431,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221127,9 +221621,9 @@ webhooks: type: object properties: security_and_analysis: *263 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: *324 sender: *4 required: @@ -221208,12 +221702,12 @@ webhooks: type: string enum: - cancelled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: &737 + sponsorship: &738 type: object properties: created_at: @@ -221518,12 +222012,12 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - sponsorship @@ -221611,12 +222105,12 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221693,17 +222187,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &738 + effective_date: &739 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: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - sponsorship @@ -221777,7 +222271,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &739 + changes: &740 type: object properties: tier: @@ -221821,13 +222315,13 @@ webhooks: - from required: - tier - effective_date: *738 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + effective_date: *739 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221904,13 +222398,13 @@ webhooks: type: string enum: - tier_changed - changes: *739 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + changes: *740 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221984,10 +222478,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222071,10 +222565,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222507,15 +223001,15 @@ webhooks: type: - string - 'null' - enterprise: *671 + enterprise: *672 id: description: The unique identifier of the status. type: integer - installation: *672 + installation: *673 name: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 sha: description: The Commit SHA. @@ -222631,9 +223125,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222723,9 +223217,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222815,9 +223309,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222907,9 +223401,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222986,12 +223480,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - team: &740 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223184,9 +223678,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -223656,7 +224150,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -223732,9 +224226,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -224204,7 +224698,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -224281,9 +224775,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -224753,7 +225247,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -224897,9 +225391,9 @@ webhooks: - from required: - permissions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -225369,7 +225863,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - changes @@ -225447,9 +225941,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -225919,7 +226413,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -225995,10 +226489,10 @@ webhooks: type: string enum: - started - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -226071,17 +226565,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *671 + enterprise: *672 inputs: type: - object - 'null' additionalProperties: true - installation: *672 - organization: *673 + installation: *673 + organization: *674 ref: type: string - repository: *674 + repository: *675 sender: *4 workflow: type: string @@ -226163,10 +226657,10 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: allOf: @@ -226501,10 +226995,10 @@ webhooks: type: string enum: - in_progress - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: allOf: @@ -226865,10 +227359,10 @@ webhooks: type: string enum: - queued - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: type: object @@ -227093,10 +227587,10 @@ webhooks: type: string enum: - waiting - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: type: object @@ -227323,12 +227817,12 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -228347,12 +228841,12 @@ webhooks: type: string enum: - in_progress - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -229356,12 +229850,12 @@ webhooks: type: string enum: - requested - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index e6d572dfe..8b387d633 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -39200,6 +39200,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": [ @@ -57091,6 +57111,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": [ @@ -63683,6 +63723,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": [ @@ -107259,6 +107319,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": [ @@ -119319,6 +119399,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": [ @@ -321947,6 +322047,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": [ @@ -344840,6 +344960,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": [ @@ -347908,6 +348048,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": [ @@ -354964,6 +355124,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": [ @@ -359532,6 +359712,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": [ @@ -363897,6 +364097,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": [ @@ -366947,6 +367167,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": [ @@ -370008,6 +370248,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": [ @@ -372866,6 +373126,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": [ @@ -387543,610 +387823,12644 @@ } } } - } - }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] - }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - } - } - } - } - } + } + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDg6UmVhY3Rpb24x" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "content": { + "description": "The reaction to use", + "type": "string", + "enum": [ + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "rocket", + "eyes" + ], + "examples": [ + "heart" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app", + "type": "integer", + "examples": [ + 5 + ] + }, + "client_secret": { + "type": "string", + "examples": [ + "\"1d4b2097ac622ba702d19de498f005747a8b21d3\"" + ] + }, + "webhook_secret": { + "type": [ + "string", + "null" + ], + "examples": [ + "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"" + ] + }, + "pem": { + "type": "string", + "examples": [ + "\"-----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", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + } + }, + "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" + } + } + } + } + } }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDg6UmVhY3Rpb24x" - ] + "message": { + "type": "string" }, - "user": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] + "documentation_url": { + "type": "string" }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": [ - "heart" - ] + "url": { + "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" } } } @@ -388158,8 +400472,8 @@ "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Validation Error Simple", + "description": "Validation Error Simple", "type": "object", "required": [ "message", @@ -388175,128 +400489,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } }, @@ -400506,6 +412734,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": [ @@ -525993,6 +538241,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" }, @@ -578578,6 +590846,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": [ @@ -612826,6 +625114,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": [ @@ -616397,6 +628705,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": [ @@ -619970,6 +632298,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": [ @@ -630890,6 +643238,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": [ @@ -634463,6 +646831,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": [ @@ -848669,6 +861057,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", @@ -852798,6 +865206,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", @@ -856951,6 +869379,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", @@ -860628,6 +873076,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", @@ -863858,6 +876326,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", @@ -867293,6 +879781,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", @@ -870535,6 +883043,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", @@ -873958,6 +886486,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", @@ -877224,6 +889772,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", @@ -880518,6 +893086,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", @@ -883736,6 +896324,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", @@ -887016,6 +899624,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", @@ -889008,6 +901636,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", @@ -892226,6 +904874,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", @@ -895471,6 +908139,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", @@ -898555,6 +911243,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", @@ -900544,6 +913252,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", @@ -903870,6 +916598,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", @@ -907095,6 +919843,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", @@ -910387,6 +923155,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", @@ -913582,6 +926370,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", @@ -1323499,6 +1336307,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": [ @@ -1327052,6 +1339880,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": [ @@ -1331559,6 +1344407,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": [ @@ -1335112,6 +1347980,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": [ @@ -1339619,6 +1352507,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": [ @@ -1343172,6 +1356080,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": [ @@ -1347679,6 +1360607,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": [ @@ -1351232,6 +1364180,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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 7e6d0202e..04fa70df6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -1062,7 +1062,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: - - &585 + - &586 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &595 + schema: &596 title: Scim Error description: Scim Error type: object @@ -13696,14 +13696,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &577 + state: &578 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: &578 + resolution: &579 type: - string - 'null' @@ -15390,6 +15390,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: - assignee - closed_at @@ -15985,7 +15999,7 @@ paths: url: type: string format: uri - user: &634 + user: &635 title: Public User description: Public User type: object @@ -19422,7 +19436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &515 + - &516 name: all description: If `true`, show notifications marked as read. in: query @@ -19430,7 +19444,7 @@ paths: schema: type: boolean default: false - - &516 + - &517 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19440,7 +19454,7 @@ paths: type: boolean default: false - *102 - - &517 + - &518 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: @@ -19966,7 +19980,7 @@ paths: - url - subscription_url examples: - default: &518 + default: &519 value: - id: '1' repository: @@ -20519,7 +20533,7 @@ paths: type: array items: *50 examples: - default: &651 + default: &652 value: - login: github id: 1 @@ -21782,7 +21796,7 @@ paths: type: array items: *55 examples: - default: &645 + default: &646 value: total_count: 1 repositories: @@ -22550,7 +22564,7 @@ paths: type: array items: *152 examples: - default: &637 + default: &638 value: total_count: 1 repositories: @@ -33268,7 +33282,7 @@ paths: parameters: - *134 - *239 - - &650 + - &651 name: repo_name description: repo_name parameter in: path @@ -34592,7 +34606,7 @@ paths: - nuget - container - *134 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34633,7 +34647,7 @@ paths: default: *245 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38066,7 +38080,7 @@ paths: - *134 - *17 - *18 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38350,7 +38364,7 @@ paths: type: object description: A repository rule. oneOf: - - &546 + - &547 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38362,7 +38376,7 @@ paths: type: string enum: - creation - - &547 + - &548 title: update description: Only allow users with bypass permission to update matching refs. @@ -38383,7 +38397,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &549 + - &550 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38395,7 +38409,7 @@ paths: type: string enum: - deletion - - &550 + - &551 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38407,7 +38421,7 @@ paths: type: string enum: - required_linear_history - - &551 + - &552 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38485,7 +38499,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &552 + - &553 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38509,7 +38523,7 @@ paths: type: string required: - required_deployment_environments - - &553 + - &554 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38521,7 +38535,7 @@ paths: type: string enum: - required_signatures - - &554 + - &555 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38567,7 +38581,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &555 + - &556 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38615,7 +38629,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &556 + - &557 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38627,7 +38641,7 @@ paths: type: string enum: - non_fast_forward - - &557 + - &558 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38663,7 +38677,7 @@ paths: required: - operator - pattern - - &558 + - &559 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38699,7 +38713,7 @@ paths: required: - operator - pattern - - &559 + - &560 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38735,7 +38749,7 @@ paths: required: - operator - pattern - - &560 + - &561 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38771,7 +38785,7 @@ paths: required: - operator - pattern - - &561 + - &562 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38897,7 +38911,7 @@ paths: maximum: 100 required: - max_file_size - - &562 + - &563 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38947,7 +38961,7 @@ paths: - repository_id required: - workflows - - &563 + - &564 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39184,7 +39198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *134 - - &565 + - &566 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 @@ -39199,7 +39213,7 @@ paths: in: query schema: type: string - - &566 + - &567 name: time_period description: |- The time period to filter by. @@ -39215,14 +39229,14 @@ paths: - week - month default: day - - &567 + - &568 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 - - &568 + - &569 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39242,7 +39256,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &570 title: Rule Suites description: Response type: array @@ -39298,7 +39312,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &570 + default: &571 value: - id: 21 actor_id: 12 @@ -39342,7 +39356,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *134 - - &571 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39358,7 +39372,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suite description: Response type: object @@ -39465,7 +39479,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &573 + default: &574 value: id: 21 actor_id: 12 @@ -39683,7 +39697,7 @@ paths: - *76 - *18 - *17 - - &575 + - &576 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 @@ -39693,7 +39707,7 @@ paths: required: false schema: type: string - - &576 + - &577 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 @@ -39785,7 +39799,7 @@ paths: application/json: schema: type: array - items: &583 + items: &584 description: A repository security advisory. type: object properties: @@ -40104,7 +40118,7 @@ paths: - private_fork additionalProperties: false examples: - default: &584 + default: &585 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -41777,7 +41791,7 @@ paths: - updated_at - url examples: - default: &624 + default: &625 value: - author: login: octocat @@ -42025,7 +42039,7 @@ paths: application/json: schema: *294 examples: - default: &625 + default: &626 value: author: login: octocat @@ -42216,7 +42230,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -42442,7 +42456,7 @@ paths: application/json: schema: *297 examples: - default: &627 + default: &628 value: author: login: octocat @@ -43158,7 +43172,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &628 + response-if-user-is-a-team-maintainer: &629 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43223,7 +43237,7 @@ paths: application/json: schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &629 + response-if-users-membership-with-team-is-now-pending: &630 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43366,7 +43380,7 @@ paths: - updated_at - permissions examples: - default: &630 + default: &631 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43443,7 +43457,7 @@ paths: application/json: schema: *309 examples: - default: &631 + default: &632 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43647,7 +43661,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &632 + schema: &633 title: Team Repository description: A team's access to a repository. type: object @@ -44485,7 +44499,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: &633 + response-if-child-teams-exist: &634 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56474,7 +56488,7 @@ paths: check. type: array items: *381 - deployment: &683 + deployment: &684 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61400,7 +61414,7 @@ paths: type: array items: *416 examples: - default: &640 + default: &641 value: total_count: 2 machines: @@ -62955,7 +62969,7 @@ paths: type: array items: *424 examples: - default: &533 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63243,7 +63257,7 @@ paths: application/json: schema: type: array - items: &524 + items: &525 title: Pull Request Simple description: Pull Request Simple type: object @@ -63488,7 +63502,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: &526 + auto_merge: &527 title: Auto merge description: The status of auto merging a pull request. type: @@ -63553,7 +63567,7 @@ paths: - author_association - auto_merge examples: - default: &525 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64110,7 +64124,7 @@ paths: application/json: schema: *424 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64731,7 +64745,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Status description: The status of a commit. type: object @@ -65687,7 +65701,7 @@ paths: - size - type - url - - &538 + - &539 title: Content File description: Content File type: object @@ -66324,7 +66338,7 @@ paths: items: type: object properties: - placeholder_id: &580 + placeholder_id: &581 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72205,7 +72219,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &714 + last_response: &715 title: Hook Response type: object properties: @@ -73177,7 +73191,7 @@ paths: parameters: - *311 - *312 - - &663 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73611,7 +73625,7 @@ paths: type: array items: *486 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -74003,7 +74017,7 @@ paths: type: array items: *112 examples: - default: + default: &495 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75824,7 +75838,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &495 + - &496 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75873,7 +75887,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &497 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76001,7 +76015,7 @@ paths: - performed_via_github_app - assignee - assigner - - &497 + - &498 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76047,7 +76061,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &499 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76093,7 +76107,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76142,7 +76156,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &501 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76184,7 +76198,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76226,7 +76240,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76282,7 +76296,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Locked Issue Event description: Locked Issue Event type: object @@ -76327,7 +76341,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76388,7 +76402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76449,7 +76463,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76510,7 +76524,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -77168,6 +77182,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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue + schema: + type: string + '400': *14 + '404': *6 + 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: + - *311 + - *312 + - *491 + - *17 + - *18 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *112 + examples: + default: *495 + headers: + Link: *37 + '404': *6 + '410': *322 + 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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + headers: + Location: + example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 + schema: + type: string + '403': *27 + '410': *322 + '422': *15 + '404': *6 + 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: + - *311 + - *312 + - *491 + 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: *112 + examples: + default: *490 + '403': *27 + '404': *6 + '422': *7 + '503': *92 + 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 @@ -77196,7 +77438,6 @@ paths: description: Timeline Event type: object anyOf: - - *495 - *496 - *497 - *498 @@ -77209,6 +77450,7 @@ paths: - *505 - *506 - *507 + - *508 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77531,7 +77773,7 @@ paths: type: string comments: type: array - items: &527 + items: &528 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78072,7 +78314,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78176,9 +78418,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: id: 1 key: ssh-rsa AAA... @@ -78214,7 +78456,7 @@ paths: parameters: - *311 - *312 - - &510 + - &511 name: key_id description: The unique identifier of the key. in: path @@ -78226,9 +78468,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -78248,7 +78490,7 @@ paths: parameters: - *311 - *312 - - *510 + - *511 responses: '204': description: Response @@ -78341,7 +78583,7 @@ paths: application/json: schema: *493 examples: - default: &511 + default: &512 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78387,7 +78629,7 @@ paths: application/json: schema: *493 examples: - default: *511 + default: *512 '404': *6 x-github: githubCloudOnly: false @@ -78842,7 +79084,7 @@ paths: application/json: schema: *424 examples: - default: *512 + default: *513 '204': description: Response when already merged '404': @@ -79008,7 +79250,7 @@ paths: application/json: schema: *428 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79069,7 +79311,7 @@ paths: parameters: - *311 - *312 - - &514 + - &515 name: milestone_number description: The number that identifies the milestone. in: path @@ -79083,7 +79325,7 @@ paths: application/json: schema: *428 examples: - default: *513 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -79102,7 +79344,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 requestBody: required: false content: @@ -79142,7 +79384,7 @@ paths: application/json: schema: *428 examples: - default: *513 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79160,7 +79402,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 responses: '204': description: Response @@ -79183,7 +79425,7 @@ paths: parameters: - *311 - *312 - - *514 + - *515 - *17 - *18 responses: @@ -79216,10 +79458,10 @@ paths: parameters: - *311 - *312 - - *515 - *516 - - *102 - *517 + - *102 + - *518 - *17 - *18 responses: @@ -79231,7 +79473,7 @@ paths: type: array items: *124 examples: - default: *518 + default: *519 headers: Link: *37 x-github: @@ -79321,7 +79563,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79465,7 +79707,7 @@ paths: - custom_404 - public examples: - default: &520 + default: &521 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79562,9 +79804,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: - default: *520 + default: *521 '422': *15 '409': *139 x-github: @@ -79734,7 +79976,7 @@ paths: application/json: schema: type: array - items: &521 + items: &522 title: Page Build description: Page Build type: object @@ -79881,9 +80123,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79943,9 +80185,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80077,7 +80319,7 @@ paths: parameters: - *311 - *312 - - &523 + - &524 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80137,7 +80379,7 @@ paths: parameters: - *311 - *312 - - *523 + - *524 responses: '204': *183 '404': *6 @@ -80843,9 +81085,9 @@ paths: application/json: schema: type: array - items: *524 + items: *525 examples: - default: *525 + default: *526 headers: Link: *37 '304': *35 @@ -80945,7 +81187,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &530 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81185,7 +81427,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: *526 + auto_merge: *527 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81287,7 +81529,7 @@ paths: - merged_by - review_comments examples: - default: &530 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81844,9 +82086,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: &532 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81931,9 +82173,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82032,9 +82274,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82237,7 +82479,7 @@ paths: parameters: - *311 - *312 - - &531 + - &532 name: pull_number description: The number that identifies the pull request. in: path @@ -82250,9 +82492,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '304': *35 '404': *6 '406': @@ -82289,7 +82531,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -82331,9 +82573,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *530 examples: - default: *530 + default: *531 '422': *15 '403': *27 x-github: @@ -82357,7 +82599,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -82460,7 +82702,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -82481,9 +82723,9 @@ paths: application/json: schema: type: array - items: *527 + items: *528 examples: - default: *532 + default: *533 headers: Link: *37 x-github: @@ -82518,7 +82760,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -82624,7 +82866,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: example-for-a-multi-line-comment: value: @@ -82714,7 +82956,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *111 requestBody: required: true @@ -82737,7 +82979,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: default: value: @@ -82825,7 +83067,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -82837,7 +83079,7 @@ paths: type: array items: *424 examples: - default: *533 + default: *534 headers: Link: *37 x-github: @@ -82869,7 +83111,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -82919,7 +83161,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 responses: '204': description: Response if pull request has been merged @@ -82944,7 +83186,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -83058,7 +83300,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 responses: '200': description: Response @@ -83135,7 +83377,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -83172,7 +83414,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default: value: @@ -83710,7 +83952,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: true content: @@ -83744,7 +83986,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *525 examples: default: value: @@ -84251,7 +84493,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 - *17 - *18 responses: @@ -84261,7 +84503,7 @@ paths: application/json: schema: type: array - items: &534 + items: &535 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84419,7 +84661,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -84509,9 +84751,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &536 + default: &537 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84576,8 +84818,8 @@ paths: parameters: - *311 - *312 - - *531 - - &535 + - *532 + - &536 name: review_id description: The unique identifier of the review. in: path @@ -84589,9 +84831,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: &537 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84652,8 +84894,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -84676,7 +84918,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -84740,16 +84982,16 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 responses: '200': description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *536 + default: *537 '422': *7 '404': *6 x-github: @@ -84778,8 +85020,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 - *17 - *18 responses: @@ -85032,8 +85274,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -85062,7 +85304,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: default: value: @@ -85127,8 +85369,8 @@ paths: parameters: - *311 - *312 - - *531 - - *535 + - *532 + - *536 requestBody: required: true content: @@ -85163,9 +85405,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *537 + default: *538 '404': *6 '422': *7 '403': *27 @@ -85189,7 +85431,7 @@ paths: parameters: - *311 - *312 - - *531 + - *532 requestBody: required: false content: @@ -85267,9 +85509,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: &539 + default: &540 value: type: file encoding: base64 @@ -85332,9 +85574,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '404': *6 '422': *15 x-github: @@ -85367,7 +85609,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Release description: A release. type: object @@ -85439,7 +85681,7 @@ paths: author: *4 assets: type: array - items: &541 + items: &542 title: Release Asset description: Data related to a release. type: object @@ -85696,9 +85938,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85803,7 +86045,7 @@ paths: parameters: - *311 - *312 - - &542 + - &543 name: asset_id description: The unique identifier of the asset. in: path @@ -85815,9 +86057,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &543 + default: &544 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 @@ -85869,7 +86111,7 @@ paths: parameters: - *311 - *312 - - *542 + - *543 requestBody: required: false content: @@ -85898,9 +86140,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85918,7 +86160,7 @@ paths: parameters: - *311 - *312 - - *542 + - *543 responses: '204': description: Response @@ -86036,9 +86278,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86069,9 +86311,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -86095,7 +86337,7 @@ paths: parameters: - *311 - *312 - - &545 + - &546 name: release_id description: The unique identifier of the release. in: path @@ -86109,9 +86351,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: *540 + schema: *541 examples: - default: *544 + default: *545 '401': description: Unauthorized x-github: @@ -86131,7 +86373,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 requestBody: required: false content: @@ -86195,9 +86437,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *544 + default: *545 '404': description: Not Found if the discussion category name is invalid content: @@ -86220,7 +86462,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 responses: '204': description: Response @@ -86242,7 +86484,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - *17 - *18 responses: @@ -86252,7 +86494,7 @@ paths: application/json: schema: type: array - items: *541 + items: *542 examples: default: value: @@ -86335,7 +86577,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - name: name in: query required: true @@ -86361,7 +86603,7 @@ paths: description: Response for successful upload content: application/json: - schema: *541 + schema: *542 examples: response-for-successful-upload: value: @@ -86417,7 +86659,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - 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. @@ -86466,7 +86708,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 requestBody: required: true content: @@ -86529,7 +86771,7 @@ paths: parameters: - *311 - *312 - - *545 + - *546 - *303 responses: '204': @@ -86572,8 +86814,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *546 - - &548 + - *547 + - &549 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86593,53 +86835,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *547 - *548 - - allOf: - *549 - - *548 - allOf: - *550 - - *548 + - *549 - allOf: - *551 - - *548 + - *549 - allOf: - *552 - - *548 + - *549 - allOf: - *553 - - *548 + - *549 - allOf: - *554 - - *548 + - *549 - allOf: - *555 - - *548 + - *549 - allOf: - *556 - - *548 + - *549 - allOf: - *557 - - *548 + - *549 - allOf: - *558 - - *548 + - *549 - allOf: - *559 - - *548 + - *549 - allOf: - *560 - - *548 + - *549 - allOf: - *561 - - *548 + - *549 - allOf: - *562 - - *548 + - *549 - allOf: - *563 - - *548 + - *549 + - allOf: + - *564 + - *549 examples: default: value: @@ -86690,7 +86932,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -86808,7 +87050,7 @@ paths: application/json: schema: *272 examples: - default: &574 + default: &575 value: id: 42 name: super cool ruleset @@ -86857,10 +87099,10 @@ paths: parameters: - *311 - *312 - - *565 - *566 - *567 - *568 + - *569 - *17 - *18 responses: @@ -86868,9 +87110,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 '404': *6 '500': *80 x-github: @@ -86893,15 +87135,15 @@ paths: parameters: - *311 - *312 - - *571 + - *572 responses: '200': description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *80 x-github: @@ -86952,7 +87194,7 @@ paths: application/json: schema: *272 examples: - default: *574 + default: *575 '404': *6 '500': *80 put: @@ -87035,7 +87277,7 @@ paths: application/json: schema: *272 examples: - default: *574 + default: *575 '404': *6 '500': *80 delete: @@ -87091,8 +87333,8 @@ paths: - *76 - *18 - *17 - - *575 - *576 + - *577 - *278 - *279 - *280 @@ -87103,7 +87345,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 type: object properties: number: *81 @@ -87119,8 +87361,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *577 - resolution: *578 + state: *578 + resolution: *579 resolved_at: type: - string @@ -87333,7 +87575,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -87394,8 +87636,8 @@ paths: schema: type: object properties: - state: *577 - resolution: *578 + state: *578 + resolution: *579 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87414,7 +87656,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -87501,7 +87743,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &735 + items: &736 type: object properties: type: @@ -87889,14 +88131,14 @@ paths: schema: type: object properties: - reason: &581 + reason: &582 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *580 + placeholder_id: *581 required: - reason - placeholder_id @@ -87913,7 +88155,7 @@ paths: schema: type: object properties: - reason: *581 + reason: *582 expire_at: type: - string @@ -87973,7 +88215,7 @@ paths: properties: incremental_scans: type: array - items: &582 + items: &583 description: Information on a single scan performed by secret scanning on the repository type: object @@ -87998,15 +88240,15 @@ paths: description: The time that the scan was started pattern_update_scans: type: array - items: *582 + items: *583 backfill_scans: type: array - items: *582 + items: *583 custom_pattern_backfill_scans: type: array items: allOf: - - *582 + - *583 - type: object properties: pattern_name: @@ -88121,9 +88363,9 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: - default: *584 + default: *585 '400': *14 '404': *6 x-github: @@ -88317,9 +88559,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &586 + default: &587 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88666,7 +88908,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: default: value: @@ -88815,15 +89057,15 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '200': description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *586 + default: *587 '403': *27 '404': *6 x-github: @@ -88849,7 +89091,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 requestBody: required: true content: @@ -89020,10 +89262,10 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *586 - add_credit: *586 + default: *587 + add_credit: *587 '403': *27 '404': *6 '422': @@ -89063,7 +89305,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '202': *140 '400': *14 @@ -89092,7 +89334,7 @@ paths: parameters: - *311 - *312 - - *585 + - *586 responses: '202': description: Response @@ -89233,7 +89475,7 @@ paths: application/json: schema: type: array - items: &587 + items: &588 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89606,7 +89848,7 @@ paths: application/json: schema: type: array - items: *587 + items: *588 examples: default: value: @@ -89696,7 +89938,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -89790,7 +90032,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &589 + schema: &590 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89890,7 +90132,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -90030,7 +90272,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Tag protection description: Tag protection type: object @@ -90111,7 +90353,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -90259,7 +90501,7 @@ paths: description: Response content: application/json: - schema: &591 + schema: &592 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90271,7 +90513,7 @@ paths: required: - names examples: - default: &592 + default: &593 value: names: - octocat @@ -90326,9 +90568,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: - default: *592 + default: *593 '404': *6 '422': *7 x-github: @@ -90351,7 +90593,7 @@ paths: parameters: - *311 - *312 - - &593 + - &594 name: per description: The time frame to display results for. in: query @@ -90382,7 +90624,7 @@ paths: - 128 clones: type: array - items: &594 + items: &595 title: Traffic type: object properties: @@ -90630,7 +90872,7 @@ paths: parameters: - *311 - *312 - - *593 + - *594 responses: '200': description: Response @@ -90651,7 +90893,7 @@ paths: - 3782 views: type: array - items: *594 + items: *595 required: - uniques - count @@ -91323,7 +91565,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &602 + - &603 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91333,7 +91575,7 @@ paths: type: string examples: - members - - &607 + - &608 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91345,7 +91587,7 @@ paths: format: int32 examples: - 1 - - &608 + - &609 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91389,7 +91631,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &596 + items: &597 allOf: - type: object required: @@ -91471,7 +91713,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: &609 + meta: &610 type: object description: The metadata associated with the creation/updates to the user. @@ -91536,31 +91778,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &597 + '400': &598 description: Bad request content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '401': &598 + schema: *596 + '401': &599 description: Authorization failure - '403': &599 + '403': &600 description: Permission denied - '429': &600 + '429': &601 description: Too many requests content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '500': &601 + schema: *596 + '500': &602 description: Internal server error content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 + schema: *596 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91584,7 +91826,7 @@ paths: required: true content: application/json: - schema: &605 + schema: &606 type: object required: - schemas @@ -91644,9 +91886,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *596 + schema: *597 examples: - group: &603 + group: &604 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91665,13 +91907,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': *597 - '401': *598 - '403': *599 - '409': &606 + '400': *598 + '401': *599 + '403': *600 + '409': &607 description: Duplicate record detected - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91688,7 +91930,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: - - &604 + - &605 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91697,22 +91939,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *602 + - *603 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *596 + schema: *597 examples: - default: *603 - '400': *597 - '401': *598 - '403': *599 + default: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91731,13 +91973,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: - - *604 + - *605 - *38 requestBody: required: true content: application/json: - schema: *605 + schema: *606 examples: group: summary: Group @@ -91763,17 +92005,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *596 + schema: *597 examples: - group: *603 - groupWithMembers: *603 - '400': *597 - '401': *598 - '403': *599 + group: *604 + groupWithMembers: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91797,13 +92039,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: - - *604 + - *605 - *38 requestBody: required: true content: application/json: - schema: &616 + schema: &617 type: object required: - Operations @@ -91863,17 +92105,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *596 + schema: *597 examples: - updateGroup: *603 - addMembers: *603 - '400': *597 - '401': *598 - '403': *599 + updateGroup: *604 + addMembers: *604 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91889,17 +92131,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: - - *604 + - *605 - *38 responses: '204': description: Group was deleted, no content - '400': *597 - '401': *598 - '403': *599 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91933,8 +92175,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *607 - *608 + - *609 - *38 responses: '200': @@ -91968,7 +92210,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &611 + items: &612 allOf: - type: object required: @@ -92060,7 +92302,7 @@ paths: address. examples: - true - roles: &610 + roles: &611 type: array description: The roles assigned to the user. items: @@ -92119,7 +92361,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *609 + meta: *610 startIndex: type: integer description: A starting index for the returned page @@ -92158,11 +92400,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *597 - '401': *598 - '403': *599 - '429': *600 - '500': *601 + '400': *598 + '401': *599 + '403': *600 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92186,7 +92428,7 @@ paths: required: true content: application/json: - schema: &614 + schema: &615 type: object required: - schemas @@ -92279,9 +92521,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *610 + roles: *611 examples: - user: &615 + user: &616 summary: User value: schemas: @@ -92328,9 +92570,9 @@ paths: description: User has been created content: application/scim+json: - schema: *611 + schema: *612 examples: - user: &612 + user: &613 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92356,13 +92598,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: *612 - '400': *597 - '401': *598 - '403': *599 - '409': *606 - '429': *600 - '500': *601 + enterpriseOwner: *613 + '400': *598 + '401': *599 + '403': *600 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92379,7 +92621,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: - - &613 + - &614 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92392,15 +92634,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *611 + schema: *612 examples: - default: *612 - '400': *597 - '401': *598 - '403': *599 + default: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92422,30 +92664,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: - - *613 + - *614 - *38 requestBody: required: true content: application/json: - schema: *614 + schema: *615 examples: - user: *615 + user: *616 responses: '200': description: User was updated content: application/scim+json: - schema: *611 + schema: *612 examples: - user: *612 - '400': *597 - '401': *598 - '403': *599 + user: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92480,13 +92722,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: - - *613 + - *614 - *38 requestBody: required: true content: application/json: - schema: *616 + schema: *617 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92526,18 +92768,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *611 - examples: - userMultiValuedProperties: *612 - userSingleValuedProperties: *612 - disableUser: *612 - '400': *597 - '401': *598 - '403': *599 + schema: *612 + examples: + userMultiValuedProperties: *613 + userSingleValuedProperties: *613 + disableUser: *613 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '409': *606 - '429': *600 - '500': *601 + '409': *607 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92557,17 +92799,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: - - *613 + - *614 - *38 responses: '204': description: User was deleted, no content - '400': *597 - '401': *598 - '403': *599 + '400': *598 + '401': *599 + '403': *600 '404': *6 - '429': *600 - '500': *601 + '429': *601 + '500': *602 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92658,7 +92900,7 @@ paths: - 1 Resources: type: array - items: &617 + items: &618 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92905,22 +93147,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &618 + '404': &619 description: Resource not found content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '403': &619 + schema: *596 + '403': &620 description: Forbidden content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '400': *597 - '429': *600 + schema: *596 + '400': *598 + '429': *601 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92946,9 +93188,9 @@ paths: description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: &620 + default: &621 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92971,17 +93213,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *618 - '403': *619 - '500': *601 + '404': *619 + '403': *620 + '500': *602 '409': description: Conflict content: application/json: - schema: *595 + schema: *596 application/scim+json: - schema: *595 - '400': *597 + schema: *596 + '400': *598 requestBody: required: true content: @@ -93076,17 +93318,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 - '404': *618 - '403': *619 + default: *621 + '404': *619 + '403': *620 '304': *35 x-github: githubCloudOnly: true @@ -93110,18 +93352,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 + default: *621 '304': *35 - '404': *618 - '403': *619 + '404': *619 + '403': *620 requestBody: required: true content: @@ -93232,19 +93474,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *134 - - *613 + - *614 responses: '200': description: Response content: application/scim+json: - schema: *617 + schema: *618 examples: - default: *620 + default: *621 '304': *35 - '404': *618 - '403': *619 - '400': *597 + '404': *619 + '403': *620 + '400': *598 '429': description: Response content: @@ -93340,12 +93582,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *134 - - *613 + - *614 responses: '204': description: Response - '404': *618 - '403': *619 + '404': *619 + '403': *620 '304': *35 x-github: githubCloudOnly: true @@ -93479,7 +93721,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &622 title: Search Result Text Matches type: array items: @@ -93643,7 +93885,7 @@ paths: enum: - author-date - committer-date - - &622 + - &623 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 @@ -93763,7 +94005,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *622 required: - sha - node_id @@ -93956,7 +94198,7 @@ paths: - interactions - created - updated - - *622 + - *623 - *17 - *18 responses: @@ -94045,6 +94287,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -94072,7 +94328,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *622 pull_request: type: object properties: @@ -94294,7 +94550,7 @@ paths: enum: - created - updated - - *622 + - *623 - *17 - *18 responses: @@ -94339,7 +94595,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *622 required: - id - node_id @@ -94425,7 +94681,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *623 - *17 - *18 responses: @@ -94662,7 +94918,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *622 temp_clone_token: type: string allow_merge_commit: @@ -94971,7 +95227,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *622 related: type: - array @@ -95166,7 +95422,7 @@ paths: - followers - repositories - joined - - *622 + - *623 - *17 - *18 responses: @@ -95276,7 +95532,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *622 blog: type: - string @@ -95358,7 +95614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &623 + - &624 name: team_id description: The unique identifier of the team. in: path @@ -95399,7 +95655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *623 + - *624 requestBody: required: true content: @@ -95500,7 +95756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *623 + - *624 responses: '204': description: Response @@ -95531,7 +95787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *623 + - *624 - *76 - *17 - *18 @@ -95544,7 +95800,7 @@ paths: type: array items: *294 examples: - default: *624 + default: *625 headers: Link: *37 x-github: @@ -95573,7 +95829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *623 + - *624 requestBody: required: true content: @@ -95636,7 +95892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *623 + - *624 - *296 responses: '200': @@ -95670,7 +95926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *623 + - *624 - *296 requestBody: required: false @@ -95696,7 +95952,7 @@ paths: application/json: schema: *294 examples: - default: *625 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95721,7 +95977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *623 + - *624 - *296 responses: '204': @@ -95751,7 +96007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *623 + - *624 - *296 - *76 - *17 @@ -95765,7 +96021,7 @@ paths: type: array items: *297 examples: - default: *626 + default: *627 headers: Link: *37 x-github: @@ -95794,7 +96050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 requestBody: required: true @@ -95846,7 +96102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 responses: @@ -95881,7 +96137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 requestBody: @@ -95907,7 +96163,7 @@ paths: application/json: schema: *297 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95932,7 +96188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *623 + - *624 - *296 - *299 responses: @@ -95963,7 +96219,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: - - *623 + - *624 - *296 - *299 - name: content @@ -96022,7 +96278,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: - - *623 + - *624 - *296 - *299 requestBody: @@ -96084,7 +96340,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: - - *623 + - *624 - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -96142,7 +96398,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: - - *623 + - *624 - *296 requestBody: required: true @@ -96201,7 +96457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96239,7 +96495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *623 + - *624 - name: role description: Filters members returned by their role in the team. in: query @@ -96290,7 +96546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96327,7 +96583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96367,7 +96623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *623 + - *624 - *174 responses: '204': @@ -96404,7 +96660,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: - - *623 + - *624 - *174 responses: '200': @@ -96413,7 +96669,7 @@ paths: application/json: schema: *308 examples: - response-if-user-is-a-team-maintainer: *628 + response-if-user-is-a-team-maintainer: *629 '404': *6 x-github: githubCloudOnly: false @@ -96446,7 +96702,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: - - *623 + - *624 - *174 requestBody: required: false @@ -96474,7 +96730,7 @@ paths: application/json: schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *629 + response-if-users-membership-with-team-is-now-pending: *630 '403': description: Forbidden if team synchronization is set up '422': @@ -96508,7 +96764,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: - - *623 + - *624 - *174 responses: '204': @@ -96538,7 +96794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96550,7 +96806,7 @@ paths: type: array items: *309 examples: - default: *630 + default: *631 headers: Link: *37 '404': *6 @@ -96577,7 +96833,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: - - *623 + - *624 - *310 responses: '200': @@ -96586,7 +96842,7 @@ paths: application/json: schema: *309 examples: - default: *631 + default: *632 '404': description: Not Found if project is not managed by this team x-github: @@ -96611,7 +96867,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: - - *623 + - *624 - *310 requestBody: required: false @@ -96680,7 +96936,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: - - *623 + - *624 - *310 responses: '204': @@ -96708,7 +96964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -96750,7 +97006,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: - - *623 + - *624 - *311 - *312 responses: @@ -96758,7 +97014,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *632 + schema: *633 examples: alternative-response-with-extra-repository-information: value: @@ -96909,7 +97165,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: - - *623 + - *624 - *311 - *312 requestBody: @@ -96961,7 +97217,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: - - *623 + - *624 - *311 - *312 responses: @@ -96992,7 +97248,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: - - *623 + - *624 responses: '200': description: Response @@ -97027,7 +97283,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: - - *623 + - *624 requestBody: required: true content: @@ -97119,7 +97375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *623 + - *624 - *17 - *18 responses: @@ -97131,7 +97387,7 @@ paths: type: array items: *229 examples: - response-if-child-teams-exist: *633 + response-if-child-teams-exist: *634 headers: Link: *37 '404': *6 @@ -97164,7 +97420,7 @@ paths: application/json: schema: oneOf: - - &635 + - &636 title: Private User description: Private User type: object @@ -97414,7 +97670,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *634 + - *635 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97574,7 +97830,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -97972,7 +98228,7 @@ paths: type: integer secrets: type: array - items: &636 + items: &637 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98092,7 +98348,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -98238,7 +98494,7 @@ paths: type: array items: *152 examples: - default: *637 + default: *638 '401': *23 '403': *27 '404': *6 @@ -98505,7 +98761,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98558,7 +98814,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &639 + default: &640 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98603,9 +98859,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: - default: *639 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -98644,7 +98900,7 @@ paths: type: array items: *416 examples: - default: *640 + default: *641 '304': *35 '500': *80 '401': *23 @@ -99610,7 +99866,7 @@ paths: type: array items: *244 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -99711,7 +99967,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: Email description: Email type: object @@ -99781,9 +100037,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -99860,7 +100116,7 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: default: value: @@ -100118,7 +100374,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: GPG Key description: A unique encryption key type: object @@ -100263,7 +100519,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &667 value: - id: 3 name: Octocat's GPG Key @@ -100348,9 +100604,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: &643 + default: &644 value: id: 3 name: Octocat's GPG Key @@ -100407,7 +100663,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: - - &644 + - &645 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100419,9 +100675,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: - default: *643 + default: *644 '404': *6 '304': *35 '403': *27 @@ -100444,7 +100700,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: - - *644 + - *645 responses: '204': description: Response @@ -100635,7 +100891,7 @@ paths: type: array items: *55 examples: - default: *645 + default: *646 headers: Link: *37 '404': *6 @@ -100899,7 +101155,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: Key description: Key type: object @@ -100997,9 +101253,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: &647 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101032,15 +101288,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: - - *510 + - *511 responses: '200': description: Response content: application/json: - schema: *646 + schema: *647 examples: - default: *647 + default: *648 '404': *6 '304': *35 '403': *27 @@ -101063,7 +101319,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: - - *510 + - *511 responses: '204': description: Response @@ -101096,7 +101352,7 @@ paths: application/json: schema: type: array - items: &648 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101175,7 +101431,7 @@ paths: - account - plan examples: - default: &649 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101237,9 +101493,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *649 + default: *650 headers: Link: *37 '304': *35 @@ -102243,7 +102499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *239 - - *650 + - *651 responses: '204': description: Response @@ -102316,7 +102572,7 @@ paths: type: array items: *50 examples: - default: *651 + default: *652 headers: Link: *37 '304': *35 @@ -102358,7 +102614,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *18 - *17 responses: @@ -102370,8 +102626,8 @@ paths: type: array items: *244 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102400,7 +102656,7 @@ paths: application/json: schema: *244 examples: - default: &667 + default: &668 value: id: 40201 name: octo-name @@ -102852,9 +103108,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *655 + default: *656 headers: Link: *37 '304': *35 @@ -102967,7 +103223,7 @@ paths: type: array items: *55 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -103325,7 +103581,7 @@ paths: type: array items: *486 examples: - default: *656 + default: *657 headers: Link: *37 '304': *35 @@ -103404,7 +103660,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -103421,7 +103677,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -103484,9 +103740,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -103574,7 +103830,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103594,7 +103850,7 @@ paths: - title - created_at examples: - default: &668 + default: &669 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103661,9 +103917,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103694,7 +103950,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103706,9 +103962,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -103731,7 +103987,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: - - *661 + - *662 responses: '204': description: Response @@ -103760,7 +104016,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: - - &669 + - &670 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 @@ -103785,11 +104041,11 @@ paths: type: array items: *55 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array - items: &670 + items: &671 title: Starred Repository description: Starred Repository type: object @@ -104156,10 +104412,10 @@ paths: application/json: schema: oneOf: + - *636 - *635 - - *634 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -104194,7 +104450,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -104254,7 +104510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -104301,11 +104557,11 @@ paths: application/json: schema: oneOf: + - *636 - *635 - - *634 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -104469,7 +104725,7 @@ paths: type: array items: *244 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -104873,9 +105129,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *666 + default: *667 headers: Link: *37 x-github: @@ -105057,7 +105313,7 @@ paths: type: array items: *50 examples: - default: *651 + default: *652 headers: Link: *37 x-github: @@ -105096,7 +105352,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *174 - *18 - *17 @@ -105109,10 +105365,10 @@ paths: type: array items: *244 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105142,7 +105398,7 @@ paths: application/json: schema: *244 examples: - default: *667 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105825,9 +106081,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *37 x-github: @@ -105857,9 +106113,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: *668 + default: *669 headers: Link: *37 x-github: @@ -105884,7 +106140,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *174 - - *669 + - *670 - *76 - *17 - *18 @@ -105896,11 +106152,11 @@ paths: schema: anyOf: - type: array - items: *670 + items: *671 - type: array items: *55 examples: - default-response: *662 + default-response: *663 headers: Link: *37 x-github: @@ -106060,7 +106316,7 @@ webhooks: type: string enum: - disabled - enterprise: &671 + enterprise: &672 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106129,7 +106385,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &672 + installation: &673 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106150,7 +106406,7 @@ webhooks: required: - id - node_id - organization: &673 + organization: &674 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106223,7 +106479,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &674 + repository: &675 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -107136,10 +107392,10 @@ webhooks: type: string enum: - enabled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -107215,11 +107471,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: &675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: &676 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) @@ -107442,11 +107698,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: *675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: *676 sender: *4 required: - action @@ -107634,11 +107890,11 @@ webhooks: - everyone required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - rule: *675 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + rule: *676 sender: *4 required: - action @@ -107711,7 +107967,7 @@ webhooks: required: true content: application/json: - schema: &678 + schema: &679 title: Exemption request cancellation event type: object properties: @@ -107719,11 +107975,11 @@ webhooks: type: string enum: - cancelled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: &676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: &677 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107877,7 +108133,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &677 + items: &678 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107983,7 +108239,7 @@ webhooks: required: true content: application/json: - schema: &679 + schema: &680 title: Exemption request completed event type: object properties: @@ -107991,11 +108247,11 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 sender: *4 required: - action @@ -108067,7 +108323,7 @@ webhooks: required: true content: application/json: - schema: &680 + schema: &681 title: Exemption request created event type: object properties: @@ -108075,11 +108331,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 sender: *4 required: - action @@ -108151,7 +108407,7 @@ webhooks: required: true content: application/json: - schema: &681 + schema: &682 title: Exemption response dismissed event type: object properties: @@ -108159,12 +108415,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 - exemption_response: *677 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 + exemption_response: *678 sender: *4 required: - action @@ -108238,7 +108494,7 @@ webhooks: required: true content: application/json: - schema: &682 + schema: &683 title: Exemption response submitted event type: object properties: @@ -108246,12 +108502,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - exemption_request: *676 - exemption_response: *677 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + exemption_request: *677 + exemption_response: *678 sender: *4 required: - action @@ -108324,7 +108580,7 @@ webhooks: required: true content: application/json: - schema: *678 + schema: *679 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108391,7 +108647,7 @@ webhooks: required: true content: application/json: - schema: *679 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108458,7 +108714,7 @@ webhooks: required: true content: application/json: - schema: *680 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108525,7 +108781,7 @@ webhooks: required: true content: application/json: - schema: *681 + schema: *682 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108593,7 +108849,7 @@ webhooks: required: true content: application/json: - schema: *682 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108671,7 +108927,7 @@ webhooks: type: string enum: - completed - check_run: &684 + check_run: &685 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108784,7 +109040,7 @@ webhooks: - examples: - neutral - deployment: *683 + deployment: *684 details_url: type: string examples: @@ -108882,9 +109138,9 @@ webhooks: - output - app - pull_requests - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -109277,10 +109533,10 @@ webhooks: type: string enum: - created - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -109676,10 +109932,10 @@ webhooks: type: string enum: - requested_action - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 requested_action: description: The action requested by the user. type: object @@ -110084,10 +110340,10 @@ webhooks: type: string enum: - rerequested - check_run: *684 - installation: *672 - organization: *673 - repository: *674 + check_run: *685 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - check_run @@ -111079,10 +111335,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -111767,10 +112023,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -112449,10 +112705,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -112759,20 +113015,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &685 + commit_oid: &686 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: *671 - installation: *672 - organization: *673 - ref: &686 + enterprise: *672 + installation: *673 + organization: *674 + ref: &687 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: *674 + repository: *675 sender: *4 required: - action @@ -113100,12 +113356,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113378,12 +113634,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113715,12 +113971,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -113989,9 +114245,9 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113999,7 +114255,7 @@ webhooks: type: - string - 'null' - repository: *674 + repository: *675 sender: *4 required: - action @@ -114231,12 +114487,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *685 - enterprise: *671 - installation: *672 - organization: *673 - ref: *686 - repository: *674 + commit_oid: *686 + enterprise: *672 + installation: *673 + organization: *674 + ref: *687 + repository: *675 sender: *4 required: - action @@ -114498,10 +114754,10 @@ webhooks: - updated_at - author_association - body - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -114582,18 +114838,18 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *673 - pusher_type: &687 + organization: *674 + pusher_type: &688 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &688 + ref: &689 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114603,7 +114859,7 @@ webhooks: enum: - tag - branch - repository: *674 + repository: *675 sender: *4 required: - ref @@ -114686,9 +114942,9 @@ webhooks: enum: - created definition: *258 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114773,9 +115029,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114853,9 +115109,9 @@ webhooks: enum: - updated definition: *258 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 sender: *4 required: - action @@ -114932,10 +115188,10 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - repository: *674 - organization: *673 + enterprise: *672 + installation: *673 + repository: *675 + organization: *674 sender: *4 new_property_values: type: array @@ -115020,18 +115276,18 @@ webhooks: title: delete event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - pusher_type: *687 - ref: *688 + enterprise: *672 + installation: *673 + organization: *674 + pusher_type: *688 + ref: *689 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *674 + repository: *675 sender: *4 required: - ref @@ -115116,10 +115372,10 @@ webhooks: enum: - auto_dismissed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115204,10 +115460,10 @@ webhooks: enum: - auto_reopened alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115292,10 +115548,10 @@ webhooks: enum: - created alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115378,10 +115634,10 @@ webhooks: enum: - dismissed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115464,10 +115720,10 @@ webhooks: enum: - fixed alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115551,10 +115807,10 @@ webhooks: enum: - reintroduced alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115637,10 +115893,10 @@ webhooks: enum: - reopened alert: *442 - installation: *672 - organization: *673 - enterprise: *671 - repository: *674 + installation: *673 + organization: *674 + enterprise: *672 + repository: *675 sender: *4 required: - action @@ -115717,9 +115973,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - key: &689 + enterprise: *672 + installation: *673 + key: &690 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115757,8 +116013,8 @@ webhooks: - verified - created_at - read_only - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -115835,11 +116091,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - key: *689 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + key: *690 + organization: *674 + repository: *675 sender: *4 required: - action @@ -116411,12 +116667,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: &693 + workflow: &694 title: Workflow type: - object @@ -117157,10 +117413,10 @@ webhooks: deployment: *448 pull_requests: type: array - items: *529 - repository: *674 - organization: *673 - installation: *672 + items: *530 + repository: *675 + organization: *674 + installation: *673 sender: *4 responses: '200': @@ -117231,7 +117487,7 @@ webhooks: type: string enum: - approved - approver: &690 + approver: &691 type: object properties: avatar_url: @@ -117274,11 +117530,11 @@ webhooks: type: string comment: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - reviewers: &691 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + reviewers: &692 type: array items: type: object @@ -117359,7 +117615,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &692 + workflow_job_run: &693 type: object properties: conclusion: @@ -118105,18 +118361,18 @@ webhooks: type: string enum: - rejected - approver: *690 + approver: *691 comment: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - reviewers: *691 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + reviewers: *692 sender: *4 since: type: string - workflow_job_run: *692 + workflow_job_run: *693 workflow_job_runs: type: array items: @@ -118833,13 +119089,13 @@ webhooks: type: string enum: - requested - enterprise: *671 + enterprise: *672 environment: type: string - installation: *672 - organization: *673 - repository: *674 - requestor: &698 + installation: *673 + organization: *674 + repository: *675 + requestor: &699 title: User type: - object @@ -120782,12 +121038,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Deployment Workflow Run type: @@ -121478,7 +121734,7 @@ webhooks: type: string enum: - answered - answer: &696 + answer: &697 type: object properties: author_association: @@ -121638,7 +121894,7 @@ webhooks: - created_at - updated_at - body - discussion: &694 + discussion: &695 title: Discussion description: A Discussion in a repository. type: object @@ -121956,10 +122212,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122086,11 +122342,11 @@ webhooks: - from required: - category - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122173,11 +122429,11 @@ webhooks: type: string enum: - closed - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122259,7 +122515,7 @@ webhooks: type: string enum: - created - comment: &695 + comment: &696 type: object properties: author_association: @@ -122419,11 +122675,11 @@ webhooks: - updated_at - body - reactions - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122506,12 +122762,12 @@ webhooks: type: string enum: - deleted - comment: *695 - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + comment: *696 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122606,12 +122862,12 @@ webhooks: - from required: - body - comment: *695 - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + comment: *696 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122695,11 +122951,11 @@ webhooks: type: string enum: - created - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122781,11 +123037,11 @@ webhooks: type: string enum: - deleted - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122885,11 +123141,11 @@ webhooks: type: string required: - from - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -122971,10 +123227,10 @@ webhooks: type: string enum: - labeled - discussion: *694 - enterprise: *671 - installation: *672 - label: &697 + discussion: *695 + enterprise: *672 + installation: *673 + label: &698 title: Label type: object properties: @@ -123007,8 +123263,8 @@ webhooks: - color - default - description - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123091,11 +123347,11 @@ webhooks: type: string enum: - locked - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123177,11 +123433,11 @@ webhooks: type: string enum: - pinned - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123263,11 +123519,11 @@ webhooks: type: string enum: - reopened - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123352,16 +123608,16 @@ webhooks: changes: type: object properties: - new_discussion: *694 - new_repository: *674 + new_discussion: *695 + new_repository: *675 required: - new_discussion - new_repository - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123444,10 +123700,10 @@ webhooks: type: string enum: - unanswered - discussion: *694 - old_answer: *696 - organization: *673 - repository: *674 + discussion: *695 + old_answer: *697 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123529,12 +123785,12 @@ webhooks: type: string enum: - unlabeled - discussion: *694 - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123617,11 +123873,11 @@ webhooks: type: string enum: - unlocked - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123703,11 +123959,11 @@ webhooks: type: string enum: - unpinned - discussion: *694 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + discussion: *695 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -123780,7 +124036,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *671 + enterprise: *672 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124458,9 +124714,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - forkee @@ -124606,9 +124862,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pages: description: The pages that were updated. type: array @@ -124646,7 +124902,7 @@ webhooks: - action - sha - html_url - repository: *674 + repository: *675 sender: *4 required: - pages @@ -124722,10 +124978,10 @@ webhooks: type: string enum: - created - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: &699 + organization: *674 + repositories: &700 description: An array of repository objects that the installation can access. type: array @@ -124751,8 +125007,8 @@ webhooks: - name - full_name - private - repository: *674 - requester: *698 + repository: *675 + requester: *699 sender: *4 required: - action @@ -124827,11 +125083,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -124908,11 +125164,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -124989,10 +125245,10 @@ webhooks: type: string enum: - added - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories_added: &700 + organization: *674 + repositories_added: &701 description: An array of repository objects, which were added to the installation. type: array @@ -125038,15 +125294,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *674 - repository_selection: &701 + repository: *675 + repository_selection: &702 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *698 + requester: *699 sender: *4 required: - action @@ -125125,10 +125381,10 @@ webhooks: type: string enum: - removed - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories_added: *700 + organization: *674 + repositories_added: *701 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125155,9 +125411,9 @@ webhooks: - name - full_name - private - repository: *674 - repository_selection: *701 - requester: *698 + repository: *675 + repository_selection: *702 + requester: *699 sender: *4 required: - action @@ -125236,11 +125492,11 @@ webhooks: type: string enum: - suspend - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -125423,10 +125679,10 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 target_type: type: string @@ -125505,11 +125761,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *671 + enterprise: *672 installation: *20 - organization: *673 - repositories: *699 - repository: *674 + organization: *674 + repositories: *700 + repository: *675 requester: type: - 'null' @@ -125757,8 +126013,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126575,6 +126831,20 @@ 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 @@ -126934,8 +127204,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -127015,7 +127285,7 @@ webhooks: type: string enum: - deleted - comment: &702 + comment: &703 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127182,8 +127452,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127996,6 +128266,20 @@ 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 @@ -128357,8 +128641,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -128438,7 +128722,7 @@ webhooks: type: string enum: - edited - changes: &727 + changes: &728 description: The changes to the comment. type: object properties: @@ -128450,9 +128734,9 @@ webhooks: type: string required: - from - comment: *702 - enterprise: *671 - installation: *672 + comment: *703 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129268,6 +129552,20 @@ 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 @@ -129627,8 +129925,8 @@ webhooks: - state - locked - assignee - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -129710,10 +130008,10 @@ webhooks: type: string enum: - assigned - assignee: *698 - enterprise: *671 - installation: *672 - issue: &705 + assignee: *699 + enterprise: *672 + installation: *673 + issue: &706 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130525,6 +130823,20 @@ 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 @@ -130643,8 +130955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -130724,8 +131036,8 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131542,6 +131854,20 @@ 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 @@ -131803,8 +132129,8 @@ webhooks: required: - state - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -131883,8 +132209,8 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132690,6 +133016,20 @@ 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 @@ -132807,8 +133147,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -132887,8 +133227,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133719,6 +134059,20 @@ 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 @@ -133815,7 +134169,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &703 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133958,8 +134312,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -134058,8 +134412,8 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134871,6 +135225,20 @@ 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 @@ -134989,9 +135357,9 @@ webhooks: - active_lock_reason - body - reactions - label: *697 - organization: *673 - repository: *674 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -135071,8 +135439,8 @@ webhooks: type: string enum: - labeled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135883,6 +136251,20 @@ 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 @@ -136001,9 +136383,9 @@ webhooks: - active_lock_reason - body - reactions - label: *697 - organization: *673 - repository: *674 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -136083,8 +136465,8 @@ webhooks: type: string enum: - locked - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136920,6 +137302,20 @@ 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 @@ -137015,8 +137411,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -137095,8 +137491,8 @@ webhooks: type: string enum: - milestoned - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137926,6 +138322,20 @@ 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 @@ -138021,9 +138431,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *703 - organization: *673 - repository: *674 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -138915,6 +139325,20 @@ 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 @@ -139509,8 +139933,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140322,6 +140746,20 @@ 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 @@ -140439,8 +140877,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -140520,9 +140958,9 @@ webhooks: type: string enum: - pinned - enterprise: *671 - installation: *672 - issue: &704 + enterprise: *672 + installation: *673 + issue: &705 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141328,6 +141766,20 @@ 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 @@ -141445,8 +141897,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -141525,8 +141977,8 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142360,6 +142812,20 @@ 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 @@ -142456,8 +142922,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -143346,6 +143812,20 @@ 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 @@ -143943,11 +144423,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *671 - installation: *672 - issue: *704 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *705 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144028,7 +144508,7 @@ webhooks: type: string enum: - unassigned - assignee: &730 + assignee: &731 title: User type: - object @@ -144100,11 +144580,11 @@ webhooks: required: - login - id - enterprise: *671 - installation: *672 - issue: *705 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *706 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144183,12 +144663,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *671 - installation: *672 - issue: *705 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *706 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -144268,8 +144748,8 @@ webhooks: type: string enum: - unlocked - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145103,6 +145583,20 @@ 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 @@ -145198,8 +145692,8 @@ webhooks: format: uri user_view_type: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145279,11 +145773,11 @@ webhooks: type: string enum: - unpinned - enterprise: *671 - installation: *672 - issue: *704 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + issue: *705 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145362,11 +145856,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145444,11 +145938,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145558,11 +146052,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - label: *697 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + label: *698 + organization: *674 + repository: *675 sender: *4 required: - action @@ -145644,9 +146138,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: &706 + enterprise: *672 + installation: *673 + marketplace_purchase: &707 title: Marketplace Purchase type: object required: @@ -145734,8 +146228,8 @@ webhooks: type: integer unit_count: type: integer - organization: *673 - previous_marketplace_purchase: &707 + organization: *674 + previous_marketplace_purchase: &708 title: Marketplace Purchase type: object properties: @@ -145819,7 +146313,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -145899,10 +146393,10 @@ webhooks: - changed effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145990,7 +146484,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -146072,10 +146566,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146161,7 +146655,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *674 + repository: *675 sender: *4 required: - action @@ -146242,8 +146736,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 marketplace_purchase: title: Marketplace Purchase type: object @@ -146329,9 +146823,9 @@ webhooks: type: integer unit_count: type: integer - organization: *673 - previous_marketplace_purchase: *707 - repository: *674 + organization: *674 + previous_marketplace_purchase: *708 + repository: *675 sender: *4 required: - action @@ -146411,12 +146905,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *671 - installation: *672 - marketplace_purchase: *706 - organization: *673 - previous_marketplace_purchase: *707 - repository: *674 + enterprise: *672 + installation: *673 + marketplace_purchase: *707 + organization: *674 + previous_marketplace_purchase: *708 + repository: *675 sender: *4 required: - action @@ -146518,11 +147012,11 @@ webhooks: type: string required: - to - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146624,11 +147118,11 @@ webhooks: type: - string - 'null' - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146707,11 +147201,11 @@ webhooks: type: string enum: - removed - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 sender: *4 required: - action @@ -146789,11 +147283,11 @@ webhooks: type: string enum: - added - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146871,7 +147365,7 @@ webhooks: required: - login - id - team: &708 + team: &709 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147064,11 +147558,11 @@ webhooks: type: string enum: - removed - enterprise: *671 - installation: *672 - member: *698 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + member: *699 + organization: *674 + repository: *675 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147147,7 +147641,7 @@ webhooks: required: - login - id - team: *708 + team: *709 required: - action - scope @@ -147229,8 +147723,8 @@ webhooks: type: string enum: - checks_requested - installation: *672 - merge_group: &709 + installation: *673 + merge_group: &710 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147256,8 +147750,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147343,10 +147837,10 @@ webhooks: - merged - invalidated - dequeued - installation: *672 - merge_group: *709 - organization: *673 - repository: *674 + installation: *673 + merge_group: *710 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147419,7 +147913,7 @@ webhooks: type: string enum: - deleted - enterprise: *671 + enterprise: *672 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147527,12 +148021,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *672 - organization: *673 + installation: *673 + organization: *674 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -147612,11 +148106,11 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147695,9 +148189,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - milestone: &710 + enterprise: *672 + installation: *673 + milestone: &711 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147839,8 +148333,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -147919,11 +148413,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148033,11 +148527,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - milestone: *703 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *704 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148117,11 +148611,11 @@ webhooks: type: string enum: - opened - enterprise: *671 - installation: *672 - milestone: *710 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + milestone: *711 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148200,11 +148694,11 @@ webhooks: type: string enum: - blocked - blocked_user: *698 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + blocked_user: *699 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148283,11 +148777,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *698 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + blocked_user: *699 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148366,9 +148860,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - membership: &711 + enterprise: *672 + installation: *673 + membership: &712 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148462,8 +148956,8 @@ webhooks: - role - organization_url - user - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148541,11 +149035,11 @@ webhooks: type: string enum: - member_added - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148624,8 +149118,8 @@ webhooks: type: string enum: - member_invited - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148747,10 +149241,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 - user: *698 + user: *699 required: - action - invitation @@ -148828,11 +149322,11 @@ webhooks: type: string enum: - member_removed - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148919,11 +149413,11 @@ webhooks: properties: from: type: string - enterprise: *671 - installation: *672 - membership: *711 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + membership: *712 + organization: *674 + repository: *675 sender: *4 required: - action @@ -148999,9 +149493,9 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 package: description: Information about the package. type: object @@ -149524,7 +150018,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &712 + items: &713 title: Ruby Gems metadata type: object properties: @@ -149621,7 +150115,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -149697,9 +150191,9 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 package: description: Information about the package. type: object @@ -150061,7 +150555,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *712 + items: *713 source_url: type: string format: uri @@ -150132,7 +150626,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -150313,12 +150807,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *671 + enterprise: *672 id: type: integer - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - id @@ -150398,7 +150892,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &713 + personal_access_token_request: &714 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150548,10 +151042,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *671 - organization: *673 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150630,11 +151124,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *713 - enterprise: *671 - organization: *673 + personal_access_token_request: *714 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150712,11 +151206,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *713 - enterprise: *671 - organization: *673 + personal_access_token_request: *714 + enterprise: *672 + organization: *674 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150793,11 +151287,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *713 - organization: *673 - enterprise: *671 + personal_access_token_request: *714 + organization: *674 + enterprise: *672 sender: *4 - installation: *672 + installation: *673 required: - action - personal_access_token_request @@ -150901,7 +151395,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *714 + last_response: *715 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150933,8 +151427,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 zen: description: Random string of GitHub zen. @@ -151179,10 +151673,10 @@ webhooks: - from required: - note - enterprise: *671 - installation: *672 - organization: *673 - project_card: &715 + enterprise: *672 + installation: *673 + organization: *674 + project_card: &716 title: Project Card type: object properties: @@ -151305,7 +151799,7 @@ webhooks: - creator - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -151386,11 +151880,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project_card: *715 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_card: *716 + repository: *675 sender: *4 required: - action @@ -151470,9 +151964,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 project_card: title: Project Card type: object @@ -151602,7 +152096,7 @@ webhooks: repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -151696,11 +152190,11 @@ webhooks: - from required: - note - enterprise: *671 - installation: *672 - organization: *673 - project_card: *715 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_card: *716 + repository: *675 sender: *4 required: - action @@ -151794,9 +152288,9 @@ webhooks: - from required: - column_id - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 project_card: allOf: - title: Project Card @@ -151993,7 +152487,7 @@ webhooks: type: string required: - after_id - repository: *674 + repository: *675 sender: *4 required: - action @@ -152073,10 +152567,10 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - organization: *673 - project: &717 + enterprise: *672 + installation: *673 + organization: *674 + project: &718 title: Project type: object properties: @@ -152203,7 +152697,7 @@ webhooks: - creator - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -152283,10 +152777,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project_column: &716 + enterprise: *672 + installation: *673 + organization: *674 + project_column: &717 title: Project Column type: object properties: @@ -152326,7 +152820,7 @@ webhooks: - name - created_at - updated_at - repository: *674 + repository: *675 sender: *4 required: - action @@ -152405,14 +152899,14 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -152501,11 +152995,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 + repository: *675 sender: *4 required: - action @@ -152585,11 +153079,11 @@ webhooks: type: string enum: - moved - enterprise: *671 - installation: *672 - organization: *673 - project_column: *716 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project_column: *717 + repository: *675 sender: *4 required: - action @@ -152669,11 +153163,11 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -152753,14 +153247,14 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - project: *717 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 repository: anyOf: - type: 'null' - - *674 + - *675 sender: *4 required: - action @@ -152861,11 +153355,11 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -152944,11 +153438,11 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 - organization: *673 - project: *717 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + project: *718 + repository: *675 sender: *4 required: - action @@ -153029,9 +153523,9 @@ webhooks: type: string enum: - closed - installation: *672 - organization: *673 - projects_v2: &718 + installation: *673 + organization: *674 + projects_v2: &719 title: Projects v2 Project description: A projects v2 project type: object @@ -153179,9 +153673,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153262,9 +153756,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153385,9 +153879,9 @@ webhooks: type: string to: type: string - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -153470,7 +153964,7 @@ webhooks: type: string enum: - archived - changes: &722 + changes: &723 type: object properties: archived_at: @@ -153486,9 +153980,9 @@ webhooks: - string - 'null' format: date-time - installation: *672 - organization: *673 - projects_v2_item: &719 + installation: *673 + organization: *674 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -153627,9 +154121,9 @@ webhooks: - 'null' to: type: string - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153711,9 +154205,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153794,9 +154288,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -153901,7 +154395,7 @@ webhooks: oneOf: - type: string - type: integer - - &720 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153921,7 +154415,7 @@ webhooks: required: - id - name - - &721 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153950,8 +154444,8 @@ webhooks: oneOf: - type: string - type: integer - - *720 - *721 + - *722 type: - 'null' - string @@ -153974,9 +154468,9 @@ webhooks: - 'null' required: - body - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154073,9 +154567,9 @@ webhooks: type: - string - 'null' - installation: *672 - organization: *673 - projects_v2_item: *719 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154158,10 +154652,10 @@ webhooks: type: string enum: - restored - changes: *722 - installation: *672 - organization: *673 - projects_v2_item: *719 + changes: *723 + installation: *673 + organization: *674 + projects_v2_item: *720 sender: *4 required: - action @@ -154243,9 +154737,9 @@ webhooks: type: string enum: - reopened - installation: *672 - organization: *673 - projects_v2: *718 + installation: *673 + organization: *674 + projects_v2: *719 sender: *4 required: - action @@ -154326,9 +154820,9 @@ webhooks: type: string enum: - created - installation: *672 - organization: *673 - projects_v2_status_update: &723 + installation: *673 + organization: *674 + projects_v2_status_update: &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154463,9 +154957,9 @@ webhooks: type: string enum: - deleted - installation: *672 - organization: *673 - projects_v2_status_update: *723 + installation: *673 + organization: *674 + projects_v2_status_update: *724 sender: *4 required: - action @@ -154611,9 +155105,9 @@ webhooks: - string - 'null' format: date - installation: *672 - organization: *673 - projects_v2_status_update: *723 + installation: *673 + organization: *674 + projects_v2_status_update: *724 sender: *4 required: - action @@ -154684,10 +155178,10 @@ webhooks: title: public event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - repository @@ -154764,13 +155258,13 @@ webhooks: type: string enum: - assigned - assignee: *698 - enterprise: *671 - installation: *672 - number: &724 + assignee: *699 + enterprise: *672 + installation: *673 + number: &725 description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -157119,7 +157613,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -157201,11 +157695,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -159547,7 +160041,7 @@ webhooks: - draft reason: type: string - repository: *674 + repository: *675 sender: *4 required: - action @@ -159629,11 +160123,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -161975,7 +162469,7 @@ webhooks: - draft reason: type: string - repository: *674 + repository: *675 sender: *4 required: - action @@ -162057,13 +162551,13 @@ webhooks: type: string enum: - closed - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: &725 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: &726 allOf: - - *529 + - *530 - type: object properties: allow_auto_merge: @@ -162125,7 +162619,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *674 + repository: *675 sender: *4 required: - action @@ -162206,12 +162700,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -162291,11 +162785,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *671 + enterprise: *672 milestone: *428 - number: *724 - organization: *673 - pull_request: &726 + number: *725 + organization: *674 + pull_request: &727 title: Pull Request type: object properties: @@ -164622,7 +165116,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -164701,11 +165195,11 @@ webhooks: type: string enum: - dequeued - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -167051,7 +167545,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *674 + repository: *675 sender: *4 required: - action @@ -167175,12 +167669,12 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -167260,11 +167754,11 @@ webhooks: type: string enum: - enqueued - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -169595,7 +170089,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -169675,11 +170169,11 @@ webhooks: type: string enum: - labeled - enterprise: *671 - installation: *672 - label: *697 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + label: *698 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -172027,7 +172521,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -172108,10 +172602,10 @@ webhooks: type: string enum: - locked - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -174457,7 +174951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -174537,12 +175031,12 @@ webhooks: type: string enum: - milestoned - enterprise: *671 + enterprise: *672 milestone: *428 - number: *724 - organization: *673 - pull_request: *726 - repository: *674 + number: *725 + organization: *674 + pull_request: *727 + repository: *675 sender: *4 required: - action @@ -174621,12 +175115,12 @@ webhooks: type: string enum: - opened - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -174707,12 +175201,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -174792,12 +175286,12 @@ webhooks: type: string enum: - reopened - enterprise: *671 - installation: *672 - number: *724 - organization: *673 - pull_request: *725 - repository: *674 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 + pull_request: *726 + repository: *675 sender: *4 required: - action @@ -175172,9 +175666,9 @@ webhooks: - start_side - side - reactions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -177404,7 +177898,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -177484,7 +177978,7 @@ webhooks: type: string enum: - deleted - comment: &728 + comment: &729 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. @@ -177777,9 +178271,9 @@ webhooks: - start_side - side - reactions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -179997,7 +180491,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -180077,11 +180571,11 @@ webhooks: type: string enum: - edited - changes: *727 - comment: *728 - enterprise: *671 - installation: *672 - organization: *673 + changes: *728 + comment: *729 + enterprise: *672 + installation: *673 + organization: *674 pull_request: type: object properties: @@ -182302,7 +182796,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *674 + repository: *675 sender: *4 required: - action @@ -182383,9 +182877,9 @@ webhooks: type: string enum: - dismissed - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -184618,7 +185112,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 review: description: The review that was affected. type: object @@ -184864,9 +185358,9 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -186980,8 +187474,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 - review: &729 + repository: *675 + review: &730 description: The review that was affected. type: object properties: @@ -187214,12 +187708,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -189566,7 +190060,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_reviewer: title: User type: @@ -189652,12 +190146,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -192011,7 +192505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192206,12 +192700,12 @@ webhooks: type: string enum: - review_requested - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -194560,7 +195054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_reviewer: title: User type: @@ -194647,12 +195141,12 @@ webhooks: type: string enum: - review_requested - enterprise: *671 - installation: *672 + enterprise: *672 + installation: *673 number: description: The pull request number. type: integer - organization: *673 + organization: *674 pull_request: title: Pull Request type: object @@ -196992,7 +197486,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197176,9 +197670,9 @@ webhooks: type: string enum: - submitted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -199414,8 +199908,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 - review: *729 + repository: *675 + review: *730 sender: *4 required: - action @@ -199495,9 +199989,9 @@ webhooks: type: string enum: - resolved - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -201628,7 +202122,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 sender: *4 thread: type: object @@ -202020,9 +202514,9 @@ webhooks: type: string enum: - unresolved - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 pull_request: title: Simple Pull Request type: object @@ -204136,7 +204630,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *674 + repository: *675 sender: *4 thread: type: object @@ -204530,10 +205024,10 @@ webhooks: type: string before: type: string - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -206868,7 +207362,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -206950,11 +207444,11 @@ webhooks: type: string enum: - unassigned - assignee: *730 - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + assignee: *731 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -209304,7 +209798,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -209383,11 +209877,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *671 - installation: *672 - label: *697 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + label: *698 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -211726,7 +212220,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -211807,10 +212301,10 @@ webhooks: type: string enum: - unlocked - enterprise: *671 - installation: *672 - number: *724 - organization: *673 + enterprise: *672 + installation: *673 + number: *725 + organization: *674 pull_request: title: Pull Request type: object @@ -214139,7 +214633,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *674 + repository: *675 sender: *4 required: - action @@ -214342,7 +214836,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *671 + enterprise: *672 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214437,8 +214931,8 @@ webhooks: - url - author - committer - installation: *672 - organization: *673 + installation: *673 + organization: *674 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215026,9 +215520,9 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 registry_package: type: object properties: @@ -215505,7 +215999,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *712 + items: *713 summary: type: string tag_name: @@ -215561,7 +216055,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -215639,9 +216133,9 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 registry_package: type: object properties: @@ -215953,7 +216447,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *712 + items: *713 summary: type: string tag_name: @@ -216003,7 +216497,7 @@ webhooks: - owner - package_version - registry - repository: *674 + repository: *675 sender: *4 required: - action @@ -216080,10 +216574,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - release: &731 + enterprise: *672 + installation: *673 + organization: *674 + release: &732 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216399,7 +216893,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *674 + repository: *675 sender: *4 required: - action @@ -216476,11 +216970,11 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -216588,11 +217082,11 @@ webhooks: type: boolean required: - to - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -216670,9 +217164,9 @@ webhooks: type: string enum: - prereleased - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216993,7 +217487,7 @@ webhooks: - string - 'null' format: uri - repository: *674 + repository: *675 sender: *4 required: - action @@ -217069,10 +217563,10 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - release: &732 + enterprise: *672 + installation: *673 + organization: *674 + release: &733 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217390,7 +217884,7 @@ webhooks: - string - 'null' format: uri - repository: *674 + repository: *675 sender: *4 required: - action @@ -217466,11 +217960,11 @@ webhooks: type: string enum: - released - enterprise: *671 - installation: *672 - organization: *673 - release: *731 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *732 + repository: *675 sender: *4 required: - action @@ -217546,11 +218040,11 @@ webhooks: type: string enum: - unpublished - enterprise: *671 - installation: *672 - organization: *673 - release: *732 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + release: *733 + repository: *675 sender: *4 required: - action @@ -217626,11 +218120,11 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - repository_advisory: *583 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + repository_advisory: *584 sender: *4 required: - action @@ -217706,11 +218200,11 @@ webhooks: type: string enum: - reported - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - repository_advisory: *583 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + repository_advisory: *584 sender: *4 required: - action @@ -217786,10 +218280,10 @@ webhooks: type: string enum: - archived - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -217866,10 +218360,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -217947,10 +218441,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218035,10 +218529,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218153,10 +218647,10 @@ webhooks: - 'null' items: type: string - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218228,10 +218722,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 status: type: string @@ -218312,10 +218806,10 @@ webhooks: type: string enum: - privatized - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218392,10 +218886,10 @@ webhooks: type: string enum: - publicized - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218489,10 +218983,10 @@ webhooks: - name required: - repository - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -218572,10 +219066,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 sender: *4 required: @@ -218654,10 +219148,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 sender: *4 required: @@ -218736,10 +219230,10 @@ webhooks: type: string enum: - edited - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 repository_ruleset: *272 changes: type: object @@ -219047,10 +219541,10 @@ webhooks: - from required: - owner - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219128,10 +219622,10 @@ webhooks: type: string enum: - unarchived - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219209,7 +219703,7 @@ webhooks: type: string enum: - create - alert: &733 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219333,10 +219827,10 @@ webhooks: type: string enum: - open - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219546,10 +220040,10 @@ webhooks: type: string enum: - dismissed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219627,11 +220121,11 @@ webhooks: type: string enum: - reopen - alert: *733 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *734 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219833,10 +220327,10 @@ webhooks: enum: - fixed - open - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -219914,7 +220408,7 @@ webhooks: type: string enum: - created - alert: &734 + alert: &735 type: object properties: number: *81 @@ -220018,10 +220512,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220102,11 +220596,11 @@ webhooks: type: string enum: - created - alert: *734 - installation: *672 - location: *735 - organization: *673 - repository: *674 + alert: *735 + installation: *673 + location: *736 + organization: *674 + repository: *675 sender: *4 required: - location @@ -220344,11 +220838,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220426,11 +220920,11 @@ webhooks: type: string enum: - reopened - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220508,11 +221002,11 @@ webhooks: type: string enum: - resolved - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220590,11 +221084,11 @@ webhooks: type: string enum: - validated - alert: *734 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + alert: *735 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -220670,11 +221164,11 @@ webhooks: type: string enum: - published - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - security_advisory: &736 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220860,11 +221354,11 @@ webhooks: type: string enum: - updated - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 - security_advisory: *736 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 + security_advisory: *737 sender: *4 required: - action @@ -220937,10 +221431,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221127,9 +221621,9 @@ webhooks: type: object properties: security_and_analysis: *263 - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: *324 sender: *4 required: @@ -221208,12 +221702,12 @@ webhooks: type: string enum: - cancelled - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: &737 + sponsorship: &738 type: object properties: created_at: @@ -221518,12 +222012,12 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - sponsorship @@ -221611,12 +222105,12 @@ webhooks: type: string required: - from - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221693,17 +222187,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &738 + effective_date: &739 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: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - sponsorship @@ -221777,7 +222271,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &739 + changes: &740 type: object properties: tier: @@ -221821,13 +222315,13 @@ webhooks: - from required: - tier - effective_date: *738 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + effective_date: *739 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221904,13 +222398,13 @@ webhooks: type: string enum: - tier_changed - changes: *739 - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + changes: *740 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - sponsorship: *737 + sponsorship: *738 required: - action - changes @@ -221984,10 +222478,10 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222071,10 +222565,10 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222507,15 +223001,15 @@ webhooks: type: - string - 'null' - enterprise: *671 + enterprise: *672 id: description: The unique identifier of the status. type: integer - installation: *672 + installation: *673 name: type: string - organization: *673 - repository: *674 + organization: *674 + repository: *675 sender: *4 sha: description: The Commit SHA. @@ -222631,9 +223125,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222723,9 +223217,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222815,9 +223309,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222907,9 +223401,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *672 - organization: *673 - repository: *674 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -222986,12 +223480,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - team: &740 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223184,9 +223678,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -223656,7 +224150,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -223732,9 +224226,9 @@ webhooks: type: string enum: - created - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -224204,7 +224698,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -224281,9 +224775,9 @@ webhooks: type: string enum: - deleted - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -224753,7 +225247,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -224897,9 +225391,9 @@ webhooks: - from required: - permissions - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -225369,7 +225863,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - changes @@ -225447,9 +225941,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *671 - installation: *672 - organization: *673 + enterprise: *672 + installation: *673 + organization: *674 repository: title: Repository description: A git repository @@ -225919,7 +226413,7 @@ webhooks: - topics - visibility sender: *4 - team: *740 + team: *741 required: - action - team @@ -225995,10 +226489,10 @@ webhooks: type: string enum: - started - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 required: - action @@ -226071,17 +226565,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *671 + enterprise: *672 inputs: type: - object - 'null' additionalProperties: true - installation: *672 - organization: *673 + installation: *673 + organization: *674 ref: type: string - repository: *674 + repository: *675 sender: *4 workflow: type: string @@ -226163,10 +226657,10 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: allOf: @@ -226501,10 +226995,10 @@ webhooks: type: string enum: - in_progress - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: allOf: @@ -226865,10 +227359,10 @@ webhooks: type: string enum: - queued - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: type: object @@ -227093,10 +227587,10 @@ webhooks: type: string enum: - waiting - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 workflow_job: type: object @@ -227323,12 +227817,12 @@ webhooks: type: string enum: - completed - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -228347,12 +228841,12 @@ webhooks: type: string enum: - in_progress - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object @@ -229356,12 +229850,12 @@ webhooks: type: string enum: - requested - enterprise: *671 - installation: *672 - organization: *673 - repository: *674 + enterprise: *672 + installation: *673 + organization: *674 + repository: *675 sender: *4 - workflow: *693 + workflow: *694 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 43d849773..c7431d4c6 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -51547,6 +51547,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", @@ -107311,6 +107660,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.", @@ -107599,6 +107968,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -135787,6 +136159,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" }, @@ -142970,6 +143362,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", @@ -144403,6 +144815,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", @@ -168493,6 +168925,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", @@ -170125,6 +170577,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", @@ -171766,6 +172238,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", @@ -173441,6 +173933,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", @@ -174930,6 +175442,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", @@ -176226,6 +176758,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", @@ -177513,6 +178065,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", @@ -178793,6 +179365,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", @@ -180101,6 +180693,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", @@ -181373,6 +181985,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", @@ -182626,6 +183258,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", @@ -184509,6 +185161,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", @@ -185844,6 +186516,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", @@ -187091,6 +187783,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", @@ -189117,6 +189829,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 367c78b92..e0267ea43 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -37497,6 +37497,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 @@ -77809,6 +78058,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 @@ -78003,6 +78266,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 @@ -98328,6 +98593,20 @@ components: type: - string - 'null' + sub_issues_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: @@ -103625,6 +103904,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 @@ -104691,6 +104984,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 @@ -122307,6 +122614,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 @@ -123504,6 +123825,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 @@ -124708,6 +125043,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 @@ -125937,6 +126286,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 @@ -127025,6 +127388,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 @@ -127994,6 +128371,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 @@ -128945,6 +129336,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 @@ -129898,6 +130303,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 @@ -130875,6 +131294,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 @@ -131821,6 +132254,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 @@ -132749,6 +133196,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 @@ -134157,6 +134618,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 @@ -135154,6 +135629,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 @@ -136078,6 +136567,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 @@ -137592,6 +138095,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 43d849773..c7431d4c6 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -51547,6 +51547,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", @@ -107311,6 +107660,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.", @@ -107599,6 +107968,9 @@ }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" + }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" } }, "required": [ @@ -135787,6 +136159,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" }, @@ -142970,6 +143362,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", @@ -144403,6 +144815,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", @@ -168493,6 +168925,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", @@ -170125,6 +170577,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", @@ -171766,6 +172238,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", @@ -173441,6 +173933,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", @@ -174930,6 +175442,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", @@ -176226,6 +176758,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", @@ -177513,6 +178065,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", @@ -178793,6 +179365,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", @@ -180101,6 +180693,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", @@ -181373,6 +181985,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", @@ -182626,6 +183258,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", @@ -184509,6 +185161,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", @@ -185844,6 +186516,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", @@ -187091,6 +187783,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", @@ -189117,6 +189829,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 367c78b92..e0267ea43 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -37497,6 +37497,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 @@ -77809,6 +78058,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 @@ -78003,6 +78266,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 @@ -98328,6 +98593,20 @@ components: type: - string - 'null' + sub_issues_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: @@ -103625,6 +103904,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 @@ -104691,6 +104984,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 @@ -122307,6 +122614,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 @@ -123504,6 +123825,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 @@ -124708,6 +125043,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 @@ -125937,6 +126286,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 @@ -127025,6 +127388,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 @@ -127994,6 +128371,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 @@ -128945,6 +129336,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 @@ -129898,6 +130303,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 @@ -130875,6 +131294,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 @@ -131821,6 +132254,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 @@ -132749,6 +133196,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 @@ -134157,6 +134618,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 @@ -135154,6 +135629,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 @@ -136078,6 +136567,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 @@ -137592,6 +138095,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-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 9af037562..6ea272b5e 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -46626,6 +46626,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": [ @@ -64501,6 +64521,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": [ @@ -69208,6 +69248,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": [ @@ -98250,6 +98310,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": [ @@ -106885,6 +106965,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": [ @@ -268526,6 +268626,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": [ @@ -288888,6 +289008,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": [ @@ -291950,6 +292090,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": [ @@ -298982,6 +299142,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": [ @@ -303538,6 +303718,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": [ @@ -307891,6 +308091,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": [ @@ -310935,6 +311155,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": [ @@ -313990,6 +314230,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": [ @@ -316842,6 +317102,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": [ @@ -344290,6 +344570,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": [ @@ -431745,6 +432045,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" }, @@ -461330,6 +461650,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": [ @@ -492563,6 +492903,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": [ @@ -496122,6 +496482,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": [ @@ -499683,6 +500063,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": [ @@ -510494,6 +510894,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": [ @@ -514055,6 +514475,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": [ @@ -695377,6 +695817,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", @@ -699511,6 +699971,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", @@ -703669,6 +704149,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", @@ -707357,6 +707857,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", @@ -710598,6 +711118,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", @@ -714044,6 +714584,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", @@ -717297,6 +717857,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", @@ -720731,6 +721311,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", @@ -724008,6 +724608,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", @@ -727313,6 +727933,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", @@ -730542,6 +731182,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", @@ -733833,6 +734493,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", @@ -735820,6 +736500,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", @@ -739049,6 +739749,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", @@ -742305,6 +743025,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", @@ -745400,6 +746140,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", @@ -747384,6 +748144,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", @@ -750721,6 +751501,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", @@ -753957,6 +754757,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", @@ -757260,6 +758080,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", @@ -760466,6 +761306,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-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 680ebb92f..d14241719 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -14581,6 +14581,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: - assignee - closed_at @@ -76346,6 +76360,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -106280,6 +106308,20 @@ 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 @@ -107711,6 +107753,20 @@ 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 @@ -108993,6 +109049,20 @@ 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 @@ -110260,6 +110330,20 @@ 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 @@ -111287,6 +111371,20 @@ 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 @@ -112445,6 +112543,20 @@ 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 @@ -113484,6 +113596,20 @@ 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 @@ -114646,6 +114772,20 @@ 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 @@ -115668,6 +115808,20 @@ 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 @@ -116715,6 +116869,20 @@ 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 @@ -117731,6 +117899,20 @@ 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 @@ -118730,6 +118912,20 @@ 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 @@ -120131,6 +120327,20 @@ 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 @@ -121147,6 +121357,20 @@ 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 @@ -122189,6 +122413,20 @@ 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 @@ -123185,6 +123423,20 @@ 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 @@ -124966,6 +125218,20 @@ 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-next/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json index 9af037562..6ea272b5e 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -46626,6 +46626,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": [ @@ -64501,6 +64521,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": [ @@ -69208,6 +69248,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": [ @@ -98250,6 +98310,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": [ @@ -106885,6 +106965,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": [ @@ -268526,6 +268626,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": [ @@ -288888,6 +289008,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": [ @@ -291950,6 +292090,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": [ @@ -298982,6 +299142,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": [ @@ -303538,6 +303718,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": [ @@ -307891,6 +308091,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": [ @@ -310935,6 +311155,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": [ @@ -313990,6 +314230,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": [ @@ -316842,6 +317102,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": [ @@ -344290,6 +344570,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": [ @@ -431745,6 +432045,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" }, @@ -461330,6 +461650,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": [ @@ -492563,6 +492903,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": [ @@ -496122,6 +496482,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": [ @@ -499683,6 +500063,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": [ @@ -510494,6 +510894,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": [ @@ -514055,6 +514475,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": [ @@ -695377,6 +695817,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", @@ -699511,6 +699971,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", @@ -703669,6 +704149,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", @@ -707357,6 +707857,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", @@ -710598,6 +711118,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", @@ -714044,6 +714584,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", @@ -717297,6 +717857,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", @@ -720731,6 +721311,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", @@ -724008,6 +724608,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", @@ -727313,6 +727933,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", @@ -730542,6 +731182,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", @@ -733833,6 +734493,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", @@ -735820,6 +736500,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", @@ -739049,6 +739749,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", @@ -742305,6 +743025,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", @@ -745400,6 +746140,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", @@ -747384,6 +748144,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", @@ -750721,6 +751501,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", @@ -753957,6 +754757,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", @@ -757260,6 +758080,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", @@ -760466,6 +761306,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-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 680ebb92f..d14241719 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -14581,6 +14581,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: - assignee - closed_at @@ -76346,6 +76360,20 @@ paths: type: - string - 'null' + sub_issues_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: @@ -106280,6 +106308,20 @@ 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 @@ -107711,6 +107753,20 @@ 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 @@ -108993,6 +109049,20 @@ 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 @@ -110260,6 +110330,20 @@ 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 @@ -111287,6 +111371,20 @@ 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 @@ -112445,6 +112543,20 @@ 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 @@ -113484,6 +113596,20 @@ 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 @@ -114646,6 +114772,20 @@ 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 @@ -115668,6 +115808,20 @@ 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 @@ -116715,6 +116869,20 @@ 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 @@ -117731,6 +117899,20 @@ 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 @@ -118730,6 +118912,20 @@ 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 @@ -120131,6 +120327,20 @@ 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 @@ -121147,6 +121357,20 @@ 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 @@ -122189,6 +122413,20 @@ 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 @@ -123185,6 +123423,20 @@ 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 @@ -124966,6 +125218,20 @@ webhooks: repository_url: type: string format{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}