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 e1221499d3..de55d89175 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 @@ -4134,6 +4134,238 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -16965,6 +17197,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -86988,11 +87223,11 @@ } } }, - "issues-labeled": { + "issues-field-added": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87059,7 +87294,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -87081,11 +87316,11 @@ } } }, - "issues-locked": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87152,7 +87387,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -87174,11 +87409,11 @@ } } }, - "issues-milestoned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87245,7 +87480,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -87267,11 +87502,11 @@ } } }, - "issues-opened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87338,7 +87573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -87360,11 +87595,11 @@ } } }, - "issues-pinned": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87431,7 +87666,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87453,11 +87688,197 @@ } } }, - "issues-reopened": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-opened" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-pinned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -109053,6 +109474,42 @@ ], "additionalProperties": false }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -117591,42 +118048,6 @@ ], "additionalProperties": true }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -187645,6 +188066,327 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -297889,6 +298631,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -302314,84 +303134,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, 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 b8dd5aafbf..7110b44bfd 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 @@ -2997,6 +2997,180 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12295,6 +12469,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -62892,7 +63068,7 @@ webhooks: - repository - organization - app - issues-labeled: + issues-field-added: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62900,8 +63076,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was added to an issue. - operationId: issues/labeled + description: An issue field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62945,7 +63121,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62958,7 +63134,7 @@ webhooks: - repository - organization - app - issues-locked: + issues-field-removed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62966,9 +63142,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/locked + description: An issue field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63012,7 +63187,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63025,7 +63200,7 @@ webhooks: - repository - organization - app - issues-milestoned: + issues-labeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63033,8 +63208,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was added to a milestone. - operationId: issues/milestoned + description: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63078,7 +63253,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63091,7 +63266,7 @@ webhooks: - repository - organization - app - issues-opened: + issues-locked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63099,9 +63274,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was created. When a closed issue is reopened, the action - will be `reopened` instead. - operationId: issues/opened + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/locked externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63145,7 +63320,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63158,7 +63333,7 @@ webhooks: - repository - organization - app - issues-pinned: + issues-milestoned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63166,9 +63341,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was pinned to a repository. For more information, see - "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/pinned + description: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63212,7 +63386,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63225,7 +63399,7 @@ webhooks: - repository - organization - app - issues-reopened: + issues-opened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63233,8 +63407,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A closed issue was reopened. - operationId: issues/reopened + description: An issue was created. When a closed issue is reopened, the action + will be `reopened` instead. + operationId: issues/opened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63278,7 +63453,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63291,7 +63466,7 @@ webhooks: - repository - organization - app - issues-transferred: + issues-pinned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63299,9 +63474,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was transferred to another repository. For more information, - see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - operationId: issues/transferred + description: An issue was pinned to a repository. For more information, see + "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/pinned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63345,7 +63520,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63358,7 +63533,7 @@ webhooks: - repository - organization - app - issues-typed: + issues-reopened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63366,8 +63541,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was added to an issue. - operationId: issues/typed + description: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63411,7 +63586,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63424,7 +63599,7 @@ webhooks: - repository - organization - app - issues-unassigned: + issues-transferred: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63432,8 +63607,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A user was unassigned from an issue. - operationId: issues/unassigned + description: An issue was transferred to another repository. For more information, + see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." + operationId: issues/transferred externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63477,7 +63653,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63490,7 +63666,7 @@ webhooks: - repository - organization - app - issues-unlabeled: + issues-typed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63498,8 +63674,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was removed from an issue. - operationId: issues/unlabeled + description: An issue type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63543,7 +63719,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63556,7 +63732,7 @@ webhooks: - repository - organization - app - issues-unlocked: + issues-unassigned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63564,9 +63740,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/unlocked + description: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63610,7 +63785,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63623,7 +63798,7 @@ webhooks: - repository - organization - app - issues-unpinned: + issues-unlabeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63631,9 +63806,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was unpinned from a repository. For more information, - see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/unpinned + description: A label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63677,7 +63851,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63690,7 +63864,7 @@ webhooks: - repository - organization - app - issues-untyped: + issues-unlocked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63698,8 +63872,142 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was removed from an issue. - operationId: issues/untyped + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/unlocked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unlocked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-unpinned: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue was unpinned from a repository. For more information, + see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/unpinned + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unpinned" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-untyped: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue type was removed from an issue. + operationId: issues/untyped externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -78940,6 +79248,30 @@ components: - fixed_at - repository additionalProperties: false + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -85282,30 +85614,6 @@ components: required: - date additionalProperties: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -136328,6 +136636,234 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -219339,6 +219875,78 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -223089,78 +223697,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index d12b4dabe4..54b6fd9178 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -4134,6 +4134,238 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -16923,6 +17155,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -86867,11 +87102,11 @@ } } }, - "issues-labeled": { + "issues-field-added": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -86938,7 +87173,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -86960,11 +87195,11 @@ } } }, - "issues-locked": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87031,7 +87266,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -87053,11 +87288,11 @@ } } }, - "issues-milestoned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87124,7 +87359,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -87146,11 +87381,11 @@ } } }, - "issues-opened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87217,7 +87452,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -87239,11 +87474,11 @@ } } }, - "issues-pinned": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87310,7 +87545,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87332,11 +87567,197 @@ } } }, - "issues-reopened": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-opened" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-pinned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -108845,6 +109266,42 @@ ], "additionalProperties": false }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -117027,42 +117484,6 @@ ], "additionalProperties": true }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -187172,6 +187593,327 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -297050,6 +297792,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -301473,84 +302293,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 01fbc278df..16ab777d1b 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -2997,6 +2997,180 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12261,6 +12435,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -62792,7 +62968,7 @@ webhooks: - repository - organization - app - issues-labeled: + issues-field-added: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62800,8 +62976,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was added to an issue. - operationId: issues/labeled + description: An issue field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62845,7 +63021,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62858,7 +63034,7 @@ webhooks: - repository - organization - app - issues-locked: + issues-field-removed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62866,9 +63042,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/locked + description: An issue field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62912,7 +63087,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62925,7 +63100,7 @@ webhooks: - repository - organization - app - issues-milestoned: + issues-labeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62933,8 +63108,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was added to a milestone. - operationId: issues/milestoned + description: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -62978,7 +63153,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -62991,7 +63166,7 @@ webhooks: - repository - organization - app - issues-opened: + issues-locked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -62999,9 +63174,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was created. When a closed issue is reopened, the action - will be `reopened` instead. - operationId: issues/opened + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/locked externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63045,7 +63220,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63058,7 +63233,7 @@ webhooks: - repository - organization - app - issues-pinned: + issues-milestoned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63066,9 +63241,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was pinned to a repository. For more information, see - "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/pinned + description: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63112,7 +63286,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63125,7 +63299,7 @@ webhooks: - repository - organization - app - issues-reopened: + issues-opened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63133,8 +63307,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A closed issue was reopened. - operationId: issues/reopened + description: An issue was created. When a closed issue is reopened, the action + will be `reopened` instead. + operationId: issues/opened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63178,7 +63353,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63191,7 +63366,7 @@ webhooks: - repository - organization - app - issues-transferred: + issues-pinned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63199,9 +63374,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was transferred to another repository. For more information, - see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - operationId: issues/transferred + description: An issue was pinned to a repository. For more information, see + "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/pinned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63245,7 +63420,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63258,7 +63433,7 @@ webhooks: - repository - organization - app - issues-typed: + issues-reopened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63266,8 +63441,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was added to an issue. - operationId: issues/typed + description: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63311,7 +63486,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63324,7 +63499,7 @@ webhooks: - repository - organization - app - issues-unassigned: + issues-transferred: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63332,8 +63507,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A user was unassigned from an issue. - operationId: issues/unassigned + description: An issue was transferred to another repository. For more information, + see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." + operationId: issues/transferred externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63377,7 +63553,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63390,7 +63566,7 @@ webhooks: - repository - organization - app - issues-unlabeled: + issues-typed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63398,8 +63574,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was removed from an issue. - operationId: issues/unlabeled + description: An issue type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63443,7 +63619,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63456,7 +63632,7 @@ webhooks: - repository - organization - app - issues-unlocked: + issues-unassigned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63464,9 +63640,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/unlocked + description: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63510,7 +63685,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63523,7 +63698,7 @@ webhooks: - repository - organization - app - issues-unpinned: + issues-unlabeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63531,9 +63706,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was unpinned from a repository. For more information, - see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/unpinned + description: A label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63577,7 +63751,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63590,7 +63764,7 @@ webhooks: - repository - organization - app - issues-untyped: + issues-unlocked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63598,8 +63772,142 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was removed from an issue. - operationId: issues/untyped + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/unlocked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unlocked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-unpinned: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue was unpinned from a repository. For more information, + see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/unpinned + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unpinned" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-untyped: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue type was removed from an issue. + operationId: issues/untyped externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -78770,6 +79078,30 @@ components: - fixed_at - repository additionalProperties: false + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -84864,30 +85196,6 @@ components: required: - date additionalProperties: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -135985,6 +136293,234 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -218647,6 +219183,78 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -222395,78 +223003,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 68a2e18bf8..86ae92e21e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -4148,6 +4148,238 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -17067,6 +17299,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -87408,11 +87643,11 @@ } } }, - "issues-labeled": { + "issues-field-added": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87479,7 +87714,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" } } } @@ -87501,11 +87736,11 @@ } } }, - "issues-locked": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87572,7 +87807,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" } } } @@ -87594,11 +87829,11 @@ } } }, - "issues-milestoned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87665,7 +87900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" } } } @@ -87687,11 +87922,11 @@ } } }, - "issues-opened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87758,7 +87993,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" } } } @@ -87780,11 +88015,11 @@ } } }, - "issues-pinned": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -87851,7 +88086,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -87873,11 +88108,197 @@ } } }, - "issues-reopened": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-opened" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-pinned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -109659,6 +110080,42 @@ ], "additionalProperties": false }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -118338,42 +118795,6 @@ ], "additionalProperties": true }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -188912,6 +189333,327 @@ "sender" ] }, + "webhook-issues-field-added": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, + "webhook-issues-field-removed": { + "title": "issues field_removed event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_removed" + ] + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "issue": { + "$ref": "#/components/schemas/webhooks_issue" + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was cleared from the issue.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field." + }, + "name": { + "type": "string", + "description": "The name of the issue field." + }, + "field_type": { + "type": "string", + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "issue", + "issue_field", + "repository", + "sender" + ] + }, "webhook-issues-labeled": { "title": "issues labeled event", "type": "object", @@ -299797,6 +300539,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "enterprise-teams-items": { "value": [ { @@ -304245,84 +305065,6 @@ } ] }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 83012c4d63..edc810080e 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -3005,6 +3005,180 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -12349,6 +12523,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -63139,7 +63315,7 @@ webhooks: - repository - organization - app - issues-labeled: + issues-field-added: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63147,8 +63323,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was added to an issue. - operationId: issues/labeled + description: An issue field value was set or updated on an issue. + operationId: issues/field-added externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63192,7 +63368,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-field-added" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63205,7 +63381,7 @@ webhooks: - repository - organization - app - issues-locked: + issues-field-removed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63213,9 +63389,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/locked + description: An issue field value was cleared from an issue. + operationId: issues/field-removed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63259,7 +63434,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-locked" + "$ref": "#/components/schemas/webhook-issues-field-removed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63272,7 +63447,7 @@ webhooks: - repository - organization - app - issues-milestoned: + issues-labeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63280,8 +63455,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was added to a milestone. - operationId: issues/milestoned + description: A label was added to an issue. + operationId: issues/labeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63325,7 +63500,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-labeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63338,7 +63513,7 @@ webhooks: - repository - organization - app - issues-opened: + issues-locked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63346,9 +63521,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was created. When a closed issue is reopened, the action - will be `reopened` instead. - operationId: issues/opened + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/locked externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63392,7 +63567,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-opened" + "$ref": "#/components/schemas/webhook-issues-locked" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63405,7 +63580,7 @@ webhooks: - repository - organization - app - issues-pinned: + issues-milestoned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63413,9 +63588,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was pinned to a repository. For more information, see - "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/pinned + description: An issue was added to a milestone. + operationId: issues/milestoned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63459,7 +63633,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-pinned" + "$ref": "#/components/schemas/webhook-issues-milestoned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63472,7 +63646,7 @@ webhooks: - repository - organization - app - issues-reopened: + issues-opened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63480,8 +63654,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A closed issue was reopened. - operationId: issues/reopened + description: An issue was created. When a closed issue is reopened, the action + will be `reopened` instead. + operationId: issues/opened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63525,7 +63700,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-opened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63538,7 +63713,7 @@ webhooks: - repository - organization - app - issues-transferred: + issues-pinned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63546,9 +63721,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was transferred to another repository. For more information, - see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." - operationId: issues/transferred + description: An issue was pinned to a repository. For more information, see + "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/pinned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63592,7 +63767,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-pinned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63605,7 +63780,7 @@ webhooks: - repository - organization - app - issues-typed: + issues-reopened: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63613,8 +63788,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was added to an issue. - operationId: issues/typed + description: A closed issue was reopened. + operationId: issues/reopened externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63658,7 +63833,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-typed" + "$ref": "#/components/schemas/webhook-issues-reopened" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63671,7 +63846,7 @@ webhooks: - repository - organization - app - issues-unassigned: + issues-transferred: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63679,8 +63854,9 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A user was unassigned from an issue. - operationId: issues/unassigned + description: An issue was transferred to another repository. For more information, + see "[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository)." + operationId: issues/transferred externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63724,7 +63900,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63737,7 +63913,7 @@ webhooks: - repository - organization - app - issues-unlabeled: + issues-typed: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63745,8 +63921,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: A label was removed from an issue. - operationId: issues/unlabeled + description: An issue type was added to an issue. + operationId: issues/typed externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63790,7 +63966,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-typed" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63803,7 +63979,7 @@ webhooks: - repository - organization - app - issues-unlocked: + issues-unassigned: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63811,9 +63987,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: Conversation on an issue was locked. For more information, see - "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." - operationId: issues/unlocked + description: A user was unassigned from an issue. + operationId: issues/unassigned externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63857,7 +64032,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-unassigned" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63870,7 +64045,7 @@ webhooks: - repository - organization - app - issues-unpinned: + issues-unlabeled: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63878,9 +64053,8 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue was unpinned from a repository. For more information, - see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." - operationId: issues/unpinned + description: A label was removed from an issue. + operationId: issues/unlabeled externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -63924,7 +64098,7 @@ webhooks: content: application/json: schema: - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unlabeled" responses: '200': description: Return a 200 status to indicate that the data was received @@ -63937,7 +64111,7 @@ webhooks: - repository - organization - app - issues-untyped: + issues-unlocked: post: summary: |- This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -63945,8 +64119,142 @@ webhooks: For activity relating to a comment on an issue, use the `issue_comment` event. To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. - description: An issue type was removed from an issue. - operationId: issues/untyped + description: Conversation on an issue was locked. For more information, see + "[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations)." + operationId: issues/unlocked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unlocked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-unpinned: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue was unpinned from a repository. For more information, + see "[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository)." + operationId: issues/unpinned + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-issues-unpinned" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-untyped: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue type was removed from an issue. + operationId: issues/untyped externalDocs: url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues parameters: @@ -79335,6 +79643,30 @@ components: - fixed_at - repository additionalProperties: false + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -85769,30 +86101,6 @@ components: required: - date additionalProperties: true - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -137242,6 +137550,234 @@ components: - issue - repository - sender + webhook-issues-field-added: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was set or updated on the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. When + updating an existing value, the previous value is available in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing value was + updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before the update. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The previous value. Present for text, date, and + number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected option. + Present for single_select field types. + option: + type: object + description: The previously selected option details. Present + for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender + webhook-issues-field-removed: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + issue: + "$ref": "#/components/schemas/webhooks_issue" + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, and number + field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present for single_select + field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - issue + - issue_field + - repository + - sender webhook-issues-labeled: title: issues labeled event type: object @@ -220574,6 +221110,78 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks enterprise-teams-items: value: - id: 1 @@ -224336,78 +224944,6 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 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 dca9d8bce0..c1e04b71c3 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 @@ -27445,6 +27445,1050 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "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": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "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" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -115513,6 +116557,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -1129438,19 +1130485,9012 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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" + ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + } + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-edited": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues edited event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "edited" + ] + }, + "changes": { + "description": "The changes to the issue.", + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ] + }, + "title": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the title.", + "type": "string" + } + }, + "required": [ + "from" + ] + } + } + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-field-added": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -1129480,7 +1139520,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1129497,24 +1139546,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -1129536,10 +1139567,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1129628,7 +1139655,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -1129684,7 +1139715,25 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] }, "node_id": { "type": "string" @@ -1129699,17 +1139748,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -1129774,7 +1139812,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1129809,10 +1139849,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1129900,7 +1139936,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1130158,7 +1140198,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -1130191,18 +1140242,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1130235,7 +1140274,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1131425,10 +1141476,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1131518,203 +1141565,197 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": [ - "object", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } }, "required": [ "login", "id" ] - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } } }, "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1133491,6 +1143532,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1133515,11 +1143557,11 @@ } } }, - "issues-edited": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -1133586,45 +1143628,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": [ - "from" - ] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": [ - "from" - ] - } - } - }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -1133950,6 +1143962,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1134340,9 +1144355,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1135918,6 +1145932,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1135985,10 +1146003,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1136124,47 +1146138,91 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": [ - "string", - "null" - ] - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -1137942,8 +1148000,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] 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 ba324f834b..0fd310ec3a 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 @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &314 + type: &316 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &638 + - &640 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1658,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &204 + - &206 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1667,7 +1667,7 @@ paths: required: false schema: type: string - - &205 + - &207 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1687,7 +1687,7 @@ paths: application/json: schema: type: array - items: &206 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1783,7 +1783,7 @@ paths: - installation_id - repository_id examples: - default: &207 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1918,7 +1918,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2053,7 +2053,7 @@ paths: - request - response examples: - default: &209 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9806,7 +9806,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &473 + - &475 name: has in: query description: |- @@ -9936,7 +9936,7 @@ paths: - transitive - inconclusive - - security_advisory: &474 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -10211,7 +10211,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &475 + auto_dismissed_at: &477 type: - string - 'null' @@ -10219,7 +10219,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &476 + dismissal_request: &478 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10630,6 +10630,267 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *38 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &200 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: &201 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -11646,7 +11907,7 @@ paths: properties: action: type: string - discussion: &728 + discussion: &730 title: Discussion description: A Discussion in a repository. type: object @@ -12147,7 +12408,7 @@ paths: milestone: anyOf: - type: 'null' - - &266 + - &268 title: Milestone description: A collection of related issues and pull requests. @@ -12319,7 +12580,7 @@ paths: timeline_url: type: string format: uri - type: &230 + type: &232 title: Issue Type description: The type of issue. type: @@ -12430,7 +12691,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &651 title: Sub-issues Summary type: object properties: @@ -12514,7 +12775,7 @@ paths: pin: anyOf: - type: 'null' - - &548 + - &550 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12541,7 +12802,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &650 + issue_dependencies_summary: &652 title: Issue Dependencies Summary type: object properties: @@ -12560,7 +12821,7 @@ paths: - total_blocking issue_field_values: type: array - items: &532 + items: &534 title: Issue Field Value description: A value assigned to an issue field type: object @@ -13341,7 +13602,7 @@ paths: type: string release: allOf: - - &580 + - &582 title: Release description: A release. type: object @@ -13423,7 +13684,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &583 title: Release Asset description: Data related to a release. type: object @@ -14026,7 +14287,7 @@ paths: url: type: string format: uri - user: &656 + user: &658 title: Public User description: Public User type: object @@ -15916,7 +16177,7 @@ paths: - closed - all default: open - - &233 + - &235 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15967,7 +16228,7 @@ paths: type: array items: *82 examples: - default: &234 + default: &236 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17379,14 +17640,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &325 + - &327 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &326 + - &328 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17448,7 +17709,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &329 + '301': &331 description: Moved permanently content: application/json: @@ -17470,7 +17731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &556 + - &558 name: all description: If `true`, show notifications marked as read. in: query @@ -17478,7 +17739,7 @@ paths: schema: type: boolean default: false - - &557 + - &559 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17488,7 +17749,7 @@ paths: type: boolean default: false - *87 - - &558 + - &560 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: @@ -17870,7 +18131,7 @@ paths: type: boolean examples: - false - security_and_analysis: &281 + security_and_analysis: &283 type: - object - 'null' @@ -18081,7 +18342,7 @@ paths: - url - subscription_url examples: - default: &559 + default: &561 value: - id: '1' repository: @@ -19385,7 +19646,7 @@ paths: required: false schema: type: string - - &705 + - &707 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19531,7 +19792,7 @@ paths: parameters: - *74 - *116 - - &706 + - &708 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19643,7 +19904,7 @@ paths: - *116 - *118 - *117 - - &707 + - &709 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19651,7 +19912,7 @@ paths: schema: type: string - *119 - - &708 + - &710 name: sku description: The SKU to query for usage. in: query @@ -20630,7 +20891,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &338 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -22006,7 +22267,7 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &344 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -22089,7 +22350,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: days: @@ -22131,7 +22392,7 @@ paths: required: true content: application/json: - schema: &347 + schema: &349 type: object properties: days: @@ -22188,7 +22449,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &350 value: approval_policy: first_time_contributors '404': *6 @@ -22247,7 +22508,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -22301,7 +22562,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -22936,7 +23197,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: default_workflow_permissions: &146 @@ -22987,7 +23248,7 @@ paths: required: false content: application/json: - schema: &352 + schema: &354 type: object properties: default_workflow_permissions: *146 @@ -24127,7 +24388,7 @@ paths: application/json: schema: type: array - items: &353 + items: &355 title: Runner Application description: Runner Application type: object @@ -24152,7 +24413,7 @@ paths: - download_url - filename examples: - default: &354 + default: &356 value: - os: osx architecture: x64 @@ -24238,7 +24499,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &357 description: Response content: application/json: @@ -24353,7 +24614,7 @@ paths: - token - expires_at examples: - default: &356 + default: &358 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -24392,7 +24653,7 @@ paths: application/json: schema: *157 examples: - default: &357 + default: &359 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -24426,7 +24687,7 @@ paths: application/json: schema: *155 examples: - default: &358 + default: &360 value: id: 23 name: MBP @@ -24652,7 +24913,7 @@ paths: - *74 - *154 responses: - '200': &359 + '200': &361 description: Response content: application/json: @@ -24709,7 +24970,7 @@ paths: parameters: - *74 - *154 - - &360 + - &362 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24841,7 +25102,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24876,7 +25137,7 @@ paths: - key_id - key examples: - default: &373 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25289,7 +25550,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *74 - - &341 + - &343 name: per_page description: The number of results per page (max 30). 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)." @@ -26522,12 +26783,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &689 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &690 value: subject_digests: - sha256:abc123 @@ -26586,7 +26847,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &691 value: attestations_subject_digests: - sha256:abc: @@ -26937,7 +27198,7 @@ paths: initiator: type: string examples: - default: &386 + default: &388 value: attestations: - bundle: @@ -27290,7 +27551,7 @@ paths: parent: anyOf: - type: 'null' - - &245 + - &247 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27893,7 +28154,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &410 + - &412 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -27903,7 +28164,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &413 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -27927,7 +28188,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &415 type: string description: State of a code scanning alert. enum: @@ -27950,7 +28211,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &416 type: string description: Severity of a code scanning alert. enum: @@ -27984,7 +28245,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &415 + instances_url: &417 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -28006,7 +28267,7 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: &416 + dismissed_reason: &418 type: - string - 'null' @@ -28017,14 +28278,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &417 + dismissed_comment: &419 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &418 + rule: &420 type: object properties: id: @@ -28085,7 +28346,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &421 type: object properties: name: *178 @@ -28096,26 +28357,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &420 + most_recent_instance: &422 type: object properties: - ref: &412 + ref: &414 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &432 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &431 + environment: &433 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &432 + category: &434 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -28135,7 +28396,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &433 + location: &435 type: object description: Describe a region within a file for the alert. properties: @@ -28156,7 +28417,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &434 + items: &436 type: - string - 'null' @@ -28858,6 +29119,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -29455,7 +29718,7 @@ paths: type: integer codespaces: type: array - items: &235 + items: &237 type: object title: Codespace description: A codespace. @@ -29490,7 +29753,7 @@ paths: machine: anyOf: - type: 'null' - - &446 + - &448 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29777,7 +30040,7 @@ paths: - pulls_url - recent_folders examples: - default: &236 + default: &238 value: total_count: 3 codespaces: @@ -30442,7 +30705,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &449 value: total_count: 2 secrets: @@ -30480,7 +30743,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30515,7 +30778,7 @@ paths: - key_id - key examples: - default: &449 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30547,7 +30810,7 @@ paths: application/json: schema: *186 examples: - default: &451 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31014,7 +31277,7 @@ paths: currently being billed. seats: type: array - items: &238 + items: &240 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -31985,7 +32248,7 @@ paths: application/json: schema: type: array - items: &318 + items: &320 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -32300,7 +32563,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &321 value: - date: '2024-06-24' total_active_users: 24 @@ -32402,7 +32665,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &320 + '422': &322 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -32690,104 +32953,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *65 - additionalProperties: false + schema: *200 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *201 '403': *27 '404': *6 x-github: @@ -32951,7 +33119,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &202 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33030,7 +33198,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &481 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33049,7 +33217,7 @@ paths: - key_id - key examples: - default: &480 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33079,7 +33247,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -33378,7 +33546,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Package description: A software package type: object @@ -33449,7 +33617,7 @@ paths: - created_at - updated_at examples: - default: &248 + default: &250 value: - id: 197 name: hello_docker @@ -33619,7 +33787,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -33673,7 +33841,7 @@ paths: - invitation_teams_url - node_id examples: - default: &225 + default: &227 value: - id: 1 login: monalisa @@ -33740,7 +33908,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Org Hook description: Org Hook type: object @@ -33925,9 +34093,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &202 + default: &204 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33975,7 +34143,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &203 + - &205 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -33988,9 +34156,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -34018,7 +34186,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -34064,7 +34232,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -34106,7 +34274,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -34134,7 +34302,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 responses: '200': description: Response @@ -34165,7 +34333,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -34216,10 +34384,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *203 - - *17 - - *204 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -34227,9 +34395,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -34255,16 +34423,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -34290,7 +34458,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '202': *37 @@ -34320,7 +34488,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -34343,7 +34511,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &214 + - &216 name: actor_type in: path description: The type of the actor @@ -34356,14 +34524,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &215 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &210 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -34371,7 +34539,7 @@ paths: required: true schema: type: string - - &211 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34466,12 +34634,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 - *19 - *17 - *60 - - &220 + - &222 name: sort description: The property to sort the results by. in: query @@ -34550,14 +34718,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &212 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34573,7 +34741,7 @@ paths: type: integer format: int64 examples: - default: &213 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34594,23 +34762,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &216 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34629,18 +34797,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *210 - - *211 - - *214 - - *215 + - *212 + - *213 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34658,9 +34826,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *210 - - *211 - - &217 + - *212 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34673,7 +34841,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34689,7 +34857,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34726,18 +34894,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *216 - - *210 - - *211 - - *217 + - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -34755,19 +34923,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *214 - - *215 - - *210 - - *211 + - *216 - *217 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -34785,13 +34953,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *216 - - *210 - - *211 + - *218 + - *212 + - *213 - *19 - *17 - *60 - - *220 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34875,7 +35043,7 @@ paths: application/json: schema: *20 examples: - default: &519 + default: &521 value: id: 1 account: @@ -35041,12 +35209,12 @@ paths: application/json: schema: anyOf: - - &222 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &221 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35074,7 +35242,7 @@ paths: properties: {} additionalProperties: false examples: - default: &223 + default: &225 value: limit: collaborators_only origin: organization @@ -35103,13 +35271,13 @@ paths: required: true content: application/json: - schema: &520 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *221 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35134,9 +35302,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -35212,9 +35380,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 '404': *6 @@ -35291,7 +35459,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -35346,7 +35514,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &226 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35377,7 +35545,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *226 + - *228 - *17 - *19 responses: @@ -35389,7 +35557,7 @@ paths: type: array items: *187 examples: - default: &246 + default: &248 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35432,7 +35600,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -35675,9 +35843,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &228 + default: &230 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -35733,7 +35901,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &229 + - &231 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -35843,9 +36011,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 '404': *6 '422': *7 x-github: @@ -35870,7 +36038,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *229 + - *231 responses: '204': *59 '404': *6 @@ -35900,7 +36068,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -35988,9 +36156,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: &231 + default: &233 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36023,7 +36191,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &232 + - &234 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36079,9 +36247,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '404': *6 '422': *7 x-github: @@ -36106,7 +36274,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *232 + - *234 responses: '204': description: Response @@ -36169,7 +36337,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: type description: Can be the name of an issue type. in: query @@ -36200,7 +36368,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -36359,9 +36527,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -36388,7 +36556,7 @@ paths: parameters: - *74 - *70 - - &237 + - &239 name: codespace_name in: path required: true @@ -36423,15 +36591,15 @@ paths: parameters: - *74 - *70 - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &445 + default: &447 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36611,7 +36779,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -36687,7 +36855,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &241 title: Org Membership description: Org Membership type: object @@ -36756,7 +36924,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &240 + response-if-user-has-an-active-admin-membership-with-organization: &242 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36857,9 +37025,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - response-if-user-already-had-membership-with-organization: *240 + response-if-user-already-had-membership-with-organization: *242 '422': *15 '403': *27 x-github: @@ -36931,7 +37099,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Migration description: A migration. type: object @@ -37269,7 +37437,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37448,7 +37616,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &242 + - &244 name: migration_id description: The unique identifier of the migration. in: path @@ -37476,7 +37644,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37646,7 +37814,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '302': description: Response @@ -37668,7 +37836,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '204': description: Response @@ -37692,8 +37860,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *242 - - &670 + - *244 + - &672 name: repo_name description: repo_name parameter in: path @@ -37721,7 +37889,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *242 + - *244 - *17 - *19 responses: @@ -37733,7 +37901,7 @@ paths: type: array items: *153 examples: - default: &253 + default: &255 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37888,7 +38056,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &244 + items: &246 title: Organization Role description: Organization roles type: object @@ -38065,7 +38233,7 @@ paths: parameters: - *74 - *76 - - &243 + - &245 name: role_id description: The unique identifier of the role. in: path @@ -38102,7 +38270,7 @@ paths: parameters: - *74 - *76 - - *243 + - *245 responses: '204': description: Response @@ -38155,7 +38323,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -38187,7 +38355,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -38216,13 +38384,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *243 + - *245 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -38273,7 +38441,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -38352,7 +38520,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 type: description: The ownership type of the team type: string @@ -38385,7 +38553,7 @@ paths: - type - parent examples: - default: *246 + default: *248 headers: Link: *66 '404': @@ -38415,7 +38583,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -38444,7 +38612,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *245 + items: *247 name: type: - string @@ -38754,7 +38922,7 @@ paths: - nuget - container - *74 - - &671 + - &673 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38790,12 +38958,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '403': *27 '401': *23 - '400': &673 + '400': &675 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38817,7 +38985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &249 + - &251 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38835,7 +39003,7 @@ paths: - docker - nuget - container - - &250 + - &252 name: package_name description: The name of the package. in: path @@ -38848,7 +39016,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: default: value: @@ -38900,8 +39068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 responses: '204': @@ -38934,8 +39102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - name: token description: package token @@ -38968,8 +39136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - *19 - *17 @@ -38990,7 +39158,7 @@ paths: application/json: schema: type: array - items: &251 + items: &253 title: Package Version description: A version of a software package type: object @@ -39125,10 +39293,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - - &252 + - &254 name: package_version_id description: Unique identifier of the package version. in: path @@ -39140,7 +39308,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -39176,10 +39344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -39211,10 +39379,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -39244,7 +39412,7 @@ paths: - *74 - *17 - *19 - - &254 + - &256 name: sort description: The property by which to sort the results. in: query @@ -39255,7 +39423,7 @@ paths: - created_at default: created_at - *60 - - &255 + - &257 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39267,7 +39435,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &256 + - &258 name: repository description: The name of the repository to use to filter the results. in: query @@ -39276,7 +39444,7 @@ paths: type: string examples: - Hello-World - - &257 + - &259 name: permission description: The permission to use to filter the results. in: query @@ -39285,7 +39453,7 @@ paths: type: string examples: - issues_read - - &258 + - &260 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39295,7 +39463,7 @@ paths: schema: type: string format: date-time - - &259 + - &261 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39305,7 +39473,7 @@ paths: schema: type: string format: date-time - - &260 + - &262 name: token_id description: The ID of the token in: query @@ -39624,7 +39792,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -39650,14 +39818,14 @@ paths: - *74 - *17 - *19 - - *254 - - *60 - - *255 - *256 + - *60 - *257 - *258 - *259 - *260 + - *261 + - *262 responses: '500': *53 '422': *15 @@ -39941,7 +40109,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -39983,7 +40151,7 @@ paths: type: integer configurations: type: array - items: &261 + items: &263 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40460,7 +40628,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &262 + org-private-registry-with-selected-visibility: &264 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40558,9 +40726,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '404': *6 x-github: githubCloudOnly: false @@ -40801,7 +40969,7 @@ paths: application/json: schema: type: array - items: &263 + items: &265 title: Projects v2 Project description: A projects v2 project type: object @@ -40875,7 +41043,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &756 + - &758 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -40960,7 +41128,7 @@ paths: - deleted_at - deleted_by examples: - default: &264 + default: &266 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -41063,7 +41231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &265 + - &267 name: project_number description: The project's number. in: path @@ -41076,9 +41244,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -41101,7 +41269,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -41135,7 +41303,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Projects v2 Item description: An item belonging to a project type: object @@ -41149,7 +41317,7 @@ paths: content: oneOf: - *82 - - &460 + - &462 title: Pull Request Simple description: Pull Request Simple type: object @@ -41269,7 +41437,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -41362,7 +41530,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &269 title: Link description: Hypermedia Link type: object @@ -41371,13 +41539,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -41388,7 +41556,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &566 + auto_merge: &568 title: Auto merge description: The status of auto merging a pull request. type: @@ -41490,7 +41658,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &271 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -41534,7 +41702,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &273 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -41608,7 +41776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *265 + - *267 - *74 - *17 - *45 @@ -41620,7 +41788,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -41773,7 +41941,7 @@ paths: - updated_at - project_url examples: - default: &692 + default: &694 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41903,7 +42071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *265 + - *267 - *74 requestBody: required: true @@ -41950,7 +42118,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &693 + items: &695 type: object properties: name: @@ -41987,7 +42155,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &694 + iteration_configuration: &696 type: object description: The configuration for iteration fields. properties: @@ -42037,7 +42205,7 @@ paths: value: name: Due date data_type: date - single_select_field: &695 + single_select_field: &697 summary: Create a single select field value: name: Priority @@ -42064,7 +42232,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &696 + iteration_field: &698 summary: Create an iteration field value: name: Sprint @@ -42088,9 +42256,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *270 examples: - text_field: &697 + text_field: &699 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -42099,7 +42267,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &698 + number_field: &700 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -42108,7 +42276,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &699 + date_field: &701 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -42117,7 +42285,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &700 + single_select_field: &702 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -42151,7 +42319,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &701 + iteration_field: &703 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -42196,8 +42364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *265 - - &702 + - *267 + - &704 name: field_id description: The unique identifier of the field. in: path @@ -42210,9 +42378,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &703 + default: &705 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -42268,7 +42436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -42301,7 +42469,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Projects v2 Item description: An item belonging to a project type: object @@ -42318,7 +42486,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *269 + content_type: *271 content: type: - object @@ -42368,7 +42536,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &275 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -43066,7 +43234,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -43136,22 +43304,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -43171,9 +43339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - - &274 + - &276 name: item_id description: The unique identifier of the project item. in: path @@ -43199,9 +43367,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -43222,9 +43390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -43297,13 +43465,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -43323,9 +43491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 responses: '204': description: Response @@ -43349,7 +43517,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true content: @@ -43423,7 +43591,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &684 + schema: &686 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -43527,7 +43695,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &277 value: id: 1 number: 1 @@ -43573,10 +43741,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -43604,9 +43772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *265 + - *267 - *74 - - &704 + - &706 name: view_number description: The number that identifies the project view. in: path @@ -43638,9 +43806,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -43673,7 +43841,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -43751,7 +43919,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &279 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43811,7 +43979,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *278 minItems: 1 maxItems: 100 required: @@ -43841,9 +44009,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *277 + default: *279 '403': *27 '404': *6 x-github: @@ -43865,7 +44033,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &278 + - &280 name: custom_property_name description: The custom property name in: path @@ -43877,9 +44045,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &279 + default: &281 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43914,7 +44082,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 requestBody: required: true content: @@ -43994,9 +44162,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *279 + default: *281 '403': *27 '404': *6 x-github: @@ -44020,7 +44188,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 responses: '204': *59 '403': *27 @@ -44084,7 +44252,7 @@ paths: - octocat/Hello-World properties: type: array - items: &280 + items: &282 title: Custom Property Value description: Custom property name and associated value type: object @@ -44174,7 +44342,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - repository_names - properties @@ -44366,7 +44534,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -44569,7 +44737,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &330 title: Full Repository description: Full Repository type: object @@ -45047,7 +45215,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &465 + code_of_conduct: &467 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -45077,7 +45245,7 @@ paths: - key - name - html_url - security_and_analysis: *281 + security_and_analysis: *283 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -45161,7 +45329,7 @@ paths: - network_count - subscribers_count examples: - default: &330 + default: &332 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45682,7 +45850,7 @@ paths: - *74 - *17 - *19 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45701,7 +45869,7 @@ paths: application/json: schema: type: array - items: &308 + items: &310 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -45736,7 +45904,7 @@ paths: source: type: string description: The name of the source - enforcement: &284 + enforcement: &286 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -45749,7 +45917,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &285 + items: &287 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -45820,7 +45988,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &282 + - &284 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -45844,7 +46012,7 @@ paths: match. items: type: string - - &286 + - &288 title: Organization ruleset conditions type: object description: |- @@ -45858,7 +46026,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -45892,7 +46060,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -45914,7 +46082,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -45927,7 +46095,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &283 + items: &285 title: Repository ruleset property targeting definition type: object @@ -45960,7 +46128,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *283 + items: *285 required: - repository_property type: @@ -45968,12 +46136,12 @@ paths: - object rules: type: array - items: &589 + items: &591 title: Repository Rule type: object description: A repository rule. oneOf: - - &287 + - &289 title: creation description: Only allow users with bypass permission to create matching refs. @@ -45985,7 +46153,7 @@ paths: type: string enum: - creation - - &288 + - &290 title: update description: Only allow users with bypass permission to update matching refs. @@ -46006,7 +46174,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &289 + - &291 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -46018,7 +46186,7 @@ paths: type: string enum: - deletion - - &290 + - &292 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -46030,7 +46198,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &589 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -46108,7 +46276,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &291 + - &293 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -46132,7 +46300,7 @@ paths: type: string required: - required_deployment_environments - - &292 + - &294 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -46144,7 +46312,7 @@ paths: type: string enum: - required_signatures - - &293 + - &295 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -46250,7 +46418,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &294 + - &296 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -46298,7 +46466,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &295 + - &297 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -46310,7 +46478,7 @@ paths: type: string enum: - non_fast_forward - - &296 + - &298 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -46347,7 +46515,7 @@ paths: required: - operator - pattern - - &297 + - &299 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -46384,7 +46552,7 @@ paths: required: - operator - pattern - - &298 + - &300 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -46421,7 +46589,7 @@ paths: required: - operator - pattern - - &299 + - &301 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -46458,7 +46626,7 @@ paths: required: - operator - pattern - - &300 + - &302 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -46495,7 +46663,7 @@ paths: required: - operator - pattern - - &301 + - &303 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -46520,7 +46688,7 @@ paths: type: string required: - restricted_file_paths - - &302 + - &304 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -46544,7 +46712,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &303 + - &305 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -46567,7 +46735,7 @@ paths: type: string required: - restricted_file_extensions - - &304 + - &306 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -46592,7 +46760,7 @@ paths: maximum: 100 required: - max_file_size - - &305 + - &307 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -46642,7 +46810,7 @@ paths: - repository_id required: - workflows - - &306 + - &308 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -46703,7 +46871,7 @@ paths: - tool required: - code_scanning_tools - - &307 + - &309 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -46802,22 +46970,20 @@ paths: - push - repository default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: type: array description: An array of rules within the ruleset. - items: &310 + items: &312 title: Repository Rule type: object description: A repository rule. oneOf: - - *287 - - *288 - *289 - *290 - *291 @@ -46837,6 +47003,8 @@ paths: - *305 - *306 - *307 + - *308 + - *309 required: - name - enforcement @@ -46874,9 +47042,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &309 + default: &311 value: id: 21 name: super cool ruleset @@ -46932,7 +47100,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &590 + - &592 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 @@ -46947,7 +47115,7 @@ paths: in: query schema: type: string - - &591 + - &593 name: time_period description: |- The time period to filter by. @@ -46963,14 +47131,14 @@ paths: - week - month default: day - - &592 + - &594 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 - - &593 + - &595 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -46990,7 +47158,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 title: Rule Suites description: Response type: array @@ -47046,7 +47214,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &597 value: - id: 21 actor_id: 12 @@ -47090,7 +47258,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &596 + - &598 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -47106,7 +47274,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 title: Rule Suite description: Response type: object @@ -47213,7 +47381,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &600 value: id: 21 actor_id: 12 @@ -47286,9 +47454,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '500': *53 put: @@ -47332,16 +47500,16 @@ paths: - tag - push - repository - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: description: An array of rules within the ruleset. type: array - items: *310 + items: *312 examples: default: value: @@ -47376,9 +47544,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '500': *53 @@ -47436,7 +47604,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Ruleset version type: object description: The historical version of a ruleset @@ -47460,7 +47628,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &602 value: - version_id: 3 actor: @@ -47513,9 +47681,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 allOf: - - *311 + - *313 - type: object required: - state @@ -47585,7 +47753,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &602 + - &604 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -47596,7 +47764,7 @@ paths: enum: - open - resolved - - &603 + - &605 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -47606,7 +47774,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -47617,7 +47785,7 @@ paths: required: false schema: type: string - - &605 + - &607 name: exclude_providers in: query description: |- @@ -47628,7 +47796,7 @@ paths: required: false schema: type: string - - &606 + - &608 name: providers in: query description: |- @@ -47639,7 +47807,7 @@ paths: required: false schema: type: string - - &607 + - &609 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -47648,7 +47816,7 @@ paths: required: false schema: type: string - - &608 + - &610 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -47667,7 +47835,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &609 + - &611 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -47682,7 +47850,7 @@ paths: - *60 - *19 - *17 - - &610 + - &612 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 @@ -47692,7 +47860,7 @@ paths: required: false schema: type: string - - &611 + - &613 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 @@ -47702,7 +47870,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -47711,7 +47879,7 @@ paths: required: false schema: type: string - - &613 + - &615 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -47720,7 +47888,7 @@ paths: schema: type: boolean default: false - - &614 + - &616 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -47729,7 +47897,7 @@ paths: schema: type: boolean default: false - - &615 + - &617 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -47761,14 +47929,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &616 + state: &618 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: &617 + resolution: &619 type: - string - 'null' @@ -47887,14 +48055,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &618 + - &620 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &620 + - &622 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -47958,7 +48126,7 @@ paths: - blob_url - commit_sha - commit_url - - &621 + - &623 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -48019,7 +48187,7 @@ paths: - page_url - commit_sha - commit_url - - &622 + - &624 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -48041,7 +48209,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &623 + - &625 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -48063,7 +48231,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &624 + - &626 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -48085,7 +48253,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &625 + - &627 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -48100,7 +48268,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &626 + - &628 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -48115,7 +48283,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &627 + - &629 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -48130,7 +48298,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &628 + - &630 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -48152,7 +48320,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &629 + - &631 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -48174,7 +48342,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &630 + - &632 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -48196,7 +48364,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &631 + - &633 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -48218,7 +48386,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &632 + - &634 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -48479,7 +48647,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &313 + pattern_config_version: &315 type: - string - 'null' @@ -48489,7 +48657,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &312 + items: &314 type: object properties: token_type: @@ -48558,7 +48726,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *312 + items: *314 examples: default: value: @@ -48615,7 +48783,7 @@ paths: schema: type: object properties: - pattern_config_version: *313 + pattern_config_version: *315 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -48641,7 +48809,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *313 + custom_pattern_version: *315 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -48739,7 +48907,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 description: A repository security advisory. type: object properties: @@ -48983,7 +49151,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 credits_detailed: type: - array @@ -48994,7 +49162,7 @@ paths: type: object properties: user: *4 - type: *314 + type: *316 state: type: string description: The state of the user's acceptance of the @@ -49058,7 +49226,7 @@ paths: - private_fork additionalProperties: false examples: - default: &637 + default: &639 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -49445,7 +49613,7 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: value: @@ -49800,7 +49968,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &317 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -49953,9 +50121,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: &316 + default: &318 value: id: 123456789ABCDEF name: My network configuration @@ -49984,7 +50152,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &317 + - &319 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -49996,9 +50164,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 headers: Link: *66 x-github: @@ -50020,7 +50188,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *317 + - *319 requestBody: required: true content: @@ -50073,9 +50241,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50095,7 +50263,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *317 + - *319 responses: '204': description: Response @@ -50240,13 +50408,13 @@ paths: application/json: schema: type: array - items: *318 + items: *320 examples: - default: *319 + default: *321 '500': *53 '403': *27 '404': *6 - '422': *320 + '422': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50288,7 +50456,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '403': *27 @@ -50382,7 +50550,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &323 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -50456,7 +50624,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 members_count: type: integer examples: @@ -50781,7 +50949,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &324 value: id: 1 node_id: MDQ6VGVhbTE= @@ -50858,9 +51026,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -50945,16 +51113,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -50984,7 +51152,7 @@ paths: responses: '204': description: Response - '422': &323 + '422': &325 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -51018,12 +51186,12 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 - '422': *323 + '422': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51105,7 +51273,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Team Membership description: Team Membership type: object @@ -51133,7 +51301,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &652 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -51196,9 +51364,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: &653 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -51274,7 +51442,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -51305,14 +51473,14 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &654 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -51955,8 +52123,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -52003,8 +52171,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -52041,7 +52209,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: &655 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52195,7 +52363,7 @@ paths: resources: type: object properties: - core: &327 + core: &329 title: Rate Limit type: object properties: @@ -52212,21 +52380,21 @@ paths: - remaining - reset - used - graphql: *327 - search: *327 - code_search: *327 - source_import: *327 - integration_manifest: *327 - code_scanning_upload: *327 - actions_runner_registration: *327 - scim: *327 - dependency_snapshots: *327 - dependency_sbom: *327 - code_scanning_autofix: *327 + graphql: *329 + search: *329 + code_search: *329 + source_import: *329 + integration_manifest: *329 + code_scanning_upload: *329 + actions_runner_registration: *329 + scim: *329 + dependency_snapshots: *329 + dependency_sbom: *329 + code_scanning_autofix: *329 required: - core - search - rate: *327 + rate: *329 required: - rate - resources @@ -52331,14 +52499,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *328 + schema: *330 examples: default-response: summary: Default response @@ -52843,7 +53011,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52861,8 +53029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -53161,10 +53329,10 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 - '307': &331 + default: *332 + '307': &333 description: Temporary Redirect content: application/json: @@ -53193,8 +53361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -53216,7 +53384,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *331 + '307': *333 '404': *6 '409': *52 x-github: @@ -53240,11 +53408,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &364 + - &366 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -53267,7 +53435,7 @@ paths: type: integer artifacts: type: array - items: &332 + items: &334 title: Artifact description: An artifact type: object @@ -53362,7 +53530,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &367 value: total_count: 2 artifacts: @@ -53423,9 +53591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *325 - - *326 - - &333 + - *327 + - *328 + - &335 name: artifact_id description: The unique identifier of the artifact. in: path @@ -53437,7 +53605,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: default: value: @@ -53475,9 +53643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 responses: '204': description: Response @@ -53501,9 +53669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 - name: archive_format in: path required: true @@ -53513,11 +53681,11 @@ paths: '302': description: Response headers: - Location: &482 + Location: &484 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &523 + '410': &525 description: Gone content: application/json: @@ -53542,14 +53710,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &334 + schema: &336 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -53583,13 +53751,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *334 + schema: *336 examples: selected_actions: *40 responses: @@ -53618,14 +53786,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &335 + schema: &337 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -53659,13 +53827,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: selected_actions: *42 responses: @@ -53696,14 +53864,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -53729,11 +53897,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &337 + - &339 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -53767,7 +53935,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 title: Repository actions caches description: Repository actions caches type: object @@ -53817,7 +53985,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &341 value: total_count: 1 actions_caches: @@ -53849,23 +54017,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *325 - - *326 + - *327 + - *328 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *339 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53885,8 +54053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *325 - - *326 + - *327 + - *328 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53917,9 +54085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *325 - - *326 - - &340 + - *327 + - *328 + - &342 name: job_id description: The unique identifier of the job. in: path @@ -53931,7 +54099,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: Job description: Information of a job execution in a workflow run type: object @@ -54278,9 +54446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 responses: '302': description: Response @@ -54308,9 +54476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 requestBody: required: false content: @@ -54356,8 +54524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Status response @@ -54407,8 +54575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -54471,8 +54639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -54490,7 +54658,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &372 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -54511,7 +54679,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &373 value: total_count: 2 secrets: @@ -54544,9 +54712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -54563,7 +54731,7 @@ paths: type: integer variables: type: array - items: &374 + items: &376 title: Actions Variable type: object properties: @@ -54597,7 +54765,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: total_count: 2 variables: @@ -54630,8 +54798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54640,11 +54808,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *342 + selected_actions_url: *344 sha_pinning_required: *139 required: - enabled @@ -54673,8 +54841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -54685,7 +54853,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *345 allowed_actions: *138 sha_pinning_required: *139 required: @@ -54717,14 +54885,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &344 + schema: &346 type: object properties: access_level: @@ -54741,7 +54909,7 @@ paths: required: - access_level examples: - default: &345 + default: &347 value: access_level: organization x-github: @@ -54765,15 +54933,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 responses: '204': description: Response @@ -54797,14 +54965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -54828,8 +54996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Empty response for successful settings update @@ -54839,7 +55007,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *349 examples: default: summary: Set retention days @@ -54863,8 +55031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54872,7 +55040,7 @@ paths: application/json: schema: *140 examples: - default: *348 + default: *350 '404': *6 x-github: enabledForGitHubApps: true @@ -54891,8 +55059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -54926,14 +55094,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: *141 '403': *27 @@ -54955,13 +55123,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *350 + schema: *352 examples: default: *141 responses: @@ -54987,8 +55155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55015,8 +55183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -55048,14 +55216,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *148 x-github: @@ -55078,8 +55246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Success response @@ -55090,7 +55258,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *148 x-github: @@ -55119,8 +55287,8 @@ paths: in: query schema: type: string - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -55164,8 +55332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55173,9 +55341,9 @@ paths: application/json: schema: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55197,8 +55365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -55241,7 +55409,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *357 '404': *6 '422': *7 '409': *52 @@ -55272,8 +55440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -55281,7 +55449,7 @@ paths: application/json: schema: *157 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55309,8 +55477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -55318,7 +55486,7 @@ paths: application/json: schema: *157 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55340,8 +55508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': @@ -55350,7 +55518,7 @@ paths: application/json: schema: *155 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55371,8 +55539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '204': @@ -55399,8 +55567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': *159 @@ -55425,8 +55593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -55475,8 +55643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -55526,11 +55694,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: - '200': *359 + '200': *361 '404': *6 x-github: githubCloudOnly: false @@ -55557,10 +55725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 - - *360 + - *362 responses: '200': *159 '404': *6 @@ -55588,9 +55756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *325 - - *326 - - &378 + - *327 + - *328 + - &380 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -55598,7 +55766,7 @@ paths: required: false schema: type: string - - &379 + - &381 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -55606,7 +55774,7 @@ paths: required: false schema: type: string - - &380 + - &382 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -55615,7 +55783,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -55642,7 +55810,7 @@ paths: - pending - *17 - *19 - - &382 + - &384 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -55651,7 +55819,7 @@ paths: schema: type: string format: date-time - - &361 + - &363 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -55660,13 +55828,13 @@ paths: schema: type: boolean default: false - - &383 + - &385 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &386 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -55689,7 +55857,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &364 title: Workflow Run description: An invocation of a workflow type: object @@ -55867,7 +56035,7 @@ paths: head_commit: anyOf: - type: 'null' - - &406 + - &408 title: Simple Commit description: A commit. type: object @@ -55982,7 +56150,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &387 value: total_count: 1 workflow_runs: @@ -56218,24 +56386,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *325 - - *326 - - &363 + - *327 + - *328 + - &365 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &366 + default: &368 value: id: 30433642 name: Build @@ -56476,9 +56644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -56501,9 +56669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -56631,9 +56799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '201': description: Response @@ -56666,12 +56834,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - *17 - *19 - - *364 + - *366 - *60 responses: '200': @@ -56688,9 +56856,9 @@ paths: type: integer artifacts: type: array - items: *332 + items: *334 examples: - default: *365 + default: *367 headers: Link: *66 x-github: @@ -56714,25 +56882,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - &367 + - *327 + - *328 + - *365 + - &369 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56755,10 +56923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 - *17 - *19 responses: @@ -56776,9 +56944,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: &369 + default: &371 value: total_count: 1 jobs: @@ -56891,10 +57059,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 responses: '302': description: Response @@ -56922,9 +57090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -56957,9 +57125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -57026,9 +57194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -57061,9 +57229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -57093,9 +57261,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: *369 + default: *371 headers: Link: *66 x-github: @@ -57120,9 +57288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '302': description: Response @@ -57149,9 +57317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -57178,9 +57346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -57249,7 +57417,7 @@ paths: items: type: object properties: - type: &489 + type: &491 type: string description: The type of reviewer. enum: @@ -57335,9 +57503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -57387,7 +57555,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -57499,7 +57667,7 @@ paths: - created_at - updated_at examples: - default: &485 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -57555,9 +57723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -57602,9 +57770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -57658,9 +57826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -57797,8 +57965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -57816,9 +57984,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -57843,16 +58011,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57874,17 +58042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: &502 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -57910,8 +58078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -57969,8 +58137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -57996,9 +58164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -58015,9 +58183,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -58040,8 +58208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -58093,17 +58261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &503 + default: &505 value: name: USERNAME value: octocat @@ -58129,8 +58297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 requestBody: required: true @@ -58173,8 +58341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '204': @@ -58200,8 +58368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -58219,7 +58387,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &378 title: Workflow description: A GitHub Actions workflow type: object @@ -58337,9 +58505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *325 - - *326 - - &377 + - *327 + - *328 + - &379 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -58354,7 +58522,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -58387,9 +58555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -58414,9 +58582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -58503,9 +58671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -58532,19 +58700,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *325 - - *326 - - *377 - - *378 + - *327 + - *328 - *379 - *380 - *381 - - *17 - - *19 - *382 - - *361 - *383 + - *17 + - *19 - *384 + - *363 + - *385 + - *386 responses: '200': description: Response @@ -58560,9 +58728,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *364 examples: - default: *385 + default: *387 headers: Link: *66 x-github: @@ -58594,9 +58762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '200': description: Response @@ -58657,8 +58825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *325 - - *326 + - *327 + - *328 - *60 - *17 - *45 @@ -58826,8 +58994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -58864,8 +59032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *325 - - *326 + - *327 + - *328 - name: assignee in: path required: true @@ -58901,8 +59069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -59012,8 +59180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *45 - *46 @@ -59070,7 +59238,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59090,8 +59258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -59099,7 +59267,7 @@ paths: application/json: schema: type: array - items: &387 + items: &389 title: Autolink reference description: An autolink reference. type: object @@ -59158,8 +59326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -59198,9 +59366,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 1 key_prefix: TICKET- @@ -59231,9 +59399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *325 - - *326 - - &389 + - *327 + - *328 + - &391 name: autolink_id description: The unique identifier of the autolink. in: path @@ -59245,9 +59413,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 x-github: githubCloudOnly: false @@ -59267,9 +59435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *325 - - *326 - - *389 + - *327 + - *328 + - *391 responses: '204': description: Response @@ -59293,8 +59461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if Dependabot is enabled @@ -59344,8 +59512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -59366,8 +59534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -59387,8 +59555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *325 - - *326 + - *327 + - *328 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -59426,7 +59594,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &393 title: Branch Protection description: Branch Protection type: object @@ -59469,7 +59637,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &396 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -59486,7 +59654,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &398 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -59570,7 +59738,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &395 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -59863,9 +60031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *325 - - *326 - - &392 + - *327 + - *328 + - &394 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -59879,14 +60047,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &458 title: Commit description: Commit type: object @@ -59925,7 +60093,7 @@ paths: author: anyOf: - type: 'null' - - &390 + - &392 title: Git User description: Metaproperties for Git author/committer information. @@ -59947,7 +60115,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 message: type: string examples: @@ -59971,7 +60139,7 @@ paths: required: - sha - url - verification: &509 + verification: &511 title: Verification type: object properties: @@ -60051,7 +60219,7 @@ paths: type: integer files: type: array - items: &467 + items: &469 title: Diff Entry description: Diff Entry type: object @@ -60147,7 +60315,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *393 protection_url: type: string format: uri @@ -60256,7 +60424,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *329 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -60278,15 +60446,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -60480,9 +60648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -60742,7 +60910,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &401 title: Status Check Policy description: Status Check Policy type: object @@ -60901,7 +61069,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *395 required_conversation_resolution: type: object properties: @@ -61013,9 +61181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61040,17 +61208,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &395 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -61072,17 +61240,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61101,9 +61269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61128,17 +61296,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -61234,9 +61402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61334,9 +61502,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -61357,9 +61525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61386,17 +61554,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &398 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -61419,17 +61587,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *398 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -61449,9 +61617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61476,17 +61644,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -61512,9 +61680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61566,9 +61734,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 '422': *15 x-github: @@ -61590,9 +61758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61616,9 +61784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -61652,9 +61820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61721,9 +61889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61787,9 +61955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -61855,15 +62023,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -61954,9 +62122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61979,9 +62147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -61991,7 +62159,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &403 value: - id: 1 slug: octoapp @@ -62048,9 +62216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62084,7 +62252,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62105,9 +62273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62141,7 +62309,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62162,9 +62330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62198,7 +62366,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62220,9 +62388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62232,7 +62400,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -62252,9 +62420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62292,7 +62460,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -62313,9 +62481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62353,7 +62521,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -62374,9 +62542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -62413,7 +62581,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -62435,9 +62603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62471,9 +62639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62531,9 +62699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62591,9 +62759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62653,9 +62821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62677,7 +62845,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -62793,8 +62961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -63073,7 +63241,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &405 title: CheckRun description: A check performed on the code of a given code change type: object @@ -63209,7 +63377,7 @@ paths: check. type: array items: *85 - deployment: &717 + deployment: &719 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -63496,9 +63664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *325 - - *326 - - &404 + - *327 + - *328 + - &406 name: check_run_id description: The unique identifier of the check run. in: path @@ -63510,9 +63678,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &405 + default: &407 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -63612,9 +63780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 requestBody: required: true content: @@ -63854,9 +64022,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63876,9 +64044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 - *17 - *19 responses: @@ -63988,9 +64156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 responses: '201': description: Response @@ -64034,8 +64202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -64057,7 +64225,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &409 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -64155,7 +64323,7 @@ paths: - string - 'null' format: date-time - head_commit: *406 + head_commit: *408 latest_check_runs_count: type: integer check_runs_url: @@ -64183,7 +64351,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &410 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -64474,9 +64642,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64495,8 +64663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -64805,9 +64973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *325 - - *326 - - &409 + - *327 + - *328 + - &411 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -64819,9 +64987,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64844,17 +65012,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *325 - - *326 - - *409 - - &462 + - *327 + - *328 + - *411 + - &464 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &465 name: status description: Returns check runs with the specified `status`. in: query @@ -64893,9 +65061,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: &464 + default: &466 value: total_count: 1 check_runs: @@ -64997,9 +65165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *325 - - *326 - - *409 + - *327 + - *328 + - *411 responses: '201': description: Response @@ -65032,21 +65200,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - &428 + - &430 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *412 - - &429 + schema: *414 + - &431 name: pr description: The number of the pull request for the results you want to list. in: query @@ -65071,13 +65239,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *415 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *416 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -65101,7 +65269,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -65109,11 +65277,11 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *418 + dismissed_comment: *419 + rule: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -65236,7 +65404,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &421 + '403': &423 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -65263,9 +65431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *325 - - *326 - - &422 + - *327 + - *328 + - &424 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -65279,7 +65447,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &425 type: object properties: number: *171 @@ -65287,7 +65455,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -65295,8 +65463,8 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 rule: type: object properties: @@ -65358,8 +65526,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -65455,7 +65623,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65475,9 +65643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -65492,8 +65660,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -65521,7 +65689,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: default: value: @@ -65597,7 +65765,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &429 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -65624,15 +65792,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: Response content: application/json: - schema: &424 + schema: &426 type: object properties: status: @@ -65659,13 +65827,13 @@ paths: - description - started_at examples: - default: &425 + default: &427 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &428 description: Bad Request content: application/json: @@ -65676,7 +65844,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65701,29 +65869,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: OK content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '202': description: Accepted content: application/json: - schema: *424 + schema: *426 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *428 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -65755,9 +65923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: false content: @@ -65803,8 +65971,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *428 + '403': *429 '404': *6 '422': description: Unprocessable Entity @@ -65828,13 +65996,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 - - *428 - - *429 + - *430 + - *431 responses: '200': description: Response @@ -65845,10 +66013,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *414 + analysis_key: *432 + environment: *433 + category: *434 state: type: - string @@ -65865,7 +66033,7 @@ paths: properties: text: type: string - location: *433 + location: *435 html_url: type: string classifications: @@ -65873,7 +66041,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *434 + items: *436 examples: default: value: @@ -65910,7 +66078,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65944,25 +66112,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - *429 + - *431 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *412 + schema: *414 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &437 type: string description: An identifier for the upload. examples: @@ -65984,23 +66152,23 @@ paths: application/json: schema: type: array - items: &436 + items: &438 type: object properties: - ref: *412 - commit_sha: &444 + ref: *414 + commit_sha: &446 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *430 + analysis_key: *432 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *434 error: type: string examples: @@ -66025,8 +66193,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *437 + tool: *421 deletable: type: boolean warning: @@ -66088,7 +66256,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66124,8 +66292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66138,7 +66306,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: response: summary: application/json response @@ -66192,7 +66360,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *423 '404': *6 '422': description: Response if analysis could not be processed @@ -66279,8 +66447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66336,7 +66504,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -66358,8 +66526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -66367,7 +66535,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: CodeQL Database description: A CodeQL database. type: object @@ -66479,7 +66647,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66508,8 +66676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -66521,7 +66689,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -66553,9 +66721,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &471 + '302': &473 description: Found - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66577,8 +66745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -66588,7 +66756,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -66616,8 +66784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -66626,7 +66794,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &440 type: string description: The language targeted by the CodeQL query enum: @@ -66706,7 +66874,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &444 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -66716,7 +66884,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *438 + query_language: *440 query_pack_url: type: string description: The download url for the query pack. @@ -66764,7 +66932,7 @@ paths: items: type: object properties: - repository: &439 + repository: &441 title: Repository Identifier description: Repository Identifier type: object @@ -66806,7 +66974,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &445 type: string description: The new status of the CodeQL variant analysis repository task. @@ -66838,7 +67006,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &442 type: object properties: repository_count: @@ -66853,7 +67021,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *439 + items: *441 required: - repository_count - repositories @@ -66876,8 +67044,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *442 + over_limit_repos: *442 required: - access_mismatch_repos - not_found_repos @@ -66893,7 +67061,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &443 summary: Default response value: id: 1 @@ -67039,10 +67207,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *443 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *443 '404': *6 '422': description: Unable to process variant analysis submission @@ -67070,8 +67238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -67083,9 +67251,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *441 + default: *443 '404': *6 '503': *114 x-github: @@ -67108,7 +67276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *325 + - *327 - name: repo in: path description: The name of the controller repository. @@ -67143,7 +67311,7 @@ paths: type: object properties: repository: *65 - analysis_status: *443 + analysis_status: *445 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -67268,8 +67436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67362,7 +67530,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -67383,8 +67551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67478,7 +67646,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *429 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -67549,8 +67717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67558,7 +67726,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *446 ref: type: string description: |- @@ -67618,7 +67786,7 @@ paths: schema: type: object properties: - id: *435 + id: *437 url: type: string description: The REST API URL for checking the status of the upload. @@ -67632,7 +67800,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *427 + '403': *429 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -67655,8 +67823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *325 - - *326 + - *327 + - *328 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -67704,7 +67872,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *421 + '403': *423 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -67729,8 +67897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67811,8 +67979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -67940,8 +68108,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67957,7 +68125,7 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: default: value: @@ -68255,8 +68423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -68320,17 +68488,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '400': *14 '401': *23 '403': *27 @@ -68359,8 +68527,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -68424,8 +68592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -68462,9 +68630,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: &661 + default: &663 value: total_count: 2 machines: @@ -68504,8 +68672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -68592,8 +68760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -68662,8 +68830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -68681,7 +68849,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -68702,7 +68870,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -68725,16 +68893,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -68754,17 +68922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68784,8 +68952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -68838,8 +69006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -68868,8 +69036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *325 - - *326 + - *327 + - *328 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -68907,7 +69075,7 @@ paths: application/json: schema: type: array - items: &452 + items: &454 title: Collaborator description: Collaborator type: object @@ -69100,8 +69268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -69148,8 +69316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 requestBody: required: false @@ -69176,7 +69344,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &522 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -69404,8 +69572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -69437,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '200': @@ -69459,7 +69627,7 @@ paths: user: anyOf: - type: 'null' - - *452 + - *454 required: - permission - role_name @@ -69513,8 +69681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -69524,7 +69692,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Commit Comment description: Commit Comment type: object @@ -69582,7 +69750,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &460 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69641,17 +69809,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: &459 + default: &461 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69708,8 +69876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -69732,7 +69900,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -69783,8 +69951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -69806,8 +69974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69834,7 +70002,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -69878,7 +70046,7 @@ paths: - content - created_at examples: - default: &525 + default: &527 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69923,8 +70091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -69957,9 +70125,9 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69988,9 +70156,9 @@ paths: description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -70012,10 +70180,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - &526 + - &528 name: reaction_id description: The unique identifier of the reaction. in: path @@ -70070,8 +70238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -70127,9 +70295,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: &573 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70223,9 +70391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *325 - - *326 - - &457 + - *327 + - *328 + - &459 name: commit_sha description: The SHA of the commit. in: path @@ -70297,9 +70465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -70309,9 +70477,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -70339,9 +70507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 requestBody: required: true content: @@ -70376,9 +70544,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *459 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70406,9 +70574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -70418,9 +70586,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &565 + default: &567 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70957,11 +71125,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - - &461 + - &463 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70976,9 +71144,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &553 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -71066,7 +71234,7 @@ paths: schema: type: string examples: - default: &468 + default: &470 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -71079,7 +71247,7 @@ paths: schema: type: string examples: - default: &469 + default: &471 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -71132,11 +71300,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *325 - - *326 - - *461 - - *462 + - *327 + - *328 - *463 + - *464 + - *465 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -71170,9 +71338,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: *464 + default: *466 headers: Link: *66 x-github: @@ -71197,9 +71365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -71207,7 +71375,7 @@ paths: schema: type: integer example: 1 - - *462 + - *464 - *17 - *19 responses: @@ -71225,7 +71393,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *409 examples: default: value: @@ -71425,9 +71593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -71629,9 +71797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -71641,7 +71809,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Status description: The status of a commit. type: object @@ -71722,7 +71890,7 @@ paths: site_admin: false headers: Link: *66 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71750,8 +71918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -71784,11 +71952,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *465 + - *467 code_of_conduct_file: anyOf: - type: 'null' - - &466 + - &468 title: Community Health File type: object properties: @@ -71808,19 +71976,19 @@ paths: contributing: anyOf: - type: 'null' - - *466 + - *468 readme: anyOf: - type: 'null' - - *466 + - *468 issue_template: anyOf: - type: 'null' - - *466 + - *468 pull_request_template: anyOf: - type: 'null' - - *466 + - *468 required: - code_of_conduct - code_of_conduct_file @@ -71949,8 +72117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - name: basehead @@ -71998,8 +72166,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *458 + merge_base_commit: *458 status: type: string enum: @@ -72023,10 +72191,10 @@ paths: - 6 commits: type: array - items: *456 + items: *458 files: type: array - items: *467 + items: *469 required: - url - html_url @@ -72272,12 +72440,12 @@ paths: schema: type: string examples: - default: *468 + default: *470 application/vnd.github.patch: schema: type: string examples: - default: *469 + default: *471 '404': *6 '500': *53 '503': *114 @@ -72322,8 +72490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -72493,7 +72661,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &470 + response-if-content-is-a-file-github-object: &472 summary: Response if content is a file value: type: file @@ -72630,7 +72798,7 @@ paths: - size - type - url - - &578 + - &580 title: Content File description: Content File type: object @@ -72848,7 +73016,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *472 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -72917,7 +73085,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *471 + '302': *473 '304': *35 x-github: githubCloudOnly: false @@ -72940,8 +73108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -73036,7 +73204,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: File Commit description: File Commit type: object @@ -73192,7 +73360,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: example-for-creating-a-file: value: @@ -73246,7 +73414,7 @@ paths: schema: oneOf: - *3 - - &504 + - &506 description: Repository rule violation was detected type: object properties: @@ -73267,7 +73435,7 @@ paths: items: type: object properties: - placeholder_id: &633 + placeholder_id: &635 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -73299,8 +73467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -73361,7 +73529,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -73416,8 +73584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *325 - - *326 + - *327 + - *328 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -73541,8 +73709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *189 - *190 - *191 @@ -73555,7 +73723,7 @@ paths: schema: type: string - *194 - - *473 + - *475 - *195 - *196 - *197 @@ -73570,7 +73738,7 @@ paths: application/json: schema: type: array - items: &477 + items: &479 type: object description: A Dependabot alert. properties: @@ -73621,7 +73789,7 @@ paths: - transitive - inconclusive - - security_advisory: *474 + security_advisory: *476 security_vulnerability: *64 url: *174 html_url: *175 @@ -73652,8 +73820,8 @@ paths: dismissal. maxLength: 280 fixed_at: *176 - auto_dismissed_at: *475 - dismissal_request: *476 + auto_dismissed_at: *477 + dismissal_request: *478 assignees: type: array description: The users assigned to this alert. @@ -73908,9 +74076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *325 - - *326 - - &478 + - *327 + - *328 + - &480 name: alert_number in: path description: |- @@ -73925,7 +74093,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -74057,9 +74225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *325 - - *326 - - *478 + - *327 + - *328 + - *480 requestBody: required: true content: @@ -74115,7 +74283,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -74245,8 +74413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -74264,7 +74432,7 @@ paths: type: integer secrets: type: array - items: &481 + items: &483 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -74318,16 +74486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *479 + schema: *481 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74347,15 +74515,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -74381,8 +74549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -74435,8 +74603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -74459,8 +74627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -74634,8 +74802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -74894,8 +75062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sbom_uuid in: path required: true @@ -74906,7 +75074,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *482 + Location: *484 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -74927,8 +75095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -74966,8 +75134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -75050,7 +75218,7 @@ paths: - version - url additionalProperties: false - metadata: &483 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -75089,7 +75257,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *483 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -75103,7 +75271,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *483 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -75236,8 +75404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: The SHA recorded at creation time. in: query @@ -75278,9 +75446,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *485 + default: *487 headers: Link: *66 x-github: @@ -75346,8 +75514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -75429,7 +75597,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: simple-example: summary: Simple example @@ -75502,9 +75670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *325 - - *326 - - &486 + - *327 + - *328 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -75516,7 +75684,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -75581,9 +75749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 responses: '204': description: Response @@ -75605,9 +75773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - *17 - *19 responses: @@ -75617,7 +75785,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -75781,9 +75949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 requestBody: required: true content: @@ -75858,9 +76026,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -75916,9 +76084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - name: status_id in: path required: true @@ -75929,9 +76097,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -75956,8 +76124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -76014,8 +76182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -76033,7 +76201,7 @@ paths: - 5 environments: type: array - items: &490 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -76095,7 +76263,7 @@ paths: type: string examples: - wait_timer - wait_timer: &492 + wait_timer: &494 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -76137,7 +76305,7 @@ paths: items: type: object properties: - type: *489 + type: *491 reviewer: anyOf: - *4 @@ -76164,7 +76332,7 @@ paths: - id - node_id - type - deployment_branch_policy: &493 + deployment_branch_policy: &495 type: - object - 'null' @@ -76281,9 +76449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *325 - - *326 - - &491 + - *327 + - *328 + - &493 name: environment_name in: path required: true @@ -76296,9 +76464,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: &494 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -76382,9 +76550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: false content: @@ -76394,7 +76562,7 @@ paths: - object - 'null' properties: - wait_timer: *492 + wait_timer: *494 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -76413,14 +76581,14 @@ paths: items: type: object properties: - type: *489 + type: *491 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *493 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -76440,9 +76608,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *494 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -76466,9 +76634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '204': description: Default response @@ -76493,9 +76661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -76514,7 +76682,7 @@ paths: - 2 branch_policies: type: array - items: &495 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -76575,9 +76743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -76625,9 +76793,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - example-wildcard: &496 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -76669,10 +76837,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - &497 + - *327 + - *328 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -76684,9 +76852,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76705,10 +76873,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 requestBody: required: true content: @@ -76737,9 +76905,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76758,10 +76926,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 responses: '204': description: Response @@ -76786,9 +76954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 responses: '200': description: List of deployment protection rules @@ -76805,7 +76973,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &498 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -76827,7 +76995,7 @@ paths: for the environment. examples: - true - app: &499 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76930,9 +77098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 requestBody: content: application/json: @@ -76953,9 +77121,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *498 + schema: *500 examples: - default: &500 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76990,9 +77158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 - *19 - *17 responses: @@ -77012,7 +77180,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *499 + items: *501 examples: default: value: @@ -77047,10 +77215,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *325 - - *326 - - *491 - - &501 + - *327 + - *328 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -77062,9 +77230,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77085,10 +77253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *491 - - *326 - - *325 - - *501 + - *493 + - *328 + - *327 + - *503 responses: '204': description: Response @@ -77114,9 +77282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -77134,9 +77302,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -77161,17 +77329,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77193,18 +77361,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *502 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77226,9 +77394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 requestBody: required: true @@ -77286,9 +77454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '204': @@ -77314,10 +77482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *325 - - *326 - - *491 - - *341 + - *327 + - *328 + - *493 + - *343 - *19 responses: '200': @@ -77334,9 +77502,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -77359,9 +77527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -77413,18 +77581,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *503 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77445,10 +77613,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 requestBody: required: true content: @@ -77490,10 +77658,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 responses: '204': description: Response @@ -77515,8 +77683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -77584,8 +77752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *325 - - *326 + - *327 + - *328 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -77744,8 +77912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -77778,9 +77946,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -77801,8 +77969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -77862,7 +78030,7 @@ paths: schema: oneOf: - *122 - - *504 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77887,8 +78055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *325 - - *326 + - *327 + - *328 - name: file_sha in: path required: true @@ -77988,8 +78156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78098,7 +78266,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -78325,15 +78493,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -78389,9 +78557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *325 - - *326 - - &506 + - *327 + - *328 + - &508 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -78408,7 +78576,7 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -78484,17 +78652,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -78523,8 +78691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78553,9 +78721,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -78581,9 +78749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 requestBody: required: true content: @@ -78612,9 +78780,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '422': *15 '409': *52 x-github: @@ -78632,9 +78800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '204': description: Response @@ -78689,8 +78857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78757,7 +78925,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -78813,7 +78981,7 @@ paths: - sha - type - url - verification: *509 + verification: *511 required: - sha - url @@ -78823,7 +78991,7 @@ paths: - tag - message examples: - default: &511 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -78896,8 +79064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *325 - - *326 + - *327 + - *328 - name: tag_sha in: path required: true @@ -78908,9 +79076,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 '404': *6 '409': *52 x-github: @@ -78934,8 +79102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -79009,7 +79177,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -79111,8 +79279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *325 - - *326 + - *327 + - *328 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -79135,7 +79303,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default-response: summary: Default response @@ -79194,8 +79362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -79205,7 +79373,7 @@ paths: application/json: schema: type: array - items: &513 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -79268,7 +79436,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &748 + last_response: &750 title: Hook Response type: object properties: @@ -79345,8 +79513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -79399,9 +79567,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: &514 + default: &516 value: type: Repository id: 12345678 @@ -79449,17 +79617,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -79479,9 +79647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: true content: @@ -79526,9 +79694,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '422': *15 '404': *6 x-github: @@ -79549,9 +79717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79575,9 +79743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response @@ -79604,9 +79772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: false content: @@ -79650,12 +79818,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 - - *17 - - *204 + - *327 + - *328 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -79663,9 +79831,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -79684,18 +79852,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -79714,9 +79882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '202': *37 @@ -79739,9 +79907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79766,9 +79934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79791,8 +79959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if immutable releases are enabled @@ -79840,8 +80008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -79861,8 +80029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -79919,14 +80087,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &515 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -80033,7 +80201,7 @@ paths: - html_url - authors_url examples: - default: &518 + default: &520 value: vcs: subversion use_lfs: true @@ -80049,7 +80217,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &516 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -80078,8 +80246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -80127,7 +80295,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -80152,7 +80320,7 @@ paths: type: string '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80180,8 +80348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -80233,7 +80401,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: example-1: summary: Example 1 @@ -80281,7 +80449,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80304,12 +80472,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80335,9 +80503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *325 - - *326 - - &682 + - *327 + - *328 + - &684 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -80351,7 +80519,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Porter Author description: Porter Author type: object @@ -80405,7 +80573,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80430,8 +80598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *325 - - *326 + - *327 + - *328 - name: author_id in: path required: true @@ -80461,7 +80629,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: default: value: @@ -80474,7 +80642,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80498,8 +80666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80540,7 +80708,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80568,8 +80736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -80596,11 +80764,11 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: - default: *518 + default: *520 '422': *15 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80623,8 +80791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80632,8 +80800,8 @@ paths: application/json: schema: *20 examples: - default: *519 - '301': *329 + default: *521 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -80653,8 +80821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80662,12 +80830,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &521 + default: &523 value: limit: collaborators_only origin: repository @@ -80692,13 +80860,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *520 + schema: *522 examples: default: summary: Example request body @@ -80710,9 +80878,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *521 + default: *523 '409': description: Response x-github: @@ -80734,8 +80902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -80758,8 +80926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -80769,9 +80937,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: &675 + default: &677 value: - id: 1 repository: @@ -80902,9 +81070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 requestBody: required: false content: @@ -80933,7 +81101,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -81064,9 +81232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 responses: '204': description: Response @@ -81097,8 +81265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *325 - - *326 + - *327 + - *328 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -81146,7 +81314,7 @@ paths: required: false schema: type: string - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -81171,7 +81339,7 @@ paths: type: array items: *82 examples: - default: &531 + default: &533 value: - id: 1 node_id: MDU6SXNzdWUx @@ -81320,7 +81488,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *329 + '301': *331 '422': *15 '404': *6 x-github: @@ -81349,8 +81517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -81442,7 +81610,7 @@ paths: application/json: schema: *82 examples: - default: &528 + default: &530 value: id: 1 node_id: MDU6SXNzdWUx @@ -81599,7 +81767,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -81627,8 +81795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -81651,7 +81819,7 @@ paths: type: array items: *83 examples: - default: &530 + default: &532 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -81709,8 +81877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -81719,7 +81887,7 @@ paths: application/json: schema: *83 examples: - default: &524 + default: &526 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -81774,8 +81942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -81800,7 +81968,7 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -81818,8 +81986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -81848,8 +82016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -81912,7 +82080,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -81929,8 +82097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -81938,7 +82106,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '503': *114 x-github: githubCloudOnly: false @@ -81956,8 +82124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -81984,9 +82152,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -82007,8 +82175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -82041,16 +82209,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -82072,10 +82240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -82095,8 +82263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -82106,7 +82274,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 title: Issue Event description: Issue Event type: object @@ -82446,8 +82614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *325 - - *326 + - *327 + - *328 - name: event_id in: path required: true @@ -82458,7 +82626,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -82651,7 +82819,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *523 + '410': *525 '403': *27 x-github: githubCloudOnly: false @@ -82685,9 +82853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *325 - - *326 - - &529 + - *327 + - *328 + - &531 name: issue_number description: The number that identifies the issue. in: path @@ -82703,7 +82871,7 @@ paths: examples: default: summary: Issue - value: *528 + value: *530 pinned_comment: summary: Issue with pinned comment value: @@ -82902,9 +83070,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 '304': *35 x-github: githubCloudOnly: false @@ -82929,9 +83097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -83072,13 +83240,13 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '422': *15 '503': *114 '403': *27 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83096,9 +83264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -83126,7 +83294,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83142,9 +83310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: content: application/json: @@ -83171,7 +83339,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83193,9 +83361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: assignee in: path required: true @@ -83235,9 +83403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *87 - *17 - *19 @@ -83250,11 +83418,11 @@ paths: type: array items: *83 examples: - default: *530 + default: *532 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83283,9 +83451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -83309,14 +83477,14 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -83344,9 +83512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83358,12 +83526,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83391,9 +83559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -83417,15 +83585,15 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *329 + '301': *331 '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -83456,9 +83624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -83472,13 +83640,13 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -83504,9 +83672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83518,12 +83686,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83540,9 +83708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83556,7 +83724,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &535 + - &537 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83605,7 +83773,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -83733,7 +83901,7 @@ paths: - performed_via_github_app - assignee - assigner - - &537 + - &539 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -83779,7 +83947,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -83825,7 +83993,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -83874,7 +84042,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -83916,7 +84084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -83958,7 +84126,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -84014,7 +84182,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Locked Issue Event description: Locked Issue Event type: object @@ -84059,7 +84227,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84120,7 +84288,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84181,7 +84349,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84242,7 +84410,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -84335,7 +84503,7 @@ paths: color: red headers: Link: *66 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84352,9 +84520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84364,9 +84532,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &533 + default: &535 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -84390,9 +84558,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84421,9 +84589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84489,9 +84657,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -84527,9 +84695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84596,9 +84764,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -84629,10 +84797,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *325 - - *326 - - *529 - - *229 + - *327 + - *328 + - *531 + - *231 responses: '204': description: Issue field value deleted successfully @@ -84657,9 +84825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84671,7 +84839,7 @@ paths: type: array items: *81 examples: - default: &534 + default: &536 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84689,9 +84857,9 @@ paths: default: false headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84707,9 +84875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84754,10 +84922,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -84774,9 +84942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84838,10 +85006,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -84858,15 +85026,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84885,9 +85053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: name in: path required: true @@ -84911,9 +85079,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84933,9 +85101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84964,7 +85132,7 @@ paths: '204': description: Response '403': *27 - '410': *523 + '410': *525 '404': *6 '422': *15 x-github: @@ -84982,9 +85150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response @@ -85014,9 +85182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '200': description: Response @@ -85024,10 +85192,10 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85044,9 +85212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -85072,13 +85240,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85096,9 +85264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85130,16 +85298,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -85161,10 +85329,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *325 - - *326 - - *529 - - *526 + - *327 + - *328 + - *531 + - *528 responses: '204': description: Response @@ -85193,9 +85361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85219,7 +85387,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -85252,9 +85420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -85266,11 +85434,11 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85298,9 +85466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85329,14 +85497,14 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -85356,9 +85524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85391,7 +85559,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '403': *27 '404': *6 '422': *7 @@ -85413,9 +85581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -85430,8 +85598,6 @@ paths: description: Timeline Event type: object anyOf: - - *535 - - *536 - *537 - *538 - *539 @@ -85443,6 +85609,8 @@ paths: - *545 - *546 - *547 + - *548 + - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -85499,7 +85667,7 @@ paths: pin: anyOf: - type: 'null' - - *548 + - *550 required: - event - actor @@ -85775,7 +85943,7 @@ paths: type: string comments: type: array - items: &567 + items: &569 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -86016,7 +86184,7 @@ paths: type: string comments: type: array - items: *453 + items: *455 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -86291,7 +86459,7 @@ paths: headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86308,8 +86476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -86319,7 +86487,7 @@ paths: application/json: schema: type: array - items: &549 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -86387,8 +86555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86424,9 +86592,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: &550 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -86460,9 +86628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *325 - - *326 - - &551 + - *327 + - *328 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -86474,9 +86642,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -86494,9 +86662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *325 - - *326 - - *551 + - *327 + - *328 + - *553 responses: '204': description: Response @@ -86516,8 +86684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -86529,7 +86697,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 '404': *6 @@ -86550,8 +86718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86589,7 +86757,7 @@ paths: application/json: schema: *81 examples: - default: &552 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86621,8 +86789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86635,7 +86803,7 @@ paths: application/json: schema: *81 examples: - default: *552 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -86652,8 +86820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86718,8 +86886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86745,8 +86913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -86785,9 +86953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *325 - - *326 - - *428 + - *327 + - *328 + - *430 responses: '200': description: Response @@ -86934,8 +87102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87000,8 +87168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87035,9 +87203,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *458 examples: - default: *553 + default: *555 '204': description: Response when already merged '404': @@ -87062,8 +87230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -87104,7 +87272,7 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: default: value: @@ -87160,8 +87328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87201,9 +87369,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -87262,9 +87430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *325 - - *326 - - &555 + - *327 + - *328 + - &557 name: milestone_number description: The number that identifies the milestone. in: path @@ -87276,9 +87444,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -87295,9 +87463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 requestBody: required: false content: @@ -87335,9 +87503,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87353,9 +87521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 responses: '204': description: Response @@ -87376,9 +87544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 - *17 - *19 responses: @@ -87390,7 +87558,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 x-github: @@ -87409,12 +87577,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *325 - - *326 - - *556 - - *557 - - *87 + - *327 + - *328 - *558 + - *559 + - *87 + - *560 - *17 - *19 responses: @@ -87426,7 +87594,7 @@ paths: type: array items: *107 examples: - default: *559 + default: *561 headers: Link: *66 x-github: @@ -87450,8 +87618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -87509,14 +87677,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &560 + schema: &562 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87660,7 +87828,7 @@ paths: - custom_404 - public examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87701,8 +87869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87757,9 +87925,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '422': *15 '409': *52 x-github: @@ -87782,8 +87950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87883,8 +88051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -87910,8 +88078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -87921,7 +88089,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Page Build description: Page Build type: object @@ -88013,8 +88181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -88061,16 +88229,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -88118,8 +88286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 - name: build_id in: path required: true @@ -88130,9 +88298,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88152,8 +88320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88261,9 +88429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *325 - - *326 - - &564 + - *327 + - *328 + - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -88321,9 +88489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *325 - - *326 - - *564 + - *327 + - *328 + - *566 responses: '204': *59 '404': *6 @@ -88350,8 +88518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -88646,8 +88814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Private vulnerability reporting status @@ -88684,8 +88852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -88706,8 +88874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -88729,8 +88897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -88738,7 +88906,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -88769,8 +88937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88782,7 +88950,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - properties examples: @@ -88832,8 +89000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -88893,9 +89061,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *565 + default: *567 headers: Link: *66 '304': *35 @@ -88927,8 +89095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88995,7 +89163,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89124,7 +89292,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -89173,7 +89341,7 @@ paths: items: *4 requested_teams: type: array - items: *245 + items: *247 head: type: object properties: @@ -89211,14 +89379,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *269 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -89229,7 +89397,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *566 + auto_merge: *568 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -89331,7 +89499,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89858,8 +90026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sort in: query required: false @@ -89888,9 +90056,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89967,17 +90135,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90052,8 +90220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -90076,9 +90244,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90094,8 +90262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -90117,8 +90285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90145,9 +90313,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -90168,8 +90336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -90202,16 +90370,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -90233,10 +90401,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -90279,9 +90447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *325 - - *326 - - &571 + - *327 + - *328 + - &573 name: pull_number description: The number that identifies the pull request. in: path @@ -90294,9 +90462,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '304': *35 '404': *6 '406': @@ -90331,9 +90499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -90375,9 +90543,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '403': *27 x-github: @@ -90399,9 +90567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -90426,9 +90594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -90454,9 +90622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -90517,17 +90685,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -90557,9 +90725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -90580,9 +90748,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *572 + default: *574 headers: Link: *66 x-github: @@ -90615,9 +90783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -90723,7 +90891,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: example-for-a-multi-line-comment: value: @@ -90811,9 +90979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *96 requestBody: required: true @@ -90836,7 +91004,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: default: value: @@ -90922,9 +91090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -90934,9 +91102,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: *573 + default: *575 headers: Link: *66 x-github: @@ -90966,9 +91134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -90978,7 +91146,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -91016,9 +91184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response if pull request has been merged @@ -91041,9 +91209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -91155,9 +91323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '200': description: Response @@ -91232,9 +91400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -91271,7 +91439,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -91807,9 +91975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -91843,7 +92011,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -92348,9 +92516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -92360,7 +92528,7 @@ paths: application/json: schema: type: array - items: &574 + items: &576 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -92516,9 +92684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -92608,9 +92776,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92673,10 +92841,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - &575 + - *327 + - *328 + - *573 + - &577 name: review_id description: The unique identifier of the review. in: path @@ -92688,9 +92856,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &577 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92749,10 +92917,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -92775,7 +92943,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -92837,18 +93005,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *576 + default: *578 '422': *7 '404': *6 x-github: @@ -92875,10 +93043,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 - *17 - *19 responses: @@ -92976,9 +93144,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *269 + html: *269 + pull_request: *269 required: - self - html @@ -93136,10 +93304,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -93168,7 +93336,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -93231,10 +93399,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -93269,9 +93437,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *577 + default: *579 '404': *6 '422': *7 '403': *27 @@ -93293,9 +93461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -93359,8 +93527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -93373,9 +93541,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: type: file encoding: base64 @@ -93417,8 +93585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *325 - - *326 + - *327 + - *328 - name: dir description: The alternate path to look for a README file in: path @@ -93438,9 +93606,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 '422': *15 x-github: @@ -93462,8 +93630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -93473,7 +93641,7 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: default: value: @@ -93567,8 +93735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -93644,9 +93812,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -93751,9 +93919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *325 - - *326 - - &582 + - *327 + - *328 + - &584 name: asset_id description: The unique identifier of the asset. in: path @@ -93765,9 +93933,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 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 @@ -93802,7 +93970,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93818,9 +93986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 requestBody: required: false content: @@ -93849,9 +94017,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93867,9 +94035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 responses: '204': description: Response @@ -93894,8 +94062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -93981,16 +94149,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -94008,8 +94176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *325 - - *326 + - *327 + - *328 - name: tag description: tag parameter in: path @@ -94022,9 +94190,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -94046,9 +94214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *325 - - *326 - - &585 + - *327 + - *328 + - &587 name: release_id description: The unique identifier of the release. in: path @@ -94062,9 +94230,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: *580 + schema: *582 examples: - default: *584 + default: *586 '401': description: Unauthorized x-github: @@ -94082,9 +94250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: false content: @@ -94148,9 +94316,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': description: Not Found if the discussion category name is invalid content: @@ -94171,9 +94339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 responses: '204': description: Response @@ -94194,9 +94362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - *17 - *19 responses: @@ -94206,7 +94374,7 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: default: value: @@ -94287,9 +94455,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - name: name in: query required: true @@ -94315,7 +94483,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *583 examples: response-for-successful-upload: value: @@ -94370,9 +94538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - 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. @@ -94396,9 +94564,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -94419,9 +94587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: true content: @@ -94451,16 +94619,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -94482,10 +94650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *325 - - *326 - - *585 - - *526 + - *327 + - *328 + - *587 + - *528 responses: '204': description: Response @@ -94509,9 +94677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 - *17 - *19 responses: @@ -94527,8 +94695,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *287 - - &586 + - *289 + - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94547,69 +94715,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *288 - - *586 - - allOf: - - *289 - - *586 - allOf: - *290 - - *586 - - allOf: - - *587 - - *586 + - *588 - allOf: - *291 - - *586 + - *588 - allOf: - *292 - - *586 + - *588 + - allOf: + - *589 + - *588 - allOf: - *293 - - *586 + - *588 - allOf: - *294 - - *586 + - *588 - allOf: - *295 - - *586 + - *588 - allOf: - *296 - - *586 + - *588 - allOf: - *297 - - *586 + - *588 - allOf: - *298 - - *586 + - *588 - allOf: - *299 - - *586 + - *588 - allOf: - *300 - - *586 + - *588 - allOf: - *301 - - *586 + - *588 - allOf: - *302 - - *586 + - *588 - allOf: - *303 - - *586 + - *588 - allOf: - *304 - - *586 + - *588 - allOf: - *305 - - *586 + - *588 - allOf: - *306 - - *586 + - *588 - allOf: - *307 - - *586 + - *588 + - allOf: + - *308 + - *588 + - allOf: + - *309 + - *588 examples: default: value: @@ -94648,8 +94816,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: includes_parents @@ -94660,7 +94828,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -94668,7 +94836,7 @@ paths: application/json: schema: type: array - items: *308 + items: *310 examples: default: value: @@ -94715,8 +94883,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 requestBody: description: Request body required: true @@ -94736,16 +94904,16 @@ paths: - tag - push default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *591 required: - name - enforcement @@ -94776,9 +94944,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &599 + default: &601 value: id: 42 name: super cool ruleset @@ -94826,12 +94994,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *325 - - *326 - - *590 - - *591 + - *327 + - *328 - *592 - *593 + - *594 + - *595 - *17 - *19 responses: @@ -94839,9 +95007,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 '404': *6 '500': *53 x-github: @@ -94862,17 +95030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *325 - - *326 - - *596 + - *327 + - *328 + - *598 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 '404': *6 '500': *53 x-github: @@ -94900,8 +95068,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94921,9 +95089,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '500': *53 put: @@ -94941,8 +95109,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94967,16 +95135,16 @@ paths: - branch - tag - push - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *591 examples: default: value: @@ -95004,9 +95172,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '422': *15 '500': *53 @@ -95025,8 +95193,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95049,8 +95217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: ruleset_id @@ -95066,9 +95234,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *600 + default: *602 '404': *6 '500': *53 x-github: @@ -95087,8 +95255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95106,7 +95274,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -95161,25 +95329,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *602 - - *603 + - *327 + - *328 - *604 - *605 - *606 - *607 - *608 - *609 + - *610 + - *611 - *60 - *19 - *17 - - *610 - - *611 - *612 - *613 - *614 - *615 + - *616 + - *617 responses: '200': description: Response @@ -95187,7 +95355,7 @@ paths: application/json: schema: type: array - items: &619 + items: &621 type: object properties: number: *171 @@ -95203,8 +95371,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolved_at: type: - string @@ -95310,7 +95478,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *618 + - *620 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -95469,16 +95637,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 - - *615 + - *327 + - *328 + - *424 + - *617 responses: '200': description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -95532,9 +95700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -95542,8 +95710,8 @@ paths: schema: type: object properties: - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95581,7 +95749,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -95676,9 +95844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 responses: @@ -95689,7 +95857,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &768 + items: &770 type: object properties: type: @@ -95716,8 +95884,6 @@ paths: - commit details: oneOf: - - *620 - - *621 - *622 - *623 - *624 @@ -95729,6 +95895,8 @@ paths: - *630 - *631 - *632 + - *633 + - *634 examples: default: value: @@ -95814,8 +95982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -95823,14 +95991,14 @@ paths: schema: type: object properties: - reason: &634 + reason: &636 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *633 + placeholder_id: *635 required: - reason - placeholder_id @@ -95847,7 +96015,7 @@ paths: schema: type: object properties: - reason: *634 + reason: *636 expire_at: type: - string @@ -95894,8 +96062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -95910,7 +96078,7 @@ paths: properties: incremental_scans: type: array - items: &635 + items: &637 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95938,15 +96106,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *635 + items: *637 backfill_scans: type: array - items: *635 + items: *637 custom_pattern_backfill_scans: type: array items: allOf: - - *635 + - *637 - type: object properties: pattern_name: @@ -95959,7 +96127,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *635 + items: *637 examples: default: value: @@ -96024,8 +96192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *325 - - *326 + - *327 + - *328 - *60 - name: sort description: The property to sort the results by. @@ -96069,9 +96237,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: *637 + default: *639 '400': *14 '404': *6 x-github: @@ -96094,8 +96262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -96175,7 +96343,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -96265,9 +96433,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: &639 + default: &641 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96500,8 +96668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -96614,7 +96782,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: default: value: @@ -96761,17 +96929,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '200': description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 + default: *641 '403': *27 '404': *6 x-github: @@ -96795,9 +96963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 requestBody: required: true content: @@ -96877,7 +97045,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -96968,10 +97136,10 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 - add_credit: *639 + default: *641 + add_credit: *641 '403': *27 '404': *6 '422': @@ -97009,9 +97177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': *37 '400': *14 @@ -97038,17 +97206,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -97074,8 +97242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97171,8 +97339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -97181,7 +97349,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97214,8 +97382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -97293,8 +97461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -97388,8 +97556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -97543,8 +97711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -97554,7 +97722,7 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: default: value: @@ -97587,8 +97755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *325 - - *326 + - *327 + - *328 - name: sha in: path required: true @@ -97644,7 +97812,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: default: value: @@ -97698,8 +97866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97731,14 +97899,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &642 + schema: &644 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97811,8 +97979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -97838,7 +98006,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: default: value: @@ -97865,8 +98033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -97886,8 +98054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97969,8 +98137,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -98006,8 +98174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -98019,7 +98187,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '404': *6 @@ -98039,8 +98207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 responses: @@ -98048,7 +98216,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &645 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98060,7 +98228,7 @@ paths: required: - names examples: - default: &644 + default: &646 value: names: - octocat @@ -98083,8 +98251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -98115,9 +98283,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *645 examples: - default: *644 + default: *646 '404': *6 '422': *7 x-github: @@ -98138,9 +98306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *325 - - *326 - - &645 + - *327 + - *328 + - &647 name: per description: The time frame to display results for. in: query @@ -98171,7 +98339,7 @@ paths: - 128 clones: type: array - items: &646 + items: &648 title: Traffic type: object properties: @@ -98258,8 +98426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -98353,8 +98521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -98417,9 +98585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *325 - - *326 - - *645 + - *327 + - *328 + - *647 responses: '200': description: Response @@ -98440,7 +98608,7 @@ paths: - 3782 views: type: array - items: *646 + items: *648 required: - uniques - count @@ -98517,8 +98685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -98792,8 +98960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -98816,8 +98984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -98839,8 +99007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -98866,8 +99034,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -98959,9 +99127,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99213,7 +99381,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &647 + text_matches: &649 title: Search Result Text Matches type: array items: @@ -99376,7 +99544,7 @@ paths: enum: - author-date - committer-date - - &648 + - &650 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 @@ -99445,7 +99613,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 comment_count: type: integer message: @@ -99464,7 +99632,7 @@ paths: url: type: string format: uri - verification: *509 + verification: *511 required: - author - committer @@ -99479,7 +99647,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 parents: type: array items: @@ -99496,7 +99664,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *649 required: - sha - node_id @@ -99688,7 +99856,7 @@ paths: - interactions - created - updated - - *648 + - *650 - *17 - *19 - name: advanced_search @@ -99802,11 +99970,11 @@ paths: type: - string - 'null' - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: type: string state_reason: @@ -99820,7 +99988,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 comments: type: integer created_at: @@ -99834,7 +100002,7 @@ paths: - string - 'null' format: date-time - text_matches: *647 + text_matches: *649 pull_request: type: object properties: @@ -99883,7 +100051,7 @@ paths: timeline_url: type: string format: uri - type: *230 + type: *232 performed_via_github_app: anyOf: - type: 'null' @@ -100100,7 +100268,7 @@ paths: enum: - created - updated - - *648 + - *650 - *17 - *19 responses: @@ -100145,7 +100313,7 @@ paths: - 'null' score: type: number - text_matches: *647 + text_matches: *649 required: - id - node_id @@ -100230,7 +100398,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *650 - *17 - *19 responses: @@ -100476,7 +100644,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *649 temp_clone_token: type: string allow_merge_commit: @@ -100784,7 +100952,7 @@ paths: - string - 'null' format: uri - text_matches: *647 + text_matches: *649 related: type: - array @@ -100977,7 +101145,7 @@ paths: - followers - repositories - joined - - *648 + - *650 - *17 - *19 responses: @@ -101087,7 +101255,7 @@ paths: type: - boolean - 'null' - text_matches: *647 + text_matches: *649 blog: type: - string @@ -101169,7 +101337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &651 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -101181,9 +101349,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -101210,7 +101378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *651 + - *653 requestBody: required: true content: @@ -101274,16 +101442,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -101311,7 +101479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *651 + - *653 responses: '204': description: Response @@ -101340,7 +101508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -101350,9 +101518,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 x-github: @@ -101378,7 +101546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *651 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -101429,7 +101597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -101466,7 +101634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -101506,7 +101674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -101543,16 +101711,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-user-is-a-team-maintainer: *652 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -101585,7 +101753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 requestBody: required: false @@ -101611,9 +101779,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: *653 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -101647,7 +101815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -101675,7 +101843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -101687,7 +101855,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '404': *6 @@ -101717,15 +101885,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *654 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -101876,9 +102044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 requestBody: required: false content: @@ -101928,9 +102096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '204': description: Response @@ -101955,7 +102123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -101967,7 +102135,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: *655 + response-if-child-teams-exist: *657 headers: Link: *66 '404': *6 @@ -102000,7 +102168,7 @@ paths: application/json: schema: oneOf: - - &657 + - &659 title: Private User description: Private User type: object @@ -102250,7 +102418,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *656 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -102410,7 +102578,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: default: value: @@ -102613,9 +102781,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -102754,17 +102922,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -102808,7 +102976,7 @@ paths: type: integer secrets: type: array - items: &658 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102850,7 +103018,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -102928,7 +103096,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: default: value: @@ -103218,15 +103386,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '401': *23 @@ -103252,7 +103420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 requestBody: required: false content: @@ -103282,9 +103450,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -103306,7 +103474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': *37 '304': *35 @@ -103335,13 +103503,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': description: Response content: application/json: - schema: &659 + schema: &661 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103394,7 +103562,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &662 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103426,7 +103594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *237 + - *239 - name: export_id in: path required: true @@ -103439,9 +103607,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *661 examples: - default: *660 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -103462,7 +103630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *237 + - *239 responses: '200': description: Response @@ -103478,9 +103646,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: *661 + default: *663 '304': *35 '500': *53 '401': *23 @@ -103509,7 +103677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *237 + - *239 requestBody: required: true content: @@ -103565,11 +103733,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *328 + repository: *330 machine: anyOf: - type: 'null' - - *446 + - *448 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -104366,15 +104534,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '400': *14 @@ -104406,15 +104574,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '500': *53 '401': *23 '403': *27 @@ -104444,9 +104612,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: &672 + default: &674 value: - id: 197 name: hello_docker @@ -104547,7 +104715,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: Email description: Email type: object @@ -104617,9 +104785,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: &674 + default: &676 value: - email: octocat@github.com verified: true @@ -104696,7 +104864,7 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: default: value: @@ -104954,7 +105122,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 title: GPG Key description: A unique encryption key type: object @@ -105099,7 +105267,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &692 value: - id: 3 name: Octocat's GPG Key @@ -105184,9 +105352,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: &664 + default: &666 value: id: 3 name: Octocat's GPG Key @@ -105243,7 +105411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &665 + - &667 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -105255,9 +105423,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *664 + default: *666 '404': *6 '304': *35 '403': *27 @@ -105280,7 +105448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *665 + - *667 responses: '204': description: Response @@ -105559,12 +105727,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *223 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -105588,7 +105756,7 @@ paths: required: true content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -105599,7 +105767,7 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -105680,7 +105848,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -105705,7 +105873,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -105738,7 +105906,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 title: Key description: Key type: object @@ -105841,9 +106009,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: &667 + default: &669 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105876,15 +106044,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '200': description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *667 + default: *669 '404': *6 '304': *35 '403': *27 @@ -105907,7 +106075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '204': description: Response @@ -105940,7 +106108,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106019,7 +106187,7 @@ paths: - account - plan examples: - default: &669 + default: &671 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106081,9 +106249,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: *669 + default: *671 headers: Link: *66 '304': *35 @@ -106123,7 +106291,7 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: default: value: @@ -106237,7 +106405,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -106324,7 +106492,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -106396,7 +106564,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -106658,7 +106826,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -106838,7 +107006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *242 + - *244 - name: exclude in: query required: false @@ -106851,7 +107019,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -107045,7 +107213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *242 + - *244 responses: '302': description: Response @@ -107071,7 +107239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *242 + - *244 responses: '204': description: Response @@ -107100,8 +107268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *242 - - *670 + - *244 + - *672 responses: '204': description: Response @@ -107125,7 +107293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *242 + - *244 - *17 - *19 responses: @@ -107137,7 +107305,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '404': *6 @@ -107216,7 +107384,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *19 - *17 responses: @@ -107226,10 +107394,10 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 - '400': *673 + default: *674 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107249,16 +107417,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &691 + default: &693 value: id: 40201 name: octo-name @@ -107371,8 +107539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '204': description: Response @@ -107402,8 +107570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - name: token description: package token schema: @@ -107435,8 +107603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - *19 - *17 - name: state @@ -107456,7 +107624,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -107505,15 +107673,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -107549,9 +107717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -107581,9 +107749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -107620,9 +107788,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: *674 + default: *676 headers: Link: *66 '304': *35 @@ -107735,7 +107903,7 @@ paths: type: array items: *78 examples: - default: &681 + default: &683 summary: Default response value: - id: 1296269 @@ -108053,9 +108221,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108093,9 +108261,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: *675 + default: *677 headers: Link: *66 '304': *35 @@ -108118,7 +108286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -108141,7 +108309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -108174,7 +108342,7 @@ paths: application/json: schema: type: array - items: &676 + items: &678 title: Social account description: Social media account type: object @@ -108191,7 +108359,7 @@ paths: - provider - url examples: - default: &677 + default: &679 value: - provider: twitter url: https://twitter.com/github @@ -108254,9 +108422,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 '422': *15 '304': *35 '404': *6 @@ -108344,7 +108512,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -108364,7 +108532,7 @@ paths: - title - created_at examples: - default: &709 + default: &711 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108429,9 +108597,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: &679 + default: &681 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108461,7 +108629,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: - - &680 + - &682 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108473,9 +108641,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '304': *35 '403': *27 @@ -108498,7 +108666,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: - - *680 + - *682 responses: '204': description: Response @@ -108527,7 +108695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &710 + - &712 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 @@ -108552,11 +108720,11 @@ paths: type: array items: *78 examples: - default-response: *681 + default-response: *683 application/vnd.github.v3.star+json: schema: type: array - items: &711 + items: &713 title: Starred Repository description: Starred Repository type: object @@ -108712,8 +108880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if this repository is starred by you @@ -108741,8 +108909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -108766,8 +108934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -108802,7 +108970,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '304': *35 @@ -108839,7 +109007,7 @@ paths: application/json: schema: type: array - items: *321 + items: *323 examples: default: value: @@ -108925,10 +109093,10 @@ paths: application/json: schema: oneOf: - - *657 - - *656 + - *659 + - *658 examples: - default-response: &685 + default-response: &687 summary: Default response value: login: octocat @@ -108963,7 +109131,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &688 summary: Response with GitHub plan information value: login: octocat @@ -109020,14 +109188,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &683 + - &685 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -109061,9 +109229,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: - draft_issue: *271 + draft_issue: *273 '304': *35 '403': *27 '401': *23 @@ -109086,7 +109254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *682 + - *684 - *17 responses: '200': @@ -109121,8 +109289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *683 - - *265 + - *685 + - *267 requestBody: required: true content: @@ -109196,17 +109364,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *684 + schema: *686 examples: table_view: summary: Response for creating a table view - value: *275 + value: *277 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -109248,11 +109416,11 @@ paths: application/json: schema: oneOf: - - *657 - - *656 + - *659 + - *658 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *687 + response-with-git-hub-plan-information: *688 '404': *6 x-github: githubCloudOnly: false @@ -109302,8 +109470,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *689 + withPredicateType: *690 responses: '200': description: Response @@ -109357,7 +109525,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109562,7 +109730,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 '201': description: Response content: @@ -109601,9 +109769,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 + default: *674 '403': *27 '401': *23 x-github: @@ -109987,9 +110155,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *690 + default: *692 headers: Link: *66 x-github: @@ -110093,7 +110261,7 @@ paths: application/json: schema: *20 examples: - default: *519 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110218,7 +110386,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *70 - *19 - *17 @@ -110229,12 +110397,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 + default: *674 '403': *27 '401': *23 - '400': *673 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110254,17 +110422,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110285,8 +110453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '204': @@ -110319,8 +110487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 - name: token description: package token @@ -110353,8 +110521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': @@ -110363,7 +110531,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -110421,16 +110589,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 - *70 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -110465,10 +110633,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -110500,10 +110668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -110544,9 +110712,9 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -110568,16 +110736,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *265 + - *267 - *70 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -110599,7 +110767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *265 + - *267 - *70 - *17 - *45 @@ -110611,9 +110779,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *692 + default: *694 headers: Link: *66 '304': *35 @@ -110635,7 +110803,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true content: @@ -110673,7 +110841,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *693 + items: *695 required: - name - data_type @@ -110689,7 +110857,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *694 + iteration_configuration: *696 required: - name - data_type @@ -110711,20 +110879,20 @@ paths: value: name: Due date data_type: date - single_select_field: *695 - iteration_field: *696 + single_select_field: *697 + iteration_field: *698 responses: '201': description: Response content: application/json: - schema: *268 + schema: *270 examples: - text_field: *697 - number_field: *698 - date_field: *699 - single_select_field: *700 - iteration_field: *701 + text_field: *699 + number_field: *700 + date_field: *701 + single_select_field: *702 + iteration_field: *703 '304': *35 '403': *27 '401': *23 @@ -110745,17 +110913,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *265 - - *702 + - *267 + - *704 - *70 responses: '200': description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *703 + default: *705 headers: Link: *66 '304': *35 @@ -110778,7 +110946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - *45 - *46 @@ -110811,9 +110979,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -110835,7 +111003,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -110905,22 +111073,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -110940,9 +111108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - - *274 + - *276 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -110962,9 +111130,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -110985,9 +111153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -111060,13 +111228,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -111086,9 +111254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 responses: '204': description: Response @@ -111110,9 +111278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *265 + - *267 - *70 - - *704 + - *706 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -111138,9 +111306,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -111361,7 +111529,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -111387,7 +111555,7 @@ paths: - *116 - *118 - *117 - - *705 + - *707 - *119 responses: '200': @@ -111518,7 +111686,7 @@ paths: parameters: - *70 - *116 - - *706 + - *708 - *117 responses: '200': @@ -111617,9 +111785,9 @@ paths: - *116 - *118 - *117 - - *707 + - *709 - *119 - - *708 + - *710 responses: '200': description: Response when getting a billing usage summary @@ -111753,9 +111921,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 headers: Link: *66 x-github: @@ -111785,9 +111953,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *709 + default: *711 headers: Link: *66 x-github: @@ -111812,7 +111980,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *710 + - *712 - *60 - *17 - *19 @@ -111824,11 +111992,11 @@ paths: schema: anyOf: - type: array - items: *711 + items: *713 - type: array items: *78 examples: - default-response: *681 + default-response: *683 headers: Link: *66 x-github: @@ -111859,7 +112027,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -111988,7 +112156,7 @@ webhooks: type: string enum: - disabled - enterprise: &712 + enterprise: &714 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112057,7 +112225,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &713 + installation: &715 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112078,7 +112246,7 @@ webhooks: required: - id - node_id - organization: &714 + organization: &716 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112151,7 +112319,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &715 + repository: &717 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -113077,10 +113245,10 @@ webhooks: type: string enum: - enabled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -113156,11 +113324,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: &716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: &718 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) @@ -113383,11 +113551,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -113575,11 +113743,11 @@ webhooks: - everyone required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -113663,7 +113831,7 @@ webhooks: type: string enum: - completed - check_run: &718 + check_run: &720 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113773,7 +113941,7 @@ webhooks: - examples: - neutral - deployment: *717 + deployment: *719 details_url: type: string examples: @@ -113871,10 +114039,10 @@ webhooks: - output - app - pull_requests - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -114265,11 +114433,11 @@ webhooks: type: string enum: - created - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -114663,11 +114831,11 @@ webhooks: type: string enum: - requested_action - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 requested_action: description: The action requested by the user. type: object @@ -115070,11 +115238,11 @@ webhooks: type: string enum: - rerequested - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -116059,10 +116227,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -116766,10 +116934,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -117467,10 +117635,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -117639,7 +117807,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117791,20 +117959,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &719 + commit_oid: &721 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: *712 - installation: *713 - organization: *714 - ref: &720 + enterprise: *714 + installation: *715 + organization: *716 + ref: &722 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: *715 + repository: *717 sender: *4 required: - action @@ -117971,7 +118139,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118212,12 +118380,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -118315,7 +118483,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118500,12 +118668,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -118674,7 +118842,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118851,12 +119019,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -118957,7 +119125,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119146,9 +119314,9 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -119156,7 +119324,7 @@ webhooks: type: - string - 'null' - repository: *715 + repository: *717 sender: *4 required: - action @@ -119255,7 +119423,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119402,12 +119570,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -119576,7 +119744,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119728,10 +119896,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -119991,10 +120159,10 @@ webhooks: - updated_at - author_association - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120075,18 +120243,18 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *714 - pusher_type: &721 + organization: *716 + pusher_type: &723 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &722 + ref: &724 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -120096,7 +120264,7 @@ webhooks: enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -120178,10 +120346,10 @@ webhooks: type: string enum: - created - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -120266,9 +120434,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -120345,10 +120513,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -120425,10 +120593,10 @@ webhooks: type: string enum: - updated - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -120505,19 +120673,19 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - repository: *715 - organization: *714 + enterprise: *714 + installation: *715 + repository: *717 + organization: *716 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *282 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *282 required: - action - repository @@ -120593,18 +120761,18 @@ webhooks: title: delete event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - pusher_type: *721 - ref: *722 + enterprise: *714 + installation: *715 + organization: *716 + pusher_type: *723 + ref: *724 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -120684,11 +120852,11 @@ webhooks: type: string enum: - assignees_changed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120768,11 +120936,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120853,11 +121021,11 @@ webhooks: type: string enum: - auto_reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120938,11 +121106,11 @@ webhooks: type: string enum: - created - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121021,11 +121189,11 @@ webhooks: type: string enum: - dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121104,11 +121272,11 @@ webhooks: type: string enum: - fixed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121188,11 +121356,11 @@ webhooks: type: string enum: - reintroduced - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121271,11 +121439,11 @@ webhooks: type: string enum: - reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121352,9 +121520,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - key: &723 + enterprise: *714 + installation: *715 + key: &725 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121392,8 +121560,8 @@ webhooks: - verified - created_at - read_only - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121470,11 +121638,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - key: *723 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + key: *725 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122041,12 +122209,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: &727 + workflow: &729 title: Workflow type: - object @@ -122797,13 +122965,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *484 + - *486 pull_requests: type: array - items: *569 - repository: *715 - organization: *714 - installation: *713 + items: *571 + repository: *717 + organization: *716 + installation: *715 sender: *4 responses: '200': @@ -122874,7 +123042,7 @@ webhooks: type: string enum: - approved - approver: &724 + approver: &726 type: object properties: avatar_url: @@ -122917,11 +123085,11 @@ webhooks: type: string comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: &725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: &727 type: array items: type: object @@ -123002,7 +123170,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &726 + workflow_job_run: &728 type: object properties: conclusion: @@ -123748,18 +123916,18 @@ webhooks: type: string enum: - rejected - approver: *724 + approver: *726 comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: *725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: *727 sender: *4 since: type: string - workflow_job_run: *726 + workflow_job_run: *728 workflow_job_runs: type: array items: @@ -124476,13 +124644,13 @@ webhooks: type: string enum: - requested - enterprise: *712 + enterprise: *714 environment: type: string - installation: *713 - organization: *714 - repository: *715 - requestor: &732 + installation: *715 + organization: *716 + repository: *717 + requestor: &734 title: User type: - object @@ -126415,12 +126583,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Deployment Workflow Run type: @@ -127111,7 +127279,7 @@ webhooks: type: string enum: - answered - answer: &730 + answer: &732 type: object properties: author_association: @@ -127271,11 +127439,11 @@ webhooks: - created_at - updated_at - body - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127402,11 +127570,11 @@ webhooks: - from required: - category - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127489,11 +127657,11 @@ webhooks: type: string enum: - closed - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127575,7 +127743,7 @@ webhooks: type: string enum: - created - comment: &729 + comment: &731 type: object properties: author_association: @@ -127735,11 +127903,11 @@ webhooks: - updated_at - body - reactions - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127822,12 +127990,12 @@ webhooks: type: string enum: - deleted - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127922,12 +128090,12 @@ webhooks: - from required: - body - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128011,11 +128179,11 @@ webhooks: type: string enum: - created - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128097,11 +128265,11 @@ webhooks: type: string enum: - deleted - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128201,11 +128369,11 @@ webhooks: type: string required: - from - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128287,10 +128455,10 @@ webhooks: type: string enum: - labeled - discussion: *728 - enterprise: *712 - installation: *713 - label: &731 + discussion: *730 + enterprise: *714 + installation: *715 + label: &733 title: Label type: object properties: @@ -128323,8 +128491,8 @@ webhooks: - color - default - description - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128407,11 +128575,11 @@ webhooks: type: string enum: - locked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128493,11 +128661,11 @@ webhooks: type: string enum: - pinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128579,11 +128747,11 @@ webhooks: type: string enum: - reopened - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128668,16 +128836,16 @@ webhooks: changes: type: object properties: - new_discussion: *728 - new_repository: *715 + new_discussion: *730 + new_repository: *717 required: - new_discussion - new_repository - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128760,10 +128928,10 @@ webhooks: type: string enum: - unanswered - discussion: *728 - old_answer: *730 - organization: *714 - repository: *715 + discussion: *730 + old_answer: *732 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128845,12 +129013,12 @@ webhooks: type: string enum: - unlabeled - discussion: *728 - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128933,11 +129101,11 @@ webhooks: type: string enum: - unlocked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129019,11 +129187,11 @@ webhooks: type: string enum: - unpinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129096,7 +129264,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *712 + enterprise: *714 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -129774,9 +129942,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - forkee @@ -129922,9 +130090,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pages: description: The pages that were updated. type: array @@ -129962,7 +130130,7 @@ webhooks: - action - sha - html_url - repository: *715 + repository: *717 sender: *4 required: - pages @@ -130038,10 +130206,10 @@ webhooks: type: string enum: - created - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: &733 + organization: *716 + repositories: &735 description: An array of repository objects that the installation can access. type: array @@ -130067,8 +130235,8 @@ webhooks: - name - full_name - private - repository: *715 - requester: *732 + repository: *717 + requester: *734 sender: *4 required: - action @@ -130143,11 +130311,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130224,11 +130392,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130305,10 +130473,10 @@ webhooks: type: string enum: - added - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: &734 + organization: *716 + repositories_added: &736 description: An array of repository objects, which were added to the installation. type: array @@ -130354,15 +130522,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *715 - repository_selection: &735 + repository: *717 + repository_selection: &737 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *732 + requester: *734 sender: *4 required: - action @@ -130441,10 +130609,10 @@ webhooks: type: string enum: - removed - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: *734 + organization: *716 + repositories_added: *736 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130471,9 +130639,9 @@ webhooks: - name - full_name - private - repository: *715 - repository_selection: *735 - requester: *732 + repository: *717 + repository_selection: *737 + requester: *734 sender: *4 required: - action @@ -130552,11 +130720,11 @@ webhooks: type: string enum: - suspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130738,10 +130906,10 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 target_type: type: string @@ -130820,11 +130988,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130990,7 +131158,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 user: title: User type: @@ -131076,8 +131244,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131889,8 +132057,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131907,7 +132075,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -132251,8 +132419,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -132332,7 +132500,7 @@ webhooks: type: string enum: - deleted - comment: &736 + comment: &738 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -132489,7 +132657,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 required: - url - html_url @@ -132503,8 +132671,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -133312,8 +133480,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133330,7 +133498,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -133676,8 +133844,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -133757,7 +133925,7 @@ webhooks: type: string enum: - edited - changes: &760 + changes: &762 description: The changes to the comment. type: object properties: @@ -133769,9 +133937,9 @@ webhooks: type: string required: - from - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134582,8 +134750,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134600,7 +134768,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -134944,8 +135112,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -135026,9 +135194,9 @@ webhooks: type: string enum: - pinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -135841,8 +136009,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135859,7 +136027,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -136205,8 +136373,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -136286,9 +136454,9 @@ webhooks: type: string enum: - unpinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137101,8 +137269,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137119,7 +137287,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -137465,8 +137633,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137555,9 +137723,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137646,9 +137814,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137736,9 +137904,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137827,9 +137995,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137909,9 +138077,9 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 + assignee: *734 + enterprise: *714 + installation: *715 issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138723,11 +138891,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138744,7 +138912,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -138847,8 +139015,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138928,8 +139096,8 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139745,11 +139913,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139766,7 +139934,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -140012,8 +140180,8 @@ webhooks: required: - state - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -140092,8 +140260,8 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140900,11 +141068,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140921,7 +141089,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -141023,8 +141191,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -141103,8 +141271,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141934,11 +142102,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141955,7 +142123,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -142036,7 +142204,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &737 + milestone: &740 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142179,8 +142347,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142279,8 +142447,8 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143091,11 +143259,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143109,7 +143277,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -143215,9 +143383,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143237,6 +143405,354 @@ webhooks: - repository - organization - app + issues-field-added: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-field-removed: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app issues-labeled: post: summary: |- @@ -143297,8 +143813,8 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144108,11 +144624,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144126,7 +144642,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -144232,9 +144748,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144314,8 +144830,8 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145150,11 +145666,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145168,7 +145684,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -145251,8 +145767,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145331,8 +145847,8 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146161,11 +146677,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146182,7 +146698,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -146262,9 +146778,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *737 - organization: *714 - repository: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147151,11 +147667,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147255,7 +147771,7 @@ webhooks: required: - login - id - type: *230 + type: *232 required: - id - number @@ -147747,8 +148263,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148555,11 +149071,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148576,7 +149092,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -148682,8 +149198,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -148763,9 +149279,9 @@ webhooks: type: string enum: - pinned - enterprise: *712 - installation: *713 - issue: &738 + enterprise: *714 + installation: *715 + issue: &741 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149570,11 +150086,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149591,7 +150107,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -149693,8 +150209,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -149773,8 +150289,8 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150607,11 +151123,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150708,9 +151224,9 @@ webhooks: format: uri user_view_type: type: string - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -151598,11 +152114,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151619,7 +152135,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -152212,11 +152728,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152296,12 +152812,12 @@ webhooks: type: string enum: - typed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152382,7 +152898,7 @@ webhooks: type: string enum: - unassigned - assignee: &763 + assignee: &765 title: User type: - object @@ -152454,11 +152970,11 @@ webhooks: required: - login - id - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152537,12 +153053,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152622,8 +153138,8 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153456,11 +153972,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153477,7 +153993,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -153557,8 +154073,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153638,11 +154154,11 @@ webhooks: type: string enum: - unpinned - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153721,12 +154237,12 @@ webhooks: type: string enum: - untyped - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153806,11 +154322,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153888,11 +154404,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154002,11 +154518,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154088,9 +154604,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: &740 + enterprise: *714 + installation: *715 + marketplace_purchase: &742 title: Marketplace Purchase type: object required: @@ -154178,8 +154694,8 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: &741 + organization: *716 + previous_marketplace_purchase: &743 title: Marketplace Purchase type: object properties: @@ -154263,7 +154779,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -154343,10 +154859,10 @@ webhooks: - changed effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154434,7 +154950,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -154516,10 +155032,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154605,7 +155121,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -154686,8 +155202,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 marketplace_purchase: title: Marketplace Purchase type: object @@ -154773,9 +155289,9 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -154855,12 +155371,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -154962,11 +155478,11 @@ webhooks: type: string required: - to - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155068,11 +155584,11 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155151,11 +155667,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155233,11 +155749,11 @@ webhooks: type: string enum: - added - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155315,7 +155831,7 @@ webhooks: required: - login - id - team: &742 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155545,11 +156061,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155628,7 +156144,7 @@ webhooks: required: - login - id - team: *742 + team: *744 required: - action - scope @@ -155710,8 +156226,8 @@ webhooks: type: string enum: - checks_requested - installation: *713 - merge_group: &743 + installation: *715 + merge_group: &745 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155730,15 +156246,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *406 + head_commit: *408 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155824,10 +156340,10 @@ webhooks: - merged - invalidated - dequeued - installation: *713 - merge_group: *743 - organization: *714 - repository: *715 + installation: *715 + merge_group: *745 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155900,7 +156416,7 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156009,12 +156525,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *713 - organization: *714 + installation: *715 + organization: *716 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -156094,11 +156610,11 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156177,9 +156693,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - milestone: &744 + enterprise: *714 + installation: *715 + milestone: &746 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156321,8 +156837,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156401,11 +156917,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156515,11 +157031,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156599,11 +157115,11 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - milestone: *744 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *746 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156682,11 +157198,11 @@ webhooks: type: string enum: - blocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156765,11 +157281,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156848,9 +157364,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - membership: &745 + enterprise: *714 + installation: *715 + membership: &747 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156960,8 +157476,8 @@ webhooks: - role - organization_url - user - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157039,11 +157555,11 @@ webhooks: type: string enum: - member_added - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157122,8 +157638,8 @@ webhooks: type: string enum: - member_invited - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -157245,10 +157761,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 - user: *732 + user: *734 required: - action - invitation @@ -157326,11 +157842,11 @@ webhooks: type: string enum: - member_removed - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157417,11 +157933,11 @@ webhooks: properties: from: type: string - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157498,9 +158014,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -158023,7 +158539,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &746 + items: &748 title: Ruby Gems metadata type: object properties: @@ -158120,7 +158636,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -158196,9 +158712,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -158560,7 +159076,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 source_url: type: string format: uri @@ -158631,7 +159147,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -158811,12 +159327,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *712 + enterprise: *714 id: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - id @@ -158893,7 +159409,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &747 + personal_access_token_request: &749 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -159043,10 +159559,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *712 - organization: *714 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -159123,11 +159639,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -159203,11 +159719,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -159282,11 +159798,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *747 - organization: *714 - enterprise: *712 + personal_access_token_request: *749 + organization: *716 + enterprise: *714 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -159391,7 +159907,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *748 + last_response: *750 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -159423,8 +159939,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 zen: description: Random string of GitHub zen. @@ -159669,10 +160185,10 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: &749 + enterprise: *714 + installation: *715 + organization: *716 + project_card: &751 title: Project Card type: object properties: @@ -159795,7 +160311,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -159876,11 +160392,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -159960,9 +160476,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: title: Project Card type: object @@ -160092,7 +160608,7 @@ webhooks: repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -160186,11 +160702,11 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -160284,9 +160800,9 @@ webhooks: - from required: - column_id - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: allOf: - title: Project Card @@ -160483,7 +160999,7 @@ webhooks: type: string required: - after_id - repository: *715 + repository: *717 sender: *4 required: - action @@ -160563,10 +161079,10 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - organization: *714 - project: &751 + enterprise: *714 + installation: *715 + organization: *716 + project: &753 title: Project type: object properties: @@ -160693,7 +161209,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -160773,10 +161289,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_column: &750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: &752 title: Project Column type: object properties: @@ -160816,7 +161332,7 @@ webhooks: - name - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -160895,14 +161411,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -160991,11 +161507,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -161075,11 +161591,11 @@ webhooks: type: string enum: - moved - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -161159,11 +161675,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -161243,14 +161759,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project: *751 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -161351,11 +161867,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -161434,11 +161950,11 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -161519,9 +162035,9 @@ webhooks: type: string enum: - closed - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161602,9 +162118,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161685,9 +162201,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161808,9 +162324,9 @@ webhooks: type: string to: type: string - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161893,7 +162409,7 @@ webhooks: type: string enum: - archived - changes: &755 + changes: &757 type: object properties: archived_at: @@ -161909,9 +162425,9 @@ webhooks: - string - 'null' format: date-time - installation: *713 - organization: *714 - projects_v2_item: &752 + installation: *715 + organization: *716 + projects_v2_item: &754 title: Projects v2 Item description: An item belonging to a project type: object @@ -161929,7 +162445,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *271 creator: *4 created_at: type: string @@ -162051,9 +162567,9 @@ webhooks: - 'null' to: type: string - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162135,9 +162651,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162218,9 +162734,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162325,7 +162841,7 @@ webhooks: oneOf: - type: string - type: integer - - &753 + - &755 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -162349,7 +162865,7 @@ webhooks: required: - id - name - - &754 + - &756 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -162389,8 +162905,8 @@ webhooks: oneOf: - type: string - type: integer - - *753 - - *754 + - *755 + - *756 type: - 'null' - string @@ -162413,9 +162929,9 @@ webhooks: - 'null' required: - body - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162512,9 +163028,9 @@ webhooks: type: - string - 'null' - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162597,10 +163113,10 @@ webhooks: type: string enum: - restored - changes: *755 - installation: *713 - organization: *714 - projects_v2_item: *752 + changes: *757 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162682,9 +163198,9 @@ webhooks: type: string enum: - reopened - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162765,9 +163281,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -162848,9 +163364,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -162996,9 +163512,9 @@ webhooks: - string - 'null' format: date - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -163069,10 +163585,10 @@ webhooks: title: public event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - repository @@ -163149,13 +163665,13 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - number: &757 + assignee: *734 + enterprise: *714 + installation: *715 + number: &759 description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -165526,7 +166042,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -165608,11 +166124,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -167976,7 +168492,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -168058,11 +168574,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -170426,7 +170942,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -170508,13 +171024,13 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: &758 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: &760 allOf: - - *569 + - *571 - type: object properties: allow_auto_merge: @@ -170576,7 +171092,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *715 + repository: *717 sender: *4 required: - action @@ -170657,12 +171173,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -170742,11 +171258,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: &759 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: &761 title: Pull Request type: object properties: @@ -173095,7 +173611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -173174,11 +173690,11 @@ webhooks: type: string enum: - dequeued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -175546,7 +176062,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *715 + repository: *717 sender: *4 required: - action @@ -175670,12 +176186,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -175755,11 +176271,11 @@ webhooks: type: string enum: - enqueued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -178112,7 +178628,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -178192,11 +178708,11 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -180566,7 +181082,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -180647,10 +181163,10 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -183018,7 +183534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -183098,12 +183614,12 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: *759 - repository: *715 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: *761 + repository: *717 sender: *4 required: - action @@ -183182,12 +183698,12 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -183268,12 +183784,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -183353,12 +183869,12 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -183733,9 +184249,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -185987,7 +186503,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -186067,7 +186583,7 @@ webhooks: type: string enum: - deleted - comment: &761 + comment: &763 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -186360,9 +186876,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -188602,7 +189118,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -188682,11 +189198,11 @@ webhooks: type: string enum: - edited - changes: *760 - comment: *761 - enterprise: *712 - installation: *713 - organization: *714 + changes: *762 + comment: *763 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -190929,7 +191445,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -191010,9 +191526,9 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -193267,7 +193783,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 review: description: The review that was affected. type: object @@ -193518,9 +194034,9 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -195634,8 +196150,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: &762 + repository: *717 + review: &764 description: The review that was affected. type: object properties: @@ -195873,12 +196389,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -198247,7 +198763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -198333,12 +198849,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -200714,7 +201230,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200909,12 +201425,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -203285,7 +203801,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -203372,12 +203888,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -205739,7 +206255,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205923,9 +206439,9 @@ webhooks: type: string enum: - submitted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -208183,8 +208699,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: *762 + repository: *717 + review: *764 sender: *4 required: - action @@ -208264,9 +208780,9 @@ webhooks: type: string enum: - resolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -210419,7 +210935,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -210816,9 +211332,9 @@ webhooks: type: string enum: - unresolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -212954,7 +213470,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -213353,10 +213869,10 @@ webhooks: type: string before: type: string - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -215713,7 +216229,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -215795,11 +216311,11 @@ webhooks: type: string enum: - unassigned - assignee: *763 - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + assignee: *765 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -218171,7 +218687,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -218250,11 +218766,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -220615,7 +221131,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -220696,10 +221212,10 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -223050,7 +223566,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -223253,7 +223769,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *712 + enterprise: *714 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -223348,8 +223864,8 @@ webhooks: - url - author - committer - installation: *713 - organization: *714 + installation: *715 + organization: *716 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223948,9 +224464,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -224427,7 +224943,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -224483,7 +224999,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -224561,9 +225077,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -224875,7 +225391,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -224925,7 +225441,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -225002,10 +225518,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - release: &764 + enterprise: *714 + installation: *715 + organization: *716 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -225336,7 +225852,7 @@ webhooks: - updated_at - zipball_url - body - repository: *715 + repository: *717 sender: *4 required: - action @@ -225413,11 +225929,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -225534,11 +226050,11 @@ webhooks: type: boolean required: - to - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -225616,9 +226132,9 @@ webhooks: type: string enum: - prereleased - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -225954,7 +226470,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -226030,10 +226546,10 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - release: &765 + enterprise: *714 + installation: *715 + organization: *716 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -226366,7 +226882,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -226442,11 +226958,11 @@ webhooks: type: string enum: - released - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -226522,11 +227038,11 @@ webhooks: type: string enum: - unpublished - enterprise: *712 - installation: *713 - organization: *714 - release: *765 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *767 + repository: *717 sender: *4 required: - action @@ -226602,11 +227118,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -226682,11 +227198,11 @@ webhooks: type: string enum: - reported - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -226762,10 +227278,10 @@ webhooks: type: string enum: - archived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226842,10 +227358,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226923,10 +227439,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227011,10 +227527,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227129,10 +227645,10 @@ webhooks: - 'null' items: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227204,10 +227720,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 status: type: string @@ -227288,10 +227804,10 @@ webhooks: type: string enum: - privatized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227368,10 +227884,10 @@ webhooks: type: string enum: - publicized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227465,10 +227981,10 @@ webhooks: - name required: - repository - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227548,11 +228064,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -227630,11 +228146,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -227712,11 +228228,11 @@ webhooks: type: string enum: - edited - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 changes: type: object properties: @@ -227735,16 +228251,16 @@ webhooks: properties: added: type: array - items: *282 + items: *284 deleted: type: array - items: *282 + items: *284 updated: type: array items: type: object properties: - condition: *282 + condition: *284 changes: type: object properties: @@ -227777,16 +228293,16 @@ webhooks: properties: added: type: array - items: *589 + items: *591 deleted: type: array - items: *589 + items: *591 updated: type: array items: type: object properties: - rule: *589 + rule: *591 changes: type: object properties: @@ -228023,10 +228539,10 @@ webhooks: - from required: - owner - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228104,10 +228620,10 @@ webhooks: type: string enum: - unarchived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228185,7 +228701,7 @@ webhooks: type: string enum: - create - alert: &766 + alert: &768 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -228310,10 +228826,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228523,10 +229039,10 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228604,11 +229120,11 @@ webhooks: type: string enum: - reopen - alert: *766 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *768 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228810,10 +229326,10 @@ webhooks: enum: - fixed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228891,7 +229407,7 @@ webhooks: type: string enum: - assigned - alert: &767 + alert: &769 type: object properties: number: *171 @@ -229031,10 +229547,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229112,11 +229628,11 @@ webhooks: type: string enum: - created - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229197,11 +229713,11 @@ webhooks: type: string enum: - created - alert: *767 - installation: *713 - location: *768 - organization: *714 - repository: *715 + alert: *769 + installation: *715 + location: *770 + organization: *716 + repository: *717 sender: *4 required: - location @@ -229439,11 +229955,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229521,11 +230037,11 @@ webhooks: type: string enum: - reopened - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229603,11 +230119,11 @@ webhooks: type: string enum: - resolved - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229685,12 +230201,12 @@ webhooks: type: string enum: - unassigned - alert: *767 + alert: *769 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229768,11 +230284,11 @@ webhooks: type: string enum: - validated - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229902,10 +230418,10 @@ webhooks: - organization - enterprise - - repository: *715 - enterprise: *712 - installation: *713 - organization: *714 + repository: *717 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -229983,11 +230499,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: &769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: &771 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230173,11 +230689,11 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: *771 sender: *4 required: - action @@ -230250,10 +230766,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -230439,11 +230955,11 @@ webhooks: from: type: object properties: - security_and_analysis: *281 - enterprise: *712 - installation: *713 - organization: *714 - repository: *328 + security_and_analysis: *283 + enterprise: *714 + installation: *715 + organization: *716 + repository: *330 sender: *4 required: - changes @@ -230521,12 +231037,12 @@ webhooks: type: string enum: - cancelled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: &770 + sponsorship: &772 type: object properties: created_at: @@ -230831,12 +231347,12 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -230924,12 +231440,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -231006,17 +231522,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &771 + effective_date: &773 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: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -231090,7 +231606,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &772 + changes: &774 type: object properties: tier: @@ -231134,13 +231650,13 @@ webhooks: - from required: - tier - effective_date: *771 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + effective_date: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -231217,13 +231733,13 @@ webhooks: type: string enum: - tier_changed - changes: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + changes: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -231297,10 +231813,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231384,10 +231900,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231821,15 +232337,15 @@ webhooks: type: - string - 'null' - enterprise: *712 + enterprise: *714 id: description: The unique identifier of the status. type: integer - installation: *713 + installation: *715 name: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 sha: description: The Commit SHA. @@ -231945,9 +232461,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -232037,9 +232553,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -232129,9 +232645,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -232221,9 +232737,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -232300,12 +232816,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - team: &773 + team: &775 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -232535,9 +233051,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -233007,7 +233523,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -233083,9 +233599,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -233555,7 +234071,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -233632,9 +234148,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -234104,7 +234620,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -234248,9 +234764,9 @@ webhooks: - from required: - permissions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -234720,7 +235236,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - changes @@ -234798,9 +235314,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -235270,7 +235786,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -235346,10 +235862,10 @@ webhooks: type: string enum: - started - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -235422,17 +235938,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *712 + enterprise: *714 inputs: type: - object - 'null' additionalProperties: true - installation: *713 - organization: *714 + installation: *715 + organization: *716 ref: type: string - repository: *715 + repository: *717 sender: *4 workflow: type: string @@ -235514,10 +236030,10 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -235773,7 +236289,7 @@ webhooks: type: string required: - conclusion - deployment: *484 + deployment: *486 required: - action - repository @@ -235852,10 +236368,10 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -236137,7 +236653,7 @@ webhooks: required: - status - steps - deployment: *484 + deployment: *486 required: - action - repository @@ -236216,10 +236732,10 @@ webhooks: type: string enum: - queued - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -236365,7 +236881,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -236444,10 +236960,10 @@ webhooks: type: string enum: - waiting - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -236594,7 +237110,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -236674,12 +237190,12 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -237698,12 +238214,12 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -238707,12 +239223,12 @@ webhooks: type: string enum: - requested - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 9c274969c9..5acad8e7fd 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -27322,6 +27322,1050 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "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": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "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" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -111207,6 +112251,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -1107236,19 +1108283,8988 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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" + ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + } + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-edited": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues edited event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "edited" + ] + }, + "changes": { + "description": "The changes to the issue.", + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ] + }, + "title": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the title.", + "type": "string" + } + }, + "required": [ + "from" + ] + } + } + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-field-added": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -1107278,7 +1117294,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1107295,24 +1117320,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -1107334,10 +1117341,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1107426,7 +1117429,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -1107482,7 +1117489,25 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] }, "node_id": { "type": "string" @@ -1107497,17 +1117522,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -1107572,7 +1117586,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1107607,10 +1117623,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1107698,7 +1117710,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1107956,7 +1117972,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -1107989,18 +1118016,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1108033,7 +1118048,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1109223,10 +1119250,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1109316,203 +1119339,197 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": [ - "object", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } }, "required": [ "login", "id" ] - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } } }, "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1111277,6 +1121294,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1111301,11 +1121319,11 @@ } } }, - "issues-edited": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -1111372,45 +1121390,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": [ - "from" - ] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": [ - "from" - ] - } - } - }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -1111736,6 +1121724,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1112126,9 +1122117,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1113704,6 +1123694,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1113771,10 +1123765,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1113910,47 +1123900,91 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": [ - "string", - "null" - ] - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -1115716,8 +1125750,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index b0c526dbdf..11ec1ffe67 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -876,7 +876,7 @@ paths: - subscriptions_url - type - url - type: &314 + type: &316 type: string description: The type of credit the user is receiving. enum: @@ -1041,7 +1041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &638 + - &640 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1623,7 +1623,7 @@ paths: schema: type: integer default: 30 - - &204 + - &206 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1632,7 +1632,7 @@ paths: required: false schema: type: string - - &205 + - &207 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1652,7 +1652,7 @@ paths: application/json: schema: type: array - items: &206 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1748,7 +1748,7 @@ paths: - installation_id - repository_id examples: - default: &207 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1883,7 +1883,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2018,7 +2018,7 @@ paths: - request - response examples: - default: &209 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9754,7 +9754,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &473 + - &475 name: has in: query description: |- @@ -9884,7 +9884,7 @@ paths: - transitive - inconclusive - - security_advisory: &474 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -10136,7 +10136,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &475 + auto_dismissed_at: &477 type: - string - 'null' @@ -10144,7 +10144,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &476 + dismissal_request: &478 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10555,6 +10555,267 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *38 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &200 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: &201 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -11571,7 +11832,7 @@ paths: properties: action: type: string - discussion: &728 + discussion: &730 title: Discussion description: A Discussion in a repository. type: object @@ -12068,7 +12329,7 @@ paths: milestone: anyOf: - type: 'null' - - &266 + - &268 title: Milestone description: A collection of related issues and pull requests. @@ -12245,7 +12506,7 @@ paths: timeline_url: type: string format: uri - type: &230 + type: &232 title: Issue Type description: The type of issue. type: @@ -12356,7 +12617,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &651 title: Sub-issues Summary type: object properties: @@ -12440,7 +12701,7 @@ paths: pin: anyOf: - type: 'null' - - &548 + - &550 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12467,7 +12728,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &650 + issue_dependencies_summary: &652 title: Issue Dependencies Summary type: object properties: @@ -12486,7 +12747,7 @@ paths: - total_blocking issue_field_values: type: array - items: &532 + items: &534 title: Issue Field Value description: A value assigned to an issue field type: object @@ -13266,7 +13527,7 @@ paths: type: string release: allOf: - - &580 + - &582 title: Release description: A release. type: object @@ -13348,7 +13609,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &583 title: Release Asset description: Data related to a release. type: object @@ -15604,7 +15865,7 @@ paths: - closed - all default: open - - &233 + - &235 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15655,7 +15916,7 @@ paths: type: array items: *82 examples: - default: &234 + default: &236 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17067,14 +17328,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &325 + - &327 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &326 + - &328 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17136,7 +17397,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &329 + '301': &331 description: Moved permanently content: application/json: @@ -17158,7 +17419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &556 + - &558 name: all description: If `true`, show notifications marked as read. in: query @@ -17166,7 +17427,7 @@ paths: schema: type: boolean default: false - - &557 + - &559 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17176,7 +17437,7 @@ paths: type: boolean default: false - *87 - - &558 + - &560 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: @@ -17556,7 +17817,7 @@ paths: type: boolean examples: - false - security_and_analysis: &281 + security_and_analysis: &283 type: - object - 'null' @@ -17767,7 +18028,7 @@ paths: - url - subscription_url examples: - default: &559 + default: &561 value: - id: '1' repository: @@ -19071,7 +19332,7 @@ paths: required: false schema: type: string - - &705 + - &707 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19217,7 +19478,7 @@ paths: parameters: - *74 - *116 - - &706 + - &708 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19329,7 +19590,7 @@ paths: - *116 - *118 - *117 - - &707 + - &709 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19337,7 +19598,7 @@ paths: schema: type: string - *119 - - &708 + - &710 name: sku description: The SKU to query for usage. in: query @@ -20306,7 +20567,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &338 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21682,7 +21943,7 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &344 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -21765,7 +22026,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: days: @@ -21807,7 +22068,7 @@ paths: required: true content: application/json: - schema: &347 + schema: &349 type: object properties: days: @@ -21864,7 +22125,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &350 value: approval_policy: first_time_contributors '404': *6 @@ -21923,7 +22184,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -21977,7 +22238,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -22612,7 +22873,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: default_workflow_permissions: &146 @@ -22663,7 +22924,7 @@ paths: required: false content: application/json: - schema: &352 + schema: &354 type: object properties: default_workflow_permissions: *146 @@ -23803,7 +24064,7 @@ paths: application/json: schema: type: array - items: &353 + items: &355 title: Runner Application description: Runner Application type: object @@ -23828,7 +24089,7 @@ paths: - download_url - filename examples: - default: &354 + default: &356 value: - os: osx architecture: x64 @@ -23914,7 +24175,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &357 description: Response content: application/json: @@ -24029,7 +24290,7 @@ paths: - token - expires_at examples: - default: &356 + default: &358 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -24068,7 +24329,7 @@ paths: application/json: schema: *157 examples: - default: &357 + default: &359 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -24102,7 +24363,7 @@ paths: application/json: schema: *155 examples: - default: &358 + default: &360 value: id: 23 name: MBP @@ -24328,7 +24589,7 @@ paths: - *74 - *154 responses: - '200': &359 + '200': &361 description: Response content: application/json: @@ -24385,7 +24646,7 @@ paths: parameters: - *74 - *154 - - &360 + - &362 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24517,7 +24778,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24552,7 +24813,7 @@ paths: - key_id - key examples: - default: &373 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24965,7 +25226,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *74 - - &341 + - &343 name: per_page description: The number of results per page (max 30). 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)." @@ -26198,12 +26459,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &689 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &690 value: subject_digests: - sha256:abc123 @@ -26248,7 +26509,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &691 value: attestations_subject_digests: - sha256:abc: @@ -26581,7 +26842,7 @@ paths: initiator: type: string examples: - default: &386 + default: &388 value: attestations: - bundle: @@ -26934,7 +27195,7 @@ paths: parent: anyOf: - type: 'null' - - &245 + - &247 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -27537,7 +27798,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &410 + - &412 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -27547,7 +27808,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &413 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -27571,7 +27832,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &415 type: string description: State of a code scanning alert. enum: @@ -27594,7 +27855,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &416 type: string description: Severity of a code scanning alert. enum: @@ -27628,7 +27889,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &415 + instances_url: &417 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27650,7 +27911,7 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: &416 + dismissed_reason: &418 type: - string - 'null' @@ -27661,14 +27922,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &417 + dismissed_comment: &419 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &418 + rule: &420 type: object properties: id: @@ -27729,7 +27990,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &421 type: object properties: name: *178 @@ -27740,26 +28001,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &420 + most_recent_instance: &422 type: object properties: - ref: &412 + ref: &414 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &432 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &431 + environment: &433 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &432 + category: &434 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27779,7 +28040,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &433 + location: &435 type: object description: Describe a region within a file for the alert. properties: @@ -27800,7 +28061,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &434 + items: &436 type: - string - 'null' @@ -28502,6 +28763,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -29099,7 +29362,7 @@ paths: type: integer codespaces: type: array - items: &235 + items: &237 type: object title: Codespace description: A codespace. @@ -29134,7 +29397,7 @@ paths: machine: anyOf: - type: 'null' - - &446 + - &448 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29421,7 +29684,7 @@ paths: - pulls_url - recent_folders examples: - default: &236 + default: &238 value: total_count: 3 codespaces: @@ -30086,7 +30349,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &449 value: total_count: 2 secrets: @@ -30124,7 +30387,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30159,7 +30422,7 @@ paths: - key_id - key examples: - default: &449 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30191,7 +30454,7 @@ paths: application/json: schema: *186 examples: - default: &451 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30658,7 +30921,7 @@ paths: currently being billed. seats: type: array - items: &238 + items: &240 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -31629,7 +31892,7 @@ paths: application/json: schema: type: array - items: &318 + items: &320 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31944,7 +32207,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &321 value: - date: '2024-06-24' total_active_users: 24 @@ -32046,7 +32309,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &320 + '422': &322 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -32334,104 +32597,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *65 - additionalProperties: false + schema: *200 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *201 '403': *27 '404': *6 x-github: @@ -32595,7 +32763,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &202 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32674,7 +32842,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &481 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32693,7 +32861,7 @@ paths: - key_id - key examples: - default: &480 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32723,7 +32891,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -33020,7 +33188,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Package description: A software package type: object @@ -33091,7 +33259,7 @@ paths: - created_at - updated_at examples: - default: &248 + default: &250 value: - id: 197 name: hello_docker @@ -33261,7 +33429,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -33315,7 +33483,7 @@ paths: - invitation_teams_url - node_id examples: - default: &225 + default: &227 value: - id: 1 login: monalisa @@ -33382,7 +33550,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Org Hook description: Org Hook type: object @@ -33567,9 +33735,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &202 + default: &204 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -33617,7 +33785,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &203 + - &205 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -33630,9 +33798,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -33660,7 +33828,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -33706,7 +33874,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -33748,7 +33916,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -33776,7 +33944,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 responses: '200': description: Response @@ -33807,7 +33975,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -33858,10 +34026,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *203 - - *17 - - *204 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -33869,9 +34037,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -33897,16 +34065,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -33932,7 +34100,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '202': *37 @@ -33962,7 +34130,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -33985,7 +34153,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &214 + - &216 name: actor_type in: path description: The type of the actor @@ -33998,14 +34166,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &215 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &210 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -34013,7 +34181,7 @@ paths: required: true schema: type: string - - &211 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34108,12 +34276,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 - *19 - *17 - *60 - - &220 + - &222 name: sort description: The property to sort the results by. in: query @@ -34192,14 +34360,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &212 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34215,7 +34383,7 @@ paths: type: integer format: int64 examples: - default: &213 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34236,23 +34404,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &216 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34271,18 +34439,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *210 - - *211 - - *214 - - *215 + - *212 + - *213 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34300,9 +34468,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *210 - - *211 - - &217 + - *212 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34315,7 +34483,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34331,7 +34499,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34368,18 +34536,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *216 - - *210 - - *211 - - *217 + - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -34397,19 +34565,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *214 - - *215 - - *210 - - *211 + - *216 - *217 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -34427,13 +34595,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *216 - - *210 - - *211 + - *218 + - *212 + - *213 - *19 - *17 - *60 - - *220 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34517,7 +34685,7 @@ paths: application/json: schema: *20 examples: - default: &519 + default: &521 value: id: 1 account: @@ -34683,12 +34851,12 @@ paths: application/json: schema: anyOf: - - &222 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &221 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -34716,7 +34884,7 @@ paths: properties: {} additionalProperties: false examples: - default: &223 + default: &225 value: limit: collaborators_only origin: organization @@ -34745,13 +34913,13 @@ paths: required: true content: application/json: - schema: &520 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *221 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -34776,9 +34944,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -34854,9 +35022,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 '404': *6 @@ -34933,7 +35101,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -34988,7 +35156,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &226 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35019,7 +35187,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *226 + - *228 - *17 - *19 responses: @@ -35031,7 +35199,7 @@ paths: type: array items: *187 examples: - default: &246 + default: &248 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35074,7 +35242,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -35317,9 +35485,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &228 + default: &230 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -35375,7 +35543,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &229 + - &231 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -35485,9 +35653,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 '404': *6 '422': *7 x-github: @@ -35512,7 +35680,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *229 + - *231 responses: '204': *59 '404': *6 @@ -35542,7 +35710,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -35630,9 +35798,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: &231 + default: &233 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35665,7 +35833,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &232 + - &234 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35721,9 +35889,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '404': *6 '422': *7 x-github: @@ -35748,7 +35916,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *232 + - *234 responses: '204': description: Response @@ -35811,7 +35979,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: type description: Can be the name of an issue type. in: query @@ -35842,7 +36010,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -36002,9 +36170,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -36031,7 +36199,7 @@ paths: parameters: - *74 - *70 - - &237 + - &239 name: codespace_name in: path required: true @@ -36066,15 +36234,15 @@ paths: parameters: - *74 - *70 - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &445 + default: &447 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36254,7 +36422,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -36330,7 +36498,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &241 title: Org Membership description: Org Membership type: object @@ -36399,7 +36567,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &240 + response-if-user-has-an-active-admin-membership-with-organization: &242 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36500,9 +36668,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - response-if-user-already-had-membership-with-organization: *240 + response-if-user-already-had-membership-with-organization: *242 '422': *15 '403': *27 '451': *15 @@ -36575,7 +36743,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Migration description: A migration. type: object @@ -36913,7 +37081,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37092,7 +37260,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &242 + - &244 name: migration_id description: The unique identifier of the migration. in: path @@ -37120,7 +37288,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37290,7 +37458,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '302': description: Response @@ -37312,7 +37480,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '204': description: Response @@ -37336,8 +37504,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *242 - - &669 + - *244 + - &671 name: repo_name description: repo_name parameter in: path @@ -37365,7 +37533,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *242 + - *244 - *17 - *19 responses: @@ -37419,7 +37587,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &244 + items: &246 title: Organization Role description: Organization roles type: object @@ -37596,7 +37764,7 @@ paths: parameters: - *74 - *76 - - &243 + - &245 name: role_id description: The unique identifier of the role. in: path @@ -37633,7 +37801,7 @@ paths: parameters: - *74 - *76 - - *243 + - *245 responses: '204': description: Response @@ -37686,7 +37854,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -37718,7 +37886,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -37747,13 +37915,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *243 + - *245 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -37804,7 +37972,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -37883,7 +38051,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 type: description: The ownership type of the team type: string @@ -37916,7 +38084,7 @@ paths: - type - parent examples: - default: *246 + default: *248 headers: Link: *66 '404': @@ -37946,7 +38114,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -37975,7 +38143,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *245 + items: *247 name: type: - string @@ -38285,7 +38453,7 @@ paths: - nuget - container - *74 - - &670 + - &672 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38321,12 +38489,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '403': *27 '401': *23 - '400': &672 + '400': &674 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38348,7 +38516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &249 + - &251 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38366,7 +38534,7 @@ paths: - docker - nuget - container - - &250 + - &252 name: package_name description: The name of the package. in: path @@ -38379,7 +38547,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: default: value: @@ -38431,8 +38599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 responses: '204': @@ -38465,8 +38633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - name: token description: package token @@ -38499,8 +38667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - *19 - *17 @@ -38521,7 +38689,7 @@ paths: application/json: schema: type: array - items: &251 + items: &253 title: Package Version description: A version of a software package type: object @@ -38656,10 +38824,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - - &252 + - &254 name: package_version_id description: Unique identifier of the package version. in: path @@ -38671,7 +38839,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -38707,10 +38875,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -38742,10 +38910,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -38775,7 +38943,7 @@ paths: - *74 - *17 - *19 - - &253 + - &255 name: sort description: The property by which to sort the results. in: query @@ -38786,7 +38954,7 @@ paths: - created_at default: created_at - *60 - - &254 + - &256 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -38798,7 +38966,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &255 + - &257 name: repository description: The name of the repository to use to filter the results. in: query @@ -38807,7 +38975,7 @@ paths: type: string examples: - Hello-World - - &256 + - &258 name: permission description: The permission to use to filter the results. in: query @@ -38816,7 +38984,7 @@ paths: type: string examples: - issues_read - - &257 + - &259 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38826,7 +38994,7 @@ paths: schema: type: string format: date-time - - &258 + - &260 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38836,7 +39004,7 @@ paths: schema: type: string format: date-time - - &259 + - &261 name: token_id description: The ID of the token in: query @@ -39155,7 +39323,7 @@ paths: type: array items: *153 examples: - default: &260 + default: &262 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39292,14 +39460,14 @@ paths: - *74 - *17 - *19 - - *253 - - *60 - - *254 - *255 + - *60 - *256 - *257 - *258 - *259 + - *260 + - *261 responses: '500': *53 '422': *15 @@ -39583,7 +39751,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 x-github: @@ -39625,7 +39793,7 @@ paths: type: integer configurations: type: array - items: &261 + items: &263 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40102,7 +40270,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &262 + org-private-registry-with-selected-visibility: &264 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40200,9 +40368,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '404': *6 x-github: githubCloudOnly: false @@ -40443,7 +40611,7 @@ paths: application/json: schema: type: array - items: &263 + items: &265 title: Projects v2 Project description: A projects v2 project type: object @@ -40517,7 +40685,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &756 + - &758 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -40602,7 +40770,7 @@ paths: - deleted_at - deleted_by examples: - default: &264 + default: &266 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -40705,7 +40873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &265 + - &267 name: project_number description: The project's number. in: path @@ -40718,9 +40886,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -40743,7 +40911,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -40777,7 +40945,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Projects v2 Item description: An item belonging to a project type: object @@ -40791,7 +40959,7 @@ paths: content: oneOf: - *82 - - &460 + - &462 title: Pull Request Simple description: Pull Request Simple type: object @@ -40911,7 +41079,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -40994,7 +41162,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &269 title: Link description: Hypermedia Link type: object @@ -41003,13 +41171,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -41020,7 +41188,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &566 + auto_merge: &568 title: Auto merge description: The status of auto merging a pull request. type: @@ -41120,7 +41288,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &271 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -41164,7 +41332,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &273 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -41238,7 +41406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *265 + - *267 - *74 - *17 - *45 @@ -41250,7 +41418,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -41403,7 +41571,7 @@ paths: - updated_at - project_url examples: - default: &692 + default: &694 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41533,7 +41701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *265 + - *267 - *74 requestBody: required: true @@ -41580,7 +41748,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &693 + items: &695 type: object properties: name: @@ -41617,7 +41785,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &694 + iteration_configuration: &696 type: object description: The configuration for iteration fields. properties: @@ -41667,7 +41835,7 @@ paths: value: name: Due date data_type: date - single_select_field: &695 + single_select_field: &697 summary: Create a single select field value: name: Priority @@ -41694,7 +41862,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &696 + iteration_field: &698 summary: Create an iteration field value: name: Sprint @@ -41718,9 +41886,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *270 examples: - text_field: &697 + text_field: &699 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -41729,7 +41897,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &698 + number_field: &700 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -41738,7 +41906,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &699 + date_field: &701 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -41747,7 +41915,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &700 + single_select_field: &702 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41781,7 +41949,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &701 + iteration_field: &703 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -41826,8 +41994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *265 - - &702 + - *267 + - &704 name: field_id description: The unique identifier of the field. in: path @@ -41840,9 +42008,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &703 + default: &705 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -41898,7 +42066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -41931,7 +42099,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Projects v2 Item description: An item belonging to a project type: object @@ -41948,7 +42116,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *269 + content_type: *271 content: type: - object @@ -41998,7 +42166,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &275 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -42696,7 +42864,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -42766,22 +42934,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -42801,9 +42969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - - &274 + - &276 name: item_id description: The unique identifier of the project item. in: path @@ -42829,9 +42997,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -42852,9 +43020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -42927,13 +43095,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -42953,9 +43121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 responses: '204': description: Response @@ -42979,7 +43147,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true content: @@ -43053,7 +43221,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &684 + schema: &686 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -43157,7 +43325,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &277 value: id: 1 number: 1 @@ -43203,10 +43371,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -43234,9 +43402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *265 + - *267 - *74 - - &704 + - &706 name: view_number description: The number that identifies the project view. in: path @@ -43268,9 +43436,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -43303,7 +43471,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -43381,7 +43549,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &279 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43441,7 +43609,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *278 minItems: 1 maxItems: 100 required: @@ -43471,9 +43639,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *277 + default: *279 '403': *27 '404': *6 x-github: @@ -43495,7 +43663,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &278 + - &280 name: custom_property_name description: The custom property name in: path @@ -43507,9 +43675,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &279 + default: &281 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -43544,7 +43712,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 requestBody: required: true content: @@ -43624,9 +43792,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *279 + default: *281 '403': *27 '404': *6 x-github: @@ -43650,7 +43818,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 responses: '204': *59 '403': *27 @@ -43714,7 +43882,7 @@ paths: - octocat/Hello-World properties: type: array - items: &280 + items: &282 title: Custom Property Value description: Custom property name and associated value type: object @@ -43804,7 +43972,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - repository_names - properties @@ -43996,7 +44164,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 x-github: @@ -44199,7 +44367,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &330 title: Full Repository description: Full Repository type: object @@ -44669,7 +44837,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &465 + code_of_conduct: &467 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -44699,7 +44867,7 @@ paths: - key - name - html_url - security_and_analysis: *281 + security_and_analysis: *283 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -44783,7 +44951,7 @@ paths: - network_count - subscribers_count examples: - default: &330 + default: &332 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45304,7 +45472,7 @@ paths: - *74 - *17 - *19 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45323,7 +45491,7 @@ paths: application/json: schema: type: array - items: &308 + items: &310 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -45358,7 +45526,7 @@ paths: source: type: string description: The name of the source - enforcement: &284 + enforcement: &286 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -45371,7 +45539,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &285 + items: &287 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -45442,7 +45610,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &282 + - &284 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -45466,7 +45634,7 @@ paths: match. items: type: string - - &286 + - &288 title: Organization ruleset conditions type: object description: |- @@ -45480,7 +45648,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -45514,7 +45682,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -45536,7 +45704,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -45549,7 +45717,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &283 + items: &285 title: Repository ruleset property targeting definition type: object @@ -45582,7 +45750,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *283 + items: *285 required: - repository_property type: @@ -45590,12 +45758,12 @@ paths: - object rules: type: array - items: &589 + items: &591 title: Repository Rule type: object description: A repository rule. oneOf: - - &287 + - &289 title: creation description: Only allow users with bypass permission to create matching refs. @@ -45607,7 +45775,7 @@ paths: type: string enum: - creation - - &288 + - &290 title: update description: Only allow users with bypass permission to update matching refs. @@ -45628,7 +45796,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &289 + - &291 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -45640,7 +45808,7 @@ paths: type: string enum: - deletion - - &290 + - &292 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -45652,7 +45820,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &589 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -45730,7 +45898,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &291 + - &293 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -45754,7 +45922,7 @@ paths: type: string required: - required_deployment_environments - - &292 + - &294 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -45766,7 +45934,7 @@ paths: type: string enum: - required_signatures - - &293 + - &295 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -45872,7 +46040,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &294 + - &296 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -45920,7 +46088,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &295 + - &297 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -45932,7 +46100,7 @@ paths: type: string enum: - non_fast_forward - - &296 + - &298 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -45969,7 +46137,7 @@ paths: required: - operator - pattern - - &297 + - &299 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -46006,7 +46174,7 @@ paths: required: - operator - pattern - - &298 + - &300 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -46043,7 +46211,7 @@ paths: required: - operator - pattern - - &299 + - &301 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -46080,7 +46248,7 @@ paths: required: - operator - pattern - - &300 + - &302 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -46117,7 +46285,7 @@ paths: required: - operator - pattern - - &301 + - &303 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -46142,7 +46310,7 @@ paths: type: string required: - restricted_file_paths - - &302 + - &304 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -46166,7 +46334,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &303 + - &305 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -46189,7 +46357,7 @@ paths: type: string required: - restricted_file_extensions - - &304 + - &306 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -46214,7 +46382,7 @@ paths: maximum: 100 required: - max_file_size - - &305 + - &307 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -46264,7 +46432,7 @@ paths: - repository_id required: - workflows - - &306 + - &308 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -46325,7 +46493,7 @@ paths: - tool required: - code_scanning_tools - - &307 + - &309 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -46424,22 +46592,20 @@ paths: - push - repository default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: type: array description: An array of rules within the ruleset. - items: &310 + items: &312 title: Repository Rule type: object description: A repository rule. oneOf: - - *287 - - *288 - *289 - *290 - *291 @@ -46459,6 +46625,8 @@ paths: - *305 - *306 - *307 + - *308 + - *309 required: - name - enforcement @@ -46496,9 +46664,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &309 + default: &311 value: id: 21 name: super cool ruleset @@ -46554,7 +46722,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &590 + - &592 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 @@ -46569,7 +46737,7 @@ paths: in: query schema: type: string - - &591 + - &593 name: time_period description: |- The time period to filter by. @@ -46585,14 +46753,14 @@ paths: - week - month default: day - - &592 + - &594 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 - - &593 + - &595 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -46612,7 +46780,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 title: Rule Suites description: Response type: array @@ -46668,7 +46836,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &597 value: - id: 21 actor_id: 12 @@ -46712,7 +46880,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &596 + - &598 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -46728,7 +46896,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 title: Rule Suite description: Response type: object @@ -46835,7 +47003,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &600 value: id: 21 actor_id: 12 @@ -46908,9 +47076,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '500': *53 put: @@ -46954,16 +47122,16 @@ paths: - tag - push - repository - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: description: An array of rules within the ruleset. type: array - items: *310 + items: *312 examples: default: value: @@ -46998,9 +47166,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '500': *53 @@ -47058,7 +47226,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Ruleset version type: object description: The historical version of a ruleset @@ -47082,7 +47250,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &602 value: - version_id: 3 actor: @@ -47135,9 +47303,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 allOf: - - *311 + - *313 - type: object required: - state @@ -47207,7 +47375,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &602 + - &604 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -47218,7 +47386,7 @@ paths: enum: - open - resolved - - &603 + - &605 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -47228,7 +47396,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -47239,7 +47407,7 @@ paths: required: false schema: type: string - - &605 + - &607 name: exclude_providers in: query description: |- @@ -47250,7 +47418,7 @@ paths: required: false schema: type: string - - &606 + - &608 name: providers in: query description: |- @@ -47261,7 +47429,7 @@ paths: required: false schema: type: string - - &607 + - &609 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -47270,7 +47438,7 @@ paths: required: false schema: type: string - - &608 + - &610 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -47289,7 +47457,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &609 + - &611 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -47304,7 +47472,7 @@ paths: - *60 - *19 - *17 - - &610 + - &612 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 @@ -47314,7 +47482,7 @@ paths: required: false schema: type: string - - &611 + - &613 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 @@ -47324,7 +47492,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -47333,7 +47501,7 @@ paths: required: false schema: type: string - - &613 + - &615 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -47342,7 +47510,7 @@ paths: schema: type: boolean default: false - - &614 + - &616 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -47351,7 +47519,7 @@ paths: schema: type: boolean default: false - - &615 + - &617 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -47383,14 +47551,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &616 + state: &618 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: &617 + resolution: &619 type: - string - 'null' @@ -47509,14 +47677,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &618 + - &620 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &620 + - &622 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -47580,7 +47748,7 @@ paths: - blob_url - commit_sha - commit_url - - &621 + - &623 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -47641,7 +47809,7 @@ paths: - page_url - commit_sha - commit_url - - &622 + - &624 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -47663,7 +47831,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &623 + - &625 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -47685,7 +47853,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &624 + - &626 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -47707,7 +47875,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &625 + - &627 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -47722,7 +47890,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &626 + - &628 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -47737,7 +47905,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &627 + - &629 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -47752,7 +47920,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &628 + - &630 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -47774,7 +47942,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &629 + - &631 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -47796,7 +47964,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &630 + - &632 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -47818,7 +47986,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &631 + - &633 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -47840,7 +48008,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &632 + - &634 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -48101,7 +48269,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &313 + pattern_config_version: &315 type: - string - 'null' @@ -48111,7 +48279,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &312 + items: &314 type: object properties: token_type: @@ -48180,7 +48348,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *312 + items: *314 examples: default: value: @@ -48237,7 +48405,7 @@ paths: schema: type: object properties: - pattern_config_version: *313 + pattern_config_version: *315 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -48263,7 +48431,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *313 + custom_pattern_version: *315 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -48361,7 +48529,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 description: A repository security advisory. type: object properties: @@ -48584,7 +48752,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 credits_detailed: type: - array @@ -48595,7 +48763,7 @@ paths: type: object properties: user: *4 - type: *314 + type: *316 state: type: string description: The state of the user's acceptance of the @@ -48658,7 +48826,7 @@ paths: - private_fork additionalProperties: false examples: - default: &637 + default: &639 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -49045,7 +49213,7 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: value: @@ -49400,7 +49568,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &317 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -49553,9 +49721,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: &316 + default: &318 value: id: 123456789ABCDEF name: My network configuration @@ -49584,7 +49752,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &317 + - &319 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -49596,9 +49764,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 headers: Link: *66 x-github: @@ -49620,7 +49788,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *317 + - *319 requestBody: required: true content: @@ -49673,9 +49841,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49695,7 +49863,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *317 + - *319 responses: '204': description: Response @@ -49840,13 +50008,13 @@ paths: application/json: schema: type: array - items: *318 + items: *320 examples: - default: *319 + default: *321 '500': *53 '403': *27 '404': *6 - '422': *320 + '422': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49888,7 +50056,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '403': *27 @@ -49974,7 +50142,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &323 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -50048,7 +50216,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 members_count: type: integer examples: @@ -50373,7 +50541,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &324 value: id: 1 node_id: MDQ6VGVhbTE= @@ -50450,9 +50618,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -50537,16 +50705,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -50576,7 +50744,7 @@ paths: responses: '204': description: Response - '422': &323 + '422': &325 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -50610,12 +50778,12 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 - '422': *323 + '422': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50697,7 +50865,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Team Membership description: Team Membership type: object @@ -50725,7 +50893,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &652 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -50788,9 +50956,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: &653 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -50866,7 +51034,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 x-github: @@ -50897,14 +51065,14 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &654 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -51539,8 +51707,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -51587,8 +51755,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -51625,7 +51793,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: &655 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51779,7 +51947,7 @@ paths: resources: type: object properties: - core: &327 + core: &329 title: Rate Limit type: object properties: @@ -51796,17 +51964,17 @@ paths: - remaining - reset - used - graphql: *327 - search: *327 - code_search: *327 - source_import: *327 - integration_manifest: *327 - code_scanning_upload: *327 - actions_runner_registration: *327 - scim: *327 - dependency_snapshots: *327 - dependency_sbom: *327 - code_scanning_autofix: *327 + graphql: *329 + search: *329 + code_search: *329 + source_import: *329 + integration_manifest: *329 + code_scanning_upload: *329 + actions_runner_registration: *329 + scim: *329 + dependency_snapshots: *329 + dependency_sbom: *329 + code_scanning_autofix: *329 required: - core - search @@ -51908,14 +52076,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *328 + schema: *330 examples: default-response: summary: Default response @@ -52419,7 +52587,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52437,8 +52605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -52737,10 +52905,10 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 - '307': &331 + default: *332 + '307': &333 description: Temporary Redirect content: application/json: @@ -52769,8 +52937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -52792,7 +52960,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *331 + '307': *333 '404': *6 '409': *52 x-github: @@ -52816,11 +52984,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &364 + - &366 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52843,7 +53011,7 @@ paths: type: integer artifacts: type: array - items: &332 + items: &334 title: Artifact description: An artifact type: object @@ -52938,7 +53106,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &367 value: total_count: 2 artifacts: @@ -52999,9 +53167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *325 - - *326 - - &333 + - *327 + - *328 + - &335 name: artifact_id description: The unique identifier of the artifact. in: path @@ -53013,7 +53181,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: default: value: @@ -53051,9 +53219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 responses: '204': description: Response @@ -53077,9 +53245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 - name: archive_format in: path required: true @@ -53089,11 +53257,11 @@ paths: '302': description: Response headers: - Location: &482 + Location: &484 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &523 + '410': &525 description: Gone content: application/json: @@ -53118,14 +53286,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &334 + schema: &336 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -53159,13 +53327,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *334 + schema: *336 examples: selected_actions: *40 responses: @@ -53194,14 +53362,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &335 + schema: &337 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -53235,13 +53403,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: selected_actions: *42 responses: @@ -53272,14 +53440,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -53305,11 +53473,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &337 + - &339 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -53343,7 +53511,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 title: Repository actions caches description: Repository actions caches type: object @@ -53393,7 +53561,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &341 value: total_count: 1 actions_caches: @@ -53425,23 +53593,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *325 - - *326 + - *327 + - *328 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *339 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53461,8 +53629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *325 - - *326 + - *327 + - *328 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53493,9 +53661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *325 - - *326 - - &340 + - *327 + - *328 + - &342 name: job_id description: The unique identifier of the job. in: path @@ -53507,7 +53675,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: Job description: Information of a job execution in a workflow run type: object @@ -53854,9 +54022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 responses: '302': description: Response @@ -53884,9 +54052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 requestBody: required: false content: @@ -53932,8 +54100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Status response @@ -53983,8 +54151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -54047,8 +54215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -54066,7 +54234,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &372 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -54087,7 +54255,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &373 value: total_count: 2 secrets: @@ -54120,9 +54288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -54139,7 +54307,7 @@ paths: type: integer variables: type: array - items: &374 + items: &376 title: Actions Variable type: object properties: @@ -54173,7 +54341,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: total_count: 2 variables: @@ -54206,8 +54374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54216,11 +54384,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *342 + selected_actions_url: *344 sha_pinning_required: *139 required: - enabled @@ -54249,8 +54417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -54261,7 +54429,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *345 allowed_actions: *138 sha_pinning_required: *139 required: @@ -54293,14 +54461,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &344 + schema: &346 type: object properties: access_level: @@ -54317,7 +54485,7 @@ paths: required: - access_level examples: - default: &345 + default: &347 value: access_level: organization x-github: @@ -54341,15 +54509,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 responses: '204': description: Response @@ -54373,14 +54541,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -54404,8 +54572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Empty response for successful settings update @@ -54415,7 +54583,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *349 examples: default: summary: Set retention days @@ -54439,8 +54607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54448,7 +54616,7 @@ paths: application/json: schema: *140 examples: - default: *348 + default: *350 '404': *6 x-github: enabledForGitHubApps: true @@ -54467,8 +54635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -54502,14 +54670,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: *141 '403': *27 @@ -54531,13 +54699,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *350 + schema: *352 examples: default: *141 responses: @@ -54563,8 +54731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54591,8 +54759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -54624,14 +54792,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *148 x-github: @@ -54654,8 +54822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Success response @@ -54666,7 +54834,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *148 x-github: @@ -54695,8 +54863,8 @@ paths: in: query schema: type: string - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -54740,8 +54908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -54749,9 +54917,9 @@ paths: application/json: schema: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54773,8 +54941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -54817,7 +54985,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *357 '404': *6 '422': *7 '409': *52 @@ -54848,8 +55016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -54857,7 +55025,7 @@ paths: application/json: schema: *157 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54885,8 +55053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -54894,7 +55062,7 @@ paths: application/json: schema: *157 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54916,8 +55084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': @@ -54926,7 +55094,7 @@ paths: application/json: schema: *155 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54947,8 +55115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '204': @@ -54975,8 +55143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': *159 @@ -55001,8 +55169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -55051,8 +55219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -55102,11 +55270,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: - '200': *359 + '200': *361 '404': *6 x-github: githubCloudOnly: false @@ -55133,10 +55301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 - - *360 + - *362 responses: '200': *159 '404': *6 @@ -55164,9 +55332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *325 - - *326 - - &378 + - *327 + - *328 + - &380 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -55174,7 +55342,7 @@ paths: required: false schema: type: string - - &379 + - &381 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -55182,7 +55350,7 @@ paths: required: false schema: type: string - - &380 + - &382 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -55191,7 +55359,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -55218,7 +55386,7 @@ paths: - pending - *17 - *19 - - &382 + - &384 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -55227,7 +55395,7 @@ paths: schema: type: string format: date-time - - &361 + - &363 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -55236,13 +55404,13 @@ paths: schema: type: boolean default: false - - &383 + - &385 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &386 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -55265,7 +55433,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &364 title: Workflow Run description: An invocation of a workflow type: object @@ -55443,7 +55611,7 @@ paths: head_commit: anyOf: - type: 'null' - - &406 + - &408 title: Simple Commit description: A commit. type: object @@ -55558,7 +55726,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &387 value: total_count: 1 workflow_runs: @@ -55794,24 +55962,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *325 - - *326 - - &363 + - *327 + - *328 + - &365 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &366 + default: &368 value: id: 30433642 name: Build @@ -56052,9 +56220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -56077,9 +56245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -56207,9 +56375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '201': description: Response @@ -56242,12 +56410,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - *17 - *19 - - *364 + - *366 - *60 responses: '200': @@ -56264,9 +56432,9 @@ paths: type: integer artifacts: type: array - items: *332 + items: *334 examples: - default: *365 + default: *367 headers: Link: *66 x-github: @@ -56290,25 +56458,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - &367 + - *327 + - *328 + - *365 + - &369 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56331,10 +56499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 - *17 - *19 responses: @@ -56352,9 +56520,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: &369 + default: &371 value: total_count: 1 jobs: @@ -56467,10 +56635,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 responses: '302': description: Response @@ -56498,9 +56666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -56533,9 +56701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -56602,9 +56770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -56637,9 +56805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -56669,9 +56837,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: *369 + default: *371 headers: Link: *66 x-github: @@ -56696,9 +56864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '302': description: Response @@ -56725,9 +56893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -56754,9 +56922,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -56825,7 +56993,7 @@ paths: items: type: object properties: - type: &489 + type: &491 type: string description: The type of reviewer. enum: @@ -56911,9 +57079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -56963,7 +57131,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -57075,7 +57243,7 @@ paths: - created_at - updated_at examples: - default: &485 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -57131,9 +57299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -57178,9 +57346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -57234,9 +57402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -57373,8 +57541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -57392,9 +57560,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -57419,16 +57587,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57450,17 +57618,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: &502 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -57486,8 +57654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -57545,8 +57713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -57572,9 +57740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -57591,9 +57759,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -57616,8 +57784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -57669,17 +57837,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &503 + default: &505 value: name: USERNAME value: octocat @@ -57705,8 +57873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 requestBody: required: true @@ -57749,8 +57917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '204': @@ -57776,8 +57944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -57795,7 +57963,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &378 title: Workflow description: A GitHub Actions workflow type: object @@ -57913,9 +58081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *325 - - *326 - - &377 + - *327 + - *328 + - &379 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57930,7 +58098,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -57963,9 +58131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -57990,9 +58158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '200': description: Response including the workflow run ID and URLs when `return_run_details` @@ -58073,9 +58241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -58102,19 +58270,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *325 - - *326 - - *377 - - *378 + - *327 + - *328 - *379 - *380 - *381 - - *17 - - *19 - *382 - - *361 - *383 + - *17 + - *19 - *384 + - *363 + - *385 + - *386 responses: '200': description: Response @@ -58130,9 +58298,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *364 examples: - default: *385 + default: *387 headers: Link: *66 x-github: @@ -58164,9 +58332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '200': description: Response @@ -58227,8 +58395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *325 - - *326 + - *327 + - *328 - *60 - *17 - *45 @@ -58396,8 +58564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -58434,8 +58602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *325 - - *326 + - *327 + - *328 - name: assignee in: path required: true @@ -58471,8 +58639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -58582,8 +58750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *45 - *46 @@ -58624,7 +58792,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58644,8 +58812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -58653,7 +58821,7 @@ paths: application/json: schema: type: array - items: &387 + items: &389 title: Autolink reference description: An autolink reference. type: object @@ -58712,8 +58880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -58752,9 +58920,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 1 key_prefix: TICKET- @@ -58785,9 +58953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *325 - - *326 - - &389 + - *327 + - *328 + - &391 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58799,9 +58967,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 x-github: githubCloudOnly: false @@ -58821,9 +58989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *325 - - *326 - - *389 + - *327 + - *328 + - *391 responses: '204': description: Response @@ -58847,8 +59015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if Dependabot is enabled @@ -58898,8 +59066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -58920,8 +59088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -58941,8 +59109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *325 - - *326 + - *327 + - *328 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58980,7 +59148,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &393 title: Branch Protection description: Branch Protection type: object @@ -59023,7 +59191,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &396 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -59040,7 +59208,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &398 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -59124,7 +59292,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &395 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -59417,9 +59585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *325 - - *326 - - &392 + - *327 + - *328 + - &394 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -59433,14 +59601,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &458 title: Commit description: Commit type: object @@ -59479,7 +59647,7 @@ paths: author: anyOf: - type: 'null' - - &390 + - &392 title: Git User description: Metaproperties for Git author/committer information. @@ -59501,7 +59669,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 message: type: string examples: @@ -59525,7 +59693,7 @@ paths: required: - sha - url - verification: &509 + verification: &511 title: Verification type: object properties: @@ -59605,7 +59773,7 @@ paths: type: integer files: type: array - items: &467 + items: &469 title: Diff Entry description: Diff Entry type: object @@ -59701,7 +59869,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *393 protection_url: type: string format: uri @@ -59810,7 +59978,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *329 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -59832,15 +60000,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -60034,9 +60202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -60296,7 +60464,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &401 title: Status Check Policy description: Status Check Policy type: object @@ -60455,7 +60623,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *395 required_conversation_resolution: type: object properties: @@ -60567,9 +60735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -60594,17 +60762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &395 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -60626,17 +60794,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60655,9 +60823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -60682,17 +60850,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -60788,9 +60956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -60888,9 +61056,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -60911,9 +61079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -60940,17 +61108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &398 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60973,17 +61141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *398 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -61003,9 +61171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61030,17 +61198,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -61066,9 +61234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61120,9 +61288,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 '422': *15 x-github: @@ -61144,9 +61312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61170,9 +61338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -61206,9 +61374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61275,9 +61443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61341,9 +61509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -61409,15 +61577,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -61508,9 +61676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61533,9 +61701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -61545,7 +61713,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &403 value: - id: 1 slug: octoapp @@ -61602,9 +61770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -61638,7 +61806,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -61659,9 +61827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -61695,7 +61863,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -61716,9 +61884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -61752,7 +61920,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -61774,9 +61942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -61786,7 +61954,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -61806,9 +61974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61846,7 +62014,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -61867,9 +62035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61907,7 +62075,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -61928,9 +62096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -61967,7 +62135,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -61989,9 +62157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62025,9 +62193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62085,9 +62253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62145,9 +62313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62207,9 +62375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62231,7 +62399,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -62347,8 +62515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -62627,7 +62795,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &405 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62763,7 +62931,7 @@ paths: check. type: array items: *85 - deployment: &717 + deployment: &719 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -63050,9 +63218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *325 - - *326 - - &404 + - *327 + - *328 + - &406 name: check_run_id description: The unique identifier of the check run. in: path @@ -63064,9 +63232,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &405 + default: &407 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -63166,9 +63334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 requestBody: required: true content: @@ -63408,9 +63576,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63430,9 +63598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 - *17 - *19 responses: @@ -63542,9 +63710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 responses: '201': description: Response @@ -63588,8 +63756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -63611,7 +63779,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &409 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63709,7 +63877,7 @@ paths: - string - 'null' format: date-time - head_commit: *406 + head_commit: *408 latest_check_runs_count: type: integer check_runs_url: @@ -63737,7 +63905,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &410 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -64028,9 +64196,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64049,8 +64217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -64359,9 +64527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *325 - - *326 - - &409 + - *327 + - *328 + - &411 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -64373,9 +64541,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64398,17 +64566,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *325 - - *326 - - *409 - - &462 + - *327 + - *328 + - *411 + - &464 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &465 name: status description: Returns check runs with the specified `status`. in: query @@ -64447,9 +64615,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: &464 + default: &466 value: total_count: 1 check_runs: @@ -64551,9 +64719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *325 - - *326 - - *409 + - *327 + - *328 + - *411 responses: '201': description: Response @@ -64586,21 +64754,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - &428 + - &430 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *412 - - &429 + schema: *414 + - &431 name: pr description: The number of the pull request for the results you want to list. in: query @@ -64625,13 +64793,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *415 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *416 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -64655,7 +64823,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -64663,11 +64831,11 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *418 + dismissed_comment: *419 + rule: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -64790,7 +64958,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &421 + '403': &423 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64817,9 +64985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *325 - - *326 - - &422 + - *327 + - *328 + - &424 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64833,7 +65001,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &425 type: object properties: number: *171 @@ -64841,7 +65009,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -64849,8 +65017,8 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 rule: type: object properties: @@ -64912,8 +65080,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -65009,7 +65177,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65029,9 +65197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -65046,8 +65214,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -65075,7 +65243,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: default: value: @@ -65151,7 +65319,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &429 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -65178,15 +65346,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: Response content: application/json: - schema: &424 + schema: &426 type: object properties: status: @@ -65213,13 +65381,13 @@ paths: - description - started_at examples: - default: &425 + default: &427 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &428 description: Bad Request content: application/json: @@ -65230,7 +65398,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65255,29 +65423,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: OK content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '202': description: Accepted content: application/json: - schema: *424 + schema: *426 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *428 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -65309,9 +65477,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: false content: @@ -65357,8 +65525,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *428 + '403': *429 '404': *6 '422': description: Unprocessable Entity @@ -65382,13 +65550,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 - - *428 - - *429 + - *430 + - *431 responses: '200': description: Response @@ -65399,10 +65567,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *414 + analysis_key: *432 + environment: *433 + category: *434 state: type: - string @@ -65419,7 +65587,7 @@ paths: properties: text: type: string - location: *433 + location: *435 html_url: type: string classifications: @@ -65427,7 +65595,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *434 + items: *436 examples: default: value: @@ -65464,7 +65632,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65498,25 +65666,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - *429 + - *431 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *412 + schema: *414 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &437 type: string description: An identifier for the upload. examples: @@ -65538,23 +65706,23 @@ paths: application/json: schema: type: array - items: &436 + items: &438 type: object properties: - ref: *412 - commit_sha: &444 + ref: *414 + commit_sha: &446 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *430 + analysis_key: *432 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *434 error: type: string examples: @@ -65579,8 +65747,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *437 + tool: *421 deletable: type: boolean warning: @@ -65642,7 +65810,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -65678,8 +65846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65692,7 +65860,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: response: summary: application/json response @@ -65746,7 +65914,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *423 '404': *6 '422': description: Response if analysis could not be processed @@ -65833,8 +66001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65890,7 +66058,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -65912,8 +66080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -65921,7 +66089,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: CodeQL Database description: A CodeQL database. type: object @@ -66033,7 +66201,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66062,8 +66230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -66075,7 +66243,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -66107,9 +66275,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &471 + '302': &473 description: Found - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66131,8 +66299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -66142,7 +66310,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -66170,8 +66338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -66180,7 +66348,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &440 type: string description: The language targeted by the CodeQL query enum: @@ -66260,7 +66428,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &444 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -66270,7 +66438,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *438 + query_language: *440 query_pack_url: type: string description: The download url for the query pack. @@ -66318,7 +66486,7 @@ paths: items: type: object properties: - repository: &439 + repository: &441 title: Repository Identifier description: Repository Identifier type: object @@ -66360,7 +66528,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &445 type: string description: The new status of the CodeQL variant analysis repository task. @@ -66392,7 +66560,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &442 type: object properties: repository_count: @@ -66407,7 +66575,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *439 + items: *441 required: - repository_count - repositories @@ -66430,8 +66598,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *442 + over_limit_repos: *442 required: - access_mismatch_repos - not_found_repos @@ -66447,7 +66615,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &443 summary: Default response value: id: 1 @@ -66593,10 +66761,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *443 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *443 '404': *6 '422': description: Unable to process variant analysis submission @@ -66624,8 +66792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66637,9 +66805,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *441 + default: *443 '404': *6 '503': *114 x-github: @@ -66662,7 +66830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *325 + - *327 - name: repo in: path description: The name of the controller repository. @@ -66697,7 +66865,7 @@ paths: type: object properties: repository: *65 - analysis_status: *443 + analysis_status: *445 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66822,8 +66990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -66914,7 +67082,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66935,8 +67103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67030,7 +67198,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *429 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -67101,8 +67269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67110,7 +67278,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *446 ref: type: string description: |- @@ -67170,7 +67338,7 @@ paths: schema: type: object properties: - id: *435 + id: *437 url: type: string description: The REST API URL for checking the status of the upload. @@ -67184,7 +67352,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *427 + '403': *429 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -67207,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *325 - - *326 + - *327 + - *328 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -67256,7 +67424,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *421 + '403': *423 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -67281,8 +67449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67363,8 +67531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -67492,8 +67660,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67509,7 +67677,7 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: default: value: @@ -67807,8 +67975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67872,17 +68040,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '400': *14 '401': *23 '403': *27 @@ -67911,8 +68079,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67976,8 +68144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -68014,9 +68182,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: &660 + default: &662 value: total_count: 2 machines: @@ -68056,8 +68224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -68144,8 +68312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -68214,8 +68382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -68233,7 +68401,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -68254,7 +68422,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -68277,16 +68445,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -68306,17 +68474,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68336,8 +68504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -68390,8 +68558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -68420,8 +68588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *325 - - *326 + - *327 + - *328 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -68459,7 +68627,7 @@ paths: application/json: schema: type: array - items: &452 + items: &454 title: Collaborator description: Collaborator type: object @@ -68652,8 +68820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -68700,8 +68868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 requestBody: required: false @@ -68728,7 +68896,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &522 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68956,8 +69124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -68989,8 +69157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '200': @@ -69011,7 +69179,7 @@ paths: user: anyOf: - type: 'null' - - *452 + - *454 required: - permission - role_name @@ -69065,8 +69233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -69076,7 +69244,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Commit Comment description: Commit Comment type: object @@ -69134,7 +69302,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &460 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69193,17 +69361,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: &459 + default: &461 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69260,8 +69428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -69284,7 +69452,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -69335,8 +69503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -69358,8 +69526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69386,7 +69554,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -69430,7 +69598,7 @@ paths: - content - created_at examples: - default: &525 + default: &527 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69475,8 +69643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -69509,9 +69677,9 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -69540,9 +69708,9 @@ paths: description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -69564,10 +69732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - &526 + - &528 name: reaction_id description: The unique identifier of the reaction. in: path @@ -69622,8 +69790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -69679,9 +69847,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: &573 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69775,9 +69943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *325 - - *326 - - &457 + - *327 + - *328 + - &459 name: commit_sha description: The SHA of the commit. in: path @@ -69849,9 +70017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -69861,9 +70029,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -69891,9 +70059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 requestBody: required: true content: @@ -69928,9 +70096,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *459 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69958,9 +70126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -69970,9 +70138,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &565 + default: &567 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70509,11 +70677,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - - &461 + - &463 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70528,9 +70696,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &553 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70618,7 +70786,7 @@ paths: schema: type: string examples: - default: &468 + default: &470 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -70631,7 +70799,7 @@ paths: schema: type: string examples: - default: &469 + default: &471 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -70684,11 +70852,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *325 - - *326 - - *461 - - *462 + - *327 + - *328 - *463 + - *464 + - *465 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70722,9 +70890,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: *464 + default: *466 headers: Link: *66 x-github: @@ -70749,9 +70917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70759,7 +70927,7 @@ paths: schema: type: integer example: 1 - - *462 + - *464 - *17 - *19 responses: @@ -70777,7 +70945,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *409 examples: default: value: @@ -70977,9 +71145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -71181,9 +71349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -71193,7 +71361,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Status description: The status of a commit. type: object @@ -71274,7 +71442,7 @@ paths: site_admin: false headers: Link: *66 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71302,8 +71470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -71336,11 +71504,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *465 + - *467 code_of_conduct_file: anyOf: - type: 'null' - - &466 + - &468 title: Community Health File type: object properties: @@ -71360,19 +71528,19 @@ paths: contributing: anyOf: - type: 'null' - - *466 + - *468 readme: anyOf: - type: 'null' - - *466 + - *468 issue_template: anyOf: - type: 'null' - - *466 + - *468 pull_request_template: anyOf: - type: 'null' - - *466 + - *468 required: - code_of_conduct - code_of_conduct_file @@ -71501,8 +71669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - name: basehead @@ -71550,8 +71718,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *458 + merge_base_commit: *458 status: type: string enum: @@ -71575,10 +71743,10 @@ paths: - 6 commits: type: array - items: *456 + items: *458 files: type: array - items: *467 + items: *469 required: - url - html_url @@ -71824,12 +71992,12 @@ paths: schema: type: string examples: - default: *468 + default: *470 application/vnd.github.patch: schema: type: string examples: - default: *469 + default: *471 '404': *6 '500': *53 '503': *114 @@ -71874,8 +72042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -72045,7 +72213,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &470 + response-if-content-is-a-file-github-object: &472 summary: Response if content is a file value: type: file @@ -72182,7 +72350,7 @@ paths: - size - type - url - - &578 + - &580 title: Content File description: Content File type: object @@ -72400,7 +72568,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *472 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -72469,7 +72637,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *471 + '302': *473 '304': *35 x-github: githubCloudOnly: false @@ -72492,8 +72660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -72588,7 +72756,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: File Commit description: File Commit type: object @@ -72744,7 +72912,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: example-for-creating-a-file: value: @@ -72798,7 +72966,7 @@ paths: schema: oneOf: - *3 - - &504 + - &506 description: Repository rule violation was detected type: object properties: @@ -72819,7 +72987,7 @@ paths: items: type: object properties: - placeholder_id: &633 + placeholder_id: &635 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72851,8 +73019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -72913,7 +73081,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -72968,8 +73136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *325 - - *326 + - *327 + - *328 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -73093,8 +73261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *189 - *190 - *191 @@ -73107,7 +73275,7 @@ paths: schema: type: string - *194 - - *473 + - *475 - *195 - *196 - *197 @@ -73122,7 +73290,7 @@ paths: application/json: schema: type: array - items: &477 + items: &479 type: object description: A Dependabot alert. properties: @@ -73173,7 +73341,7 @@ paths: - transitive - inconclusive - - security_advisory: *474 + security_advisory: *476 security_vulnerability: *64 url: *174 html_url: *175 @@ -73204,8 +73372,8 @@ paths: dismissal. maxLength: 280 fixed_at: *176 - auto_dismissed_at: *475 - dismissal_request: *476 + auto_dismissed_at: *477 + dismissal_request: *478 assignees: type: array description: The users assigned to this alert. @@ -73460,9 +73628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *325 - - *326 - - &478 + - *327 + - *328 + - &480 name: alert_number in: path description: |- @@ -73477,7 +73645,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -73609,9 +73777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *325 - - *326 - - *478 + - *327 + - *328 + - *480 requestBody: required: true content: @@ -73667,7 +73835,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -73797,8 +73965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -73816,7 +73984,7 @@ paths: type: integer secrets: type: array - items: &481 + items: &483 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73870,16 +74038,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *479 + schema: *481 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73899,15 +74067,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -73933,8 +74101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -73987,8 +74155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -74011,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -74186,8 +74354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -74446,8 +74614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sbom_uuid in: path required: true @@ -74458,7 +74626,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *482 + Location: *484 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -74479,8 +74647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -74518,8 +74686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -74602,7 +74770,7 @@ paths: - version - url additionalProperties: false - metadata: &483 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -74641,7 +74809,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *483 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -74655,7 +74823,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *483 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -74788,8 +74956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: The SHA recorded at creation time. in: query @@ -74830,9 +74998,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *485 + default: *487 headers: Link: *66 x-github: @@ -74898,8 +75066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -74981,7 +75149,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: simple-example: summary: Simple example @@ -75054,9 +75222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *325 - - *326 - - &486 + - *327 + - *328 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -75068,7 +75236,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -75133,9 +75301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 responses: '204': description: Response @@ -75157,9 +75325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - *17 - *19 responses: @@ -75169,7 +75337,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -75333,9 +75501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 requestBody: required: true content: @@ -75410,9 +75578,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -75468,9 +75636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - name: status_id in: path required: true @@ -75481,9 +75649,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -75508,8 +75676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -75566,8 +75734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -75585,7 +75753,7 @@ paths: - 5 environments: type: array - items: &490 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -75647,7 +75815,7 @@ paths: type: string examples: - wait_timer - wait_timer: &492 + wait_timer: &494 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -75689,7 +75857,7 @@ paths: items: type: object properties: - type: *489 + type: *491 reviewer: anyOf: - *4 @@ -75716,7 +75884,7 @@ paths: - id - node_id - type - deployment_branch_policy: &493 + deployment_branch_policy: &495 type: - object - 'null' @@ -75833,9 +76001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *325 - - *326 - - &491 + - *327 + - *328 + - &493 name: environment_name in: path required: true @@ -75848,9 +76016,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: &494 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75934,9 +76102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: false content: @@ -75946,7 +76114,7 @@ paths: - object - 'null' properties: - wait_timer: *492 + wait_timer: *494 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75965,14 +76133,14 @@ paths: items: type: object properties: - type: *489 + type: *491 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *493 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -75992,9 +76160,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *494 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -76018,9 +76186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '204': description: Default response @@ -76045,9 +76213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -76066,7 +76234,7 @@ paths: - 2 branch_policies: type: array - items: &495 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -76127,9 +76295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -76177,9 +76345,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - example-wildcard: &496 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -76221,10 +76389,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - &497 + - *327 + - *328 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -76236,9 +76404,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76257,10 +76425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 requestBody: required: true content: @@ -76289,9 +76457,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76310,10 +76478,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 responses: '204': description: Response @@ -76338,9 +76506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 responses: '200': description: List of deployment protection rules @@ -76357,7 +76525,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &498 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -76379,7 +76547,7 @@ paths: for the environment. examples: - true - app: &499 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76482,9 +76650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 requestBody: content: application/json: @@ -76505,9 +76673,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *498 + schema: *500 examples: - default: &500 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76542,9 +76710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 - *19 - *17 responses: @@ -76564,7 +76732,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *499 + items: *501 examples: default: value: @@ -76599,10 +76767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *325 - - *326 - - *491 - - &501 + - *327 + - *328 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76614,9 +76782,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76637,10 +76805,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *491 - - *326 - - *325 - - *501 + - *493 + - *328 + - *327 + - *503 responses: '204': description: Response @@ -76666,9 +76834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -76686,9 +76854,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -76713,17 +76881,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76745,18 +76913,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *502 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76778,9 +76946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 requestBody: required: true @@ -76838,9 +77006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '204': @@ -76866,10 +77034,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *325 - - *326 - - *491 - - *341 + - *327 + - *328 + - *493 + - *343 - *19 responses: '200': @@ -76886,9 +77054,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -76911,9 +77079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -76965,18 +77133,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *503 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76997,10 +77165,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 requestBody: required: true content: @@ -77042,10 +77210,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 responses: '204': description: Response @@ -77067,8 +77235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -77136,8 +77304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *325 - - *326 + - *327 + - *328 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -77296,8 +77464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -77330,9 +77498,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -77353,8 +77521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -77414,7 +77582,7 @@ paths: schema: oneOf: - *122 - - *504 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77439,8 +77607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *325 - - *326 + - *327 + - *328 - name: file_sha in: path required: true @@ -77540,8 +77708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -77650,7 +77818,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77877,15 +78045,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -77941,9 +78109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *325 - - *326 - - &506 + - *327 + - *328 + - &508 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77960,7 +78128,7 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -78036,17 +78204,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -78075,8 +78243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78105,9 +78273,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -78133,9 +78301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 requestBody: required: true content: @@ -78164,9 +78332,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '422': *15 '409': *52 x-github: @@ -78184,9 +78352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '204': description: Response @@ -78241,8 +78409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78309,7 +78477,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -78365,7 +78533,7 @@ paths: - sha - type - url - verification: *509 + verification: *511 required: - sha - url @@ -78375,7 +78543,7 @@ paths: - tag - message examples: - default: &511 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -78448,8 +78616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *325 - - *326 + - *327 + - *328 - name: tag_sha in: path required: true @@ -78460,9 +78628,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 '404': *6 '409': *52 x-github: @@ -78486,8 +78654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78561,7 +78729,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78663,8 +78831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *325 - - *326 + - *327 + - *328 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78687,7 +78855,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default-response: summary: Default response @@ -78746,8 +78914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -78757,7 +78925,7 @@ paths: application/json: schema: type: array - items: &513 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -78820,7 +78988,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &748 + last_response: &750 title: Hook Response type: object properties: @@ -78897,8 +79065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -78951,9 +79119,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: &514 + default: &516 value: type: Repository id: 12345678 @@ -79001,17 +79169,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -79031,9 +79199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: true content: @@ -79078,9 +79246,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '422': *15 '404': *6 x-github: @@ -79101,9 +79269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79127,9 +79295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response @@ -79156,9 +79324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: false content: @@ -79202,12 +79370,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 - - *17 - - *204 + - *327 + - *328 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -79215,9 +79383,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -79236,18 +79404,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -79266,9 +79434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '202': *37 @@ -79291,9 +79459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79318,9 +79486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -79343,8 +79511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if immutable releases are enabled @@ -79392,8 +79560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -79413,8 +79581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -79471,14 +79639,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &515 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -79585,7 +79753,7 @@ paths: - html_url - authors_url examples: - default: &518 + default: &520 value: vcs: subversion use_lfs: true @@ -79601,7 +79769,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &516 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -79630,8 +79798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -79679,7 +79847,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -79704,7 +79872,7 @@ paths: type: string '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79732,8 +79900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -79785,7 +79953,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: example-1: summary: Example 1 @@ -79833,7 +80001,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79856,12 +80024,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79887,9 +80055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *325 - - *326 - - &682 + - *327 + - *328 + - &684 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79903,7 +80071,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Porter Author description: Porter Author type: object @@ -79957,7 +80125,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79982,8 +80150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *325 - - *326 + - *327 + - *328 - name: author_id in: path required: true @@ -80013,7 +80181,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: default: value: @@ -80026,7 +80194,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80050,8 +80218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80092,7 +80260,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80120,8 +80288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -80148,11 +80316,11 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: - default: *518 + default: *520 '422': *15 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80175,8 +80343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80184,8 +80352,8 @@ paths: application/json: schema: *20 examples: - default: *519 - '301': *329 + default: *521 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -80205,8 +80373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -80214,12 +80382,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &521 + default: &523 value: limit: collaborators_only origin: repository @@ -80244,13 +80412,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *520 + schema: *522 examples: default: summary: Example request body @@ -80262,9 +80430,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *521 + default: *523 '409': description: Response x-github: @@ -80286,8 +80454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -80310,8 +80478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -80321,9 +80489,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: &674 + default: &676 value: - id: 1 repository: @@ -80454,9 +80622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 requestBody: required: false content: @@ -80485,7 +80653,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -80616,9 +80784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 responses: '204': description: Response @@ -80649,8 +80817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *325 - - *326 + - *327 + - *328 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -80698,7 +80866,7 @@ paths: required: false schema: type: string - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -80723,7 +80891,7 @@ paths: type: array items: *82 examples: - default: &531 + default: &533 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80872,7 +81040,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *329 + '301': *331 '422': *15 '404': *6 x-github: @@ -80901,8 +81069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -80986,7 +81154,7 @@ paths: application/json: schema: *82 examples: - default: &528 + default: &530 value: id: 1 node_id: MDU6SXNzdWUx @@ -81124,7 +81292,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -81152,8 +81320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -81176,7 +81344,7 @@ paths: type: array items: *83 examples: - default: &530 + default: &532 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -81234,8 +81402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -81244,7 +81412,7 @@ paths: application/json: schema: *83 examples: - default: &524 + default: &526 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -81299,8 +81467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -81325,7 +81493,7 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -81343,8 +81511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -81373,8 +81541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -81437,7 +81605,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -81454,8 +81622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -81463,7 +81631,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '503': *114 x-github: githubCloudOnly: false @@ -81481,8 +81649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -81509,9 +81677,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -81532,8 +81700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -81566,16 +81734,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -81597,10 +81765,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -81620,8 +81788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -81631,7 +81799,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 title: Issue Event description: Issue Event type: object @@ -81971,8 +82139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *325 - - *326 + - *327 + - *328 - name: event_id in: path required: true @@ -81983,7 +82151,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -82176,7 +82344,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *523 + '410': *525 '403': *27 x-github: githubCloudOnly: false @@ -82210,9 +82378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *325 - - *326 - - &529 + - *327 + - *328 + - &531 name: issue_number description: The number that identifies the issue. in: path @@ -82228,7 +82396,7 @@ paths: examples: default: summary: Issue - value: *528 + value: *530 pinned_comment: summary: Issue with pinned comment value: @@ -82408,9 +82576,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 '304': *35 x-github: githubCloudOnly: false @@ -82435,9 +82603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -82572,13 +82740,13 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '422': *15 '503': *114 '403': *27 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82596,9 +82764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -82626,7 +82794,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82642,9 +82810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: content: application/json: @@ -82671,7 +82839,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82693,9 +82861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: assignee in: path required: true @@ -82735,9 +82903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *87 - *17 - *19 @@ -82750,11 +82918,11 @@ paths: type: array items: *83 examples: - default: *530 + default: *532 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82783,9 +82951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -82809,14 +82977,14 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -82844,9 +83012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -82858,12 +83026,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82891,9 +83059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -82917,15 +83085,15 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *329 + '301': *331 '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -82956,9 +83124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -82972,13 +83140,13 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -83004,9 +83172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83018,12 +83186,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83040,9 +83208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83056,7 +83224,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &535 + - &537 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83105,7 +83273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -83233,7 +83401,7 @@ paths: - performed_via_github_app - assignee - assigner - - &537 + - &539 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -83279,7 +83447,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -83325,7 +83493,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -83374,7 +83542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -83416,7 +83584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -83458,7 +83626,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -83514,7 +83682,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Locked Issue Event description: Locked Issue Event type: object @@ -83559,7 +83727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -83620,7 +83788,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -83681,7 +83849,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -83742,7 +83910,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -83835,7 +84003,7 @@ paths: color: red headers: Link: *66 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83852,9 +84020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -83864,9 +84032,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &533 + default: &535 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -83890,9 +84058,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83921,9 +84089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -83989,9 +84157,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -84027,9 +84195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84096,9 +84264,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -84129,10 +84297,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *325 - - *326 - - *529 - - *229 + - *327 + - *328 + - *531 + - *231 responses: '204': description: Issue field value deleted successfully @@ -84157,9 +84325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84171,7 +84339,7 @@ paths: type: array items: *81 examples: - default: &534 + default: &536 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84189,9 +84357,9 @@ paths: default: false headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84207,9 +84375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84254,10 +84422,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -84274,9 +84442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84338,10 +84506,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -84358,15 +84526,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84385,9 +84553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: name in: path required: true @@ -84411,9 +84579,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84433,9 +84601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -84464,7 +84632,7 @@ paths: '204': description: Response '403': *27 - '410': *523 + '410': *525 '404': *6 '422': *15 x-github: @@ -84482,9 +84650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response @@ -84514,9 +84682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '200': description: Response @@ -84524,10 +84692,10 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84544,9 +84712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -84572,13 +84740,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84596,9 +84764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84630,16 +84798,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -84661,10 +84829,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *325 - - *326 - - *529 - - *526 + - *327 + - *328 + - *531 + - *528 responses: '204': description: Response @@ -84693,9 +84861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84719,7 +84887,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -84752,9 +84920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84766,11 +84934,11 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84798,9 +84966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84829,14 +84997,14 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -84856,9 +85024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84891,7 +85059,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '403': *27 '404': *6 '422': *7 @@ -84913,9 +85081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84930,8 +85098,6 @@ paths: description: Timeline Event type: object anyOf: - - *535 - - *536 - *537 - *538 - *539 @@ -84943,6 +85109,8 @@ paths: - *545 - *546 - *547 + - *548 + - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -84999,7 +85167,7 @@ paths: pin: anyOf: - type: 'null' - - *548 + - *550 required: - event - actor @@ -85275,7 +85443,7 @@ paths: type: string comments: type: array - items: &567 + items: &569 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -85516,7 +85684,7 @@ paths: type: string comments: type: array - items: *453 + items: *455 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -85791,7 +85959,7 @@ paths: headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85808,8 +85976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -85819,7 +85987,7 @@ paths: application/json: schema: type: array - items: &549 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -85887,8 +86055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -85924,9 +86092,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: &550 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -85960,9 +86128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *325 - - *326 - - &551 + - *327 + - *328 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -85974,9 +86142,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -85994,9 +86162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *325 - - *326 - - *551 + - *327 + - *328 + - *553 responses: '204': description: Response @@ -86016,8 +86184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -86029,7 +86197,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 '404': *6 @@ -86050,8 +86218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86089,7 +86257,7 @@ paths: application/json: schema: *81 examples: - default: &552 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86121,8 +86289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86135,7 +86303,7 @@ paths: application/json: schema: *81 examples: - default: *552 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -86152,8 +86320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86218,8 +86386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -86245,8 +86413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -86285,9 +86453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *325 - - *326 - - *428 + - *327 + - *328 + - *430 responses: '200': description: Response @@ -86434,8 +86602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86500,8 +86668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86535,9 +86703,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *458 examples: - default: *553 + default: *555 '204': description: Response when already merged '404': @@ -86562,8 +86730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -86604,7 +86772,7 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: default: value: @@ -86660,8 +86828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -86701,9 +86869,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -86762,9 +86930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *325 - - *326 - - &555 + - *327 + - *328 + - &557 name: milestone_number description: The number that identifies the milestone. in: path @@ -86776,9 +86944,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -86795,9 +86963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 requestBody: required: false content: @@ -86835,9 +87003,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86853,9 +87021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 responses: '204': description: Response @@ -86876,9 +87044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 - *17 - *19 responses: @@ -86890,7 +87058,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 x-github: @@ -86909,12 +87077,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *325 - - *326 - - *556 - - *557 - - *87 + - *327 + - *328 - *558 + - *559 + - *87 + - *560 - *17 - *19 responses: @@ -86926,7 +87094,7 @@ paths: type: array items: *107 examples: - default: *559 + default: *561 headers: Link: *66 x-github: @@ -86950,8 +87118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -87009,14 +87177,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &560 + schema: &562 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87160,7 +87328,7 @@ paths: - custom_404 - public examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87201,8 +87369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87257,9 +87425,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '422': *15 '409': *52 x-github: @@ -87282,8 +87450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87383,8 +87551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -87410,8 +87578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -87421,7 +87589,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Page Build description: Page Build type: object @@ -87513,8 +87681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -87561,16 +87729,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -87618,8 +87786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 - name: build_id in: path required: true @@ -87630,9 +87798,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87652,8 +87820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87761,9 +87929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *325 - - *326 - - &564 + - *327 + - *328 + - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -87821,9 +87989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *325 - - *326 - - *564 + - *327 + - *328 + - *566 responses: '204': *59 '404': *6 @@ -87850,8 +88018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -88146,8 +88314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Private vulnerability reporting status @@ -88184,8 +88352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -88206,8 +88374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -88229,8 +88397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -88238,7 +88406,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -88269,8 +88437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88282,7 +88450,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - properties examples: @@ -88332,8 +88500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -88393,9 +88561,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *565 + default: *567 headers: Link: *66 '304': *35 @@ -88427,8 +88595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88495,7 +88663,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -88624,7 +88792,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -88663,7 +88831,7 @@ paths: items: *4 requested_teams: type: array - items: *245 + items: *247 head: type: object properties: @@ -88701,14 +88869,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *269 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -88719,7 +88887,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *566 + auto_merge: *568 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -88819,7 +88987,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89326,8 +89494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sort in: query required: false @@ -89356,9 +89524,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89435,17 +89603,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -89520,8 +89688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -89544,9 +89712,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89562,8 +89730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -89585,8 +89753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -89613,9 +89781,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -89636,8 +89804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -89670,16 +89838,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -89701,10 +89869,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -89747,9 +89915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *325 - - *326 - - &571 + - *327 + - *328 + - &573 name: pull_number description: The number that identifies the pull request. in: path @@ -89762,9 +89930,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '304': *35 '404': *6 '406': @@ -89799,9 +89967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -89843,9 +90011,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '403': *27 x-github: @@ -89867,9 +90035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -89894,9 +90062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -89922,9 +90090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -89985,17 +90153,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -90025,9 +90193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -90048,9 +90216,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *572 + default: *574 headers: Link: *66 x-github: @@ -90083,9 +90251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -90191,7 +90359,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: example-for-a-multi-line-comment: value: @@ -90279,9 +90447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *96 requestBody: required: true @@ -90304,7 +90472,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: default: value: @@ -90390,9 +90558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -90402,9 +90570,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: *573 + default: *575 headers: Link: *66 x-github: @@ -90434,9 +90602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -90446,7 +90614,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -90484,9 +90652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response if pull request has been merged @@ -90509,9 +90677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -90623,9 +90791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '200': description: Response @@ -90700,9 +90868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -90739,7 +90907,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -91275,9 +91443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -91311,7 +91479,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -91796,9 +91964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -91808,7 +91976,7 @@ paths: application/json: schema: type: array - items: &574 + items: &576 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -91964,9 +92132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -92056,9 +92224,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92121,10 +92289,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - &575 + - *327 + - *328 + - *573 + - &577 name: review_id description: The unique identifier of the review. in: path @@ -92136,9 +92304,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &577 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92197,10 +92365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -92223,7 +92391,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -92285,18 +92453,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *576 + default: *578 '422': *7 '404': *6 x-github: @@ -92323,10 +92491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 - *17 - *19 responses: @@ -92424,9 +92592,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *269 + html: *269 + pull_request: *269 required: - self - html @@ -92584,10 +92752,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -92616,7 +92784,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -92679,10 +92847,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -92717,9 +92885,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *577 + default: *579 '404': *6 '422': *7 '403': *27 @@ -92741,9 +92909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -92807,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -92821,9 +92989,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: type: file encoding: base64 @@ -92865,8 +93033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *325 - - *326 + - *327 + - *328 - name: dir description: The alternate path to look for a README file in: path @@ -92886,9 +93054,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 '422': *15 x-github: @@ -92910,8 +93078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -92921,7 +93089,7 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: default: value: @@ -93015,8 +93183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -93092,9 +93260,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -93199,9 +93367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *325 - - *326 - - &582 + - *327 + - *328 + - &584 name: asset_id description: The unique identifier of the asset. in: path @@ -93213,9 +93381,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 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 @@ -93250,7 +93418,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93266,9 +93434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 requestBody: required: false content: @@ -93297,9 +93465,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93315,9 +93483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 responses: '204': description: Response @@ -93342,8 +93510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -93429,16 +93597,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -93456,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *325 - - *326 + - *327 + - *328 - name: tag description: tag parameter in: path @@ -93470,9 +93638,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -93494,9 +93662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *325 - - *326 - - &585 + - *327 + - *328 + - &587 name: release_id description: The unique identifier of the release. in: path @@ -93510,9 +93678,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: *580 + schema: *582 examples: - default: *584 + default: *586 '401': description: Unauthorized x-github: @@ -93530,9 +93698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: false content: @@ -93596,9 +93764,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': description: Not Found if the discussion category name is invalid content: @@ -93619,9 +93787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 responses: '204': description: Response @@ -93642,9 +93810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - *17 - *19 responses: @@ -93654,7 +93822,7 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: default: value: @@ -93735,9 +93903,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - name: name in: query required: true @@ -93763,7 +93931,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *583 examples: response-for-successful-upload: value: @@ -93818,9 +93986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - 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. @@ -93844,9 +94012,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -93867,9 +94035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: true content: @@ -93899,16 +94067,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -93930,10 +94098,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *325 - - *326 - - *585 - - *526 + - *327 + - *328 + - *587 + - *528 responses: '204': description: Response @@ -93957,9 +94125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 - *17 - *19 responses: @@ -93975,8 +94143,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *287 - - &586 + - *289 + - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93995,69 +94163,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *288 - - *586 - - allOf: - - *289 - - *586 - allOf: - *290 - - *586 - - allOf: - - *587 - - *586 + - *588 - allOf: - *291 - - *586 + - *588 - allOf: - *292 - - *586 + - *588 + - allOf: + - *589 + - *588 - allOf: - *293 - - *586 + - *588 - allOf: - *294 - - *586 + - *588 - allOf: - *295 - - *586 + - *588 - allOf: - *296 - - *586 + - *588 - allOf: - *297 - - *586 + - *588 - allOf: - *298 - - *586 + - *588 - allOf: - *299 - - *586 + - *588 - allOf: - *300 - - *586 + - *588 - allOf: - *301 - - *586 + - *588 - allOf: - *302 - - *586 + - *588 - allOf: - *303 - - *586 + - *588 - allOf: - *304 - - *586 + - *588 - allOf: - *305 - - *586 + - *588 - allOf: - *306 - - *586 + - *588 - allOf: - *307 - - *586 + - *588 + - allOf: + - *308 + - *588 + - allOf: + - *309 + - *588 examples: default: value: @@ -94096,8 +94264,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: includes_parents @@ -94108,7 +94276,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -94116,7 +94284,7 @@ paths: application/json: schema: type: array - items: *308 + items: *310 examples: default: value: @@ -94163,8 +94331,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 requestBody: description: Request body required: true @@ -94184,16 +94352,16 @@ paths: - tag - push default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *591 required: - name - enforcement @@ -94224,9 +94392,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &599 + default: &601 value: id: 42 name: super cool ruleset @@ -94274,12 +94442,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *325 - - *326 - - *590 - - *591 + - *327 + - *328 - *592 - *593 + - *594 + - *595 - *17 - *19 responses: @@ -94287,9 +94455,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 '404': *6 '500': *53 x-github: @@ -94310,17 +94478,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *325 - - *326 - - *596 + - *327 + - *328 + - *598 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 '404': *6 '500': *53 x-github: @@ -94348,8 +94516,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94369,9 +94537,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '500': *53 put: @@ -94389,8 +94557,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94415,16 +94583,16 @@ paths: - branch - tag - push - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *591 examples: default: value: @@ -94452,9 +94620,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '422': *15 '500': *53 @@ -94473,8 +94641,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94497,8 +94665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: ruleset_id @@ -94514,9 +94682,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *600 + default: *602 '404': *6 '500': *53 x-github: @@ -94535,8 +94703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -94554,7 +94722,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -94609,25 +94777,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *602 - - *603 + - *327 + - *328 - *604 - *605 - *606 - *607 - *608 - *609 + - *610 + - *611 - *60 - *19 - *17 - - *610 - - *611 - *612 - *613 - *614 - *615 + - *616 + - *617 responses: '200': description: Response @@ -94635,7 +94803,7 @@ paths: application/json: schema: type: array - items: &619 + items: &621 type: object properties: number: *171 @@ -94651,8 +94819,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolved_at: type: - string @@ -94758,7 +94926,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *618 + - *620 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -94917,16 +95085,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 - - *615 + - *327 + - *328 + - *424 + - *617 responses: '200': description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -94980,9 +95148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -94990,8 +95158,8 @@ paths: schema: type: object properties: - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95029,7 +95197,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -95124,9 +95292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 responses: @@ -95137,7 +95305,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &768 + items: &770 type: object properties: type: @@ -95164,8 +95332,6 @@ paths: - commit details: oneOf: - - *620 - - *621 - *622 - *623 - *624 @@ -95177,6 +95343,8 @@ paths: - *630 - *631 - *632 + - *633 + - *634 examples: default: value: @@ -95262,8 +95430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -95271,14 +95439,14 @@ paths: schema: type: object properties: - reason: &634 + reason: &636 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *633 + placeholder_id: *635 required: - reason - placeholder_id @@ -95295,7 +95463,7 @@ paths: schema: type: object properties: - reason: *634 + reason: *636 expire_at: type: - string @@ -95342,8 +95510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -95358,7 +95526,7 @@ paths: properties: incremental_scans: type: array - items: &635 + items: &637 description: Information on a single scan performed by secret scanning on the repository type: object @@ -95386,15 +95554,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *635 + items: *637 backfill_scans: type: array - items: *635 + items: *637 custom_pattern_backfill_scans: type: array items: allOf: - - *635 + - *637 - type: object properties: pattern_name: @@ -95407,7 +95575,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *635 + items: *637 examples: default: value: @@ -95472,8 +95640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *325 - - *326 + - *327 + - *328 - *60 - name: sort description: The property to sort the results by. @@ -95517,9 +95685,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: *637 + default: *639 '400': *14 '404': *6 x-github: @@ -95542,8 +95710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -95623,7 +95791,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -95713,9 +95881,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: &639 + default: &641 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95945,8 +96113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -96059,7 +96227,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: default: value: @@ -96205,17 +96373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '200': description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 + default: *641 '403': *27 '404': *6 x-github: @@ -96239,9 +96407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 requestBody: required: true content: @@ -96321,7 +96489,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -96412,10 +96580,10 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 - add_credit: *639 + default: *641 + add_credit: *641 '403': *27 '404': *6 '422': @@ -96453,9 +96621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': *37 '400': *14 @@ -96482,17 +96650,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -96518,8 +96686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -96615,8 +96783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -96625,7 +96793,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96658,8 +96826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -96737,8 +96905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -96832,8 +97000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -96987,8 +97155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -96998,7 +97166,7 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: default: value: @@ -97031,8 +97199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *325 - - *326 + - *327 + - *328 - name: sha in: path required: true @@ -97088,7 +97256,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: default: value: @@ -97142,8 +97310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97175,14 +97343,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &642 + schema: &644 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -97255,8 +97423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -97282,7 +97450,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: default: value: @@ -97309,8 +97477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -97330,8 +97498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97413,8 +97581,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -97450,8 +97618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -97463,7 +97631,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '404': *6 @@ -97483,8 +97651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 responses: @@ -97492,7 +97660,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &645 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -97504,7 +97672,7 @@ paths: required: - names examples: - default: &644 + default: &646 value: names: - octocat @@ -97527,8 +97695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -97559,9 +97727,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *645 examples: - default: *644 + default: *646 '404': *6 '422': *7 x-github: @@ -97582,9 +97750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *325 - - *326 - - &645 + - *327 + - *328 + - &647 name: per description: The time frame to display results for. in: query @@ -97615,7 +97783,7 @@ paths: - 128 clones: type: array - items: &646 + items: &648 title: Traffic type: object properties: @@ -97702,8 +97870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -97797,8 +97965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -97861,9 +98029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *325 - - *326 - - *645 + - *327 + - *328 + - *647 responses: '200': description: Response @@ -97884,7 +98052,7 @@ paths: - 3782 views: type: array - items: *646 + items: *648 required: - uniques - count @@ -97961,8 +98129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -98235,8 +98403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -98259,8 +98427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -98282,8 +98450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -98309,8 +98477,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -98402,9 +98570,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -98656,7 +98824,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &647 + text_matches: &649 title: Search Result Text Matches type: array items: @@ -98819,7 +98987,7 @@ paths: enum: - author-date - committer-date - - &648 + - &650 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 @@ -98888,7 +99056,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 comment_count: type: integer message: @@ -98907,7 +99075,7 @@ paths: url: type: string format: uri - verification: *509 + verification: *511 required: - author - committer @@ -98922,7 +99090,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 parents: type: array items: @@ -98939,7 +99107,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *649 required: - sha - node_id @@ -99131,7 +99299,7 @@ paths: - interactions - created - updated - - *648 + - *650 - *17 - *19 - name: advanced_search @@ -99245,11 +99413,11 @@ paths: type: - string - 'null' - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: type: string state_reason: @@ -99259,7 +99427,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 comments: type: integer created_at: @@ -99273,7 +99441,7 @@ paths: - string - 'null' format: date-time - text_matches: *647 + text_matches: *649 pull_request: type: object properties: @@ -99322,7 +99490,7 @@ paths: timeline_url: type: string format: uri - type: *230 + type: *232 performed_via_github_app: anyOf: - type: 'null' @@ -99537,7 +99705,7 @@ paths: enum: - created - updated - - *648 + - *650 - *17 - *19 responses: @@ -99582,7 +99750,7 @@ paths: - 'null' score: type: number - text_matches: *647 + text_matches: *649 required: - id - node_id @@ -99667,7 +99835,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *650 - *17 - *19 responses: @@ -99913,7 +100081,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *649 temp_clone_token: type: string allow_merge_commit: @@ -100221,7 +100389,7 @@ paths: - string - 'null' format: uri - text_matches: *647 + text_matches: *649 related: type: - array @@ -100414,7 +100582,7 @@ paths: - followers - repositories - joined - - *648 + - *650 - *17 - *19 responses: @@ -100524,7 +100692,7 @@ paths: type: - boolean - 'null' - text_matches: *647 + text_matches: *649 blog: type: - string @@ -100606,7 +100774,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &651 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -100618,9 +100786,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -100647,7 +100815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *651 + - *653 requestBody: required: true content: @@ -100711,16 +100879,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -100748,7 +100916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *651 + - *653 responses: '204': description: Response @@ -100777,7 +100945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -100787,9 +100955,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 x-github: @@ -100815,7 +100983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *651 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -100866,7 +101034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -100903,7 +101071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -100943,7 +101111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -100980,16 +101148,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-user-is-a-team-maintainer: *652 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -101022,7 +101190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 requestBody: required: false @@ -101048,9 +101216,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: *653 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -101084,7 +101252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -101112,7 +101280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -101124,7 +101292,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 '404': *6 @@ -101154,15 +101322,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *654 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -101312,9 +101480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 requestBody: required: false content: @@ -101364,9 +101532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '204': description: Response @@ -101391,7 +101559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -101403,7 +101571,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: *655 + response-if-child-teams-exist: *657 headers: Link: *66 '404': *6 @@ -101436,7 +101604,7 @@ paths: application/json: schema: oneOf: - - &656 + - &658 title: Private User description: Private User type: object @@ -101686,7 +101854,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &681 + - &683 title: Public User description: Public User type: object @@ -102020,7 +102188,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: default: value: @@ -102223,9 +102391,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -102364,17 +102532,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -102418,7 +102586,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &659 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102460,7 +102628,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -102538,7 +102706,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: default: value: @@ -102828,15 +102996,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '401': *23 @@ -102862,7 +103030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 requestBody: required: false content: @@ -102892,9 +103060,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -102916,7 +103084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': *37 '304': *35 @@ -102945,13 +103113,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': description: Response content: application/json: - schema: &658 + schema: &660 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -103004,7 +103172,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &659 + default: &661 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -103036,7 +103204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *237 + - *239 - name: export_id in: path required: true @@ -103049,9 +103217,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: - default: *659 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -103072,7 +103240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *237 + - *239 responses: '200': description: Response @@ -103088,9 +103256,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: *660 + default: *662 '304': *35 '500': *53 '401': *23 @@ -103119,7 +103287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *237 + - *239 requestBody: required: true content: @@ -103175,11 +103343,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *328 + repository: *330 machine: anyOf: - type: 'null' - - *446 + - *448 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -103976,15 +104144,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '400': *14 @@ -104016,15 +104184,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '500': *53 '401': *23 '403': *27 @@ -104054,9 +104222,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: &671 + default: &673 value: - id: 197 name: hello_docker @@ -104157,7 +104325,7 @@ paths: application/json: schema: type: array - items: &661 + items: &663 title: Email description: Email type: object @@ -104227,9 +104395,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: &673 + default: &675 value: - email: octocat@github.com verified: true @@ -104306,7 +104474,7 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: default: value: @@ -104564,7 +104732,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: GPG Key description: A unique encryption key type: object @@ -104709,7 +104877,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &692 value: - id: 3 name: Octocat's GPG Key @@ -104794,9 +104962,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: &663 + default: &665 value: id: 3 name: Octocat's GPG Key @@ -104853,7 +105021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &664 + - &666 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104865,9 +105033,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: *663 + default: *665 '404': *6 '304': *35 '403': *27 @@ -104890,7 +105058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *664 + - *666 responses: '204': description: Response @@ -105169,12 +105337,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *223 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -105198,7 +105366,7 @@ paths: required: true content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -105209,7 +105377,7 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -105290,7 +105458,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -105315,7 +105483,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -105348,7 +105516,7 @@ paths: application/json: schema: type: array - items: &665 + items: &667 title: Key description: Key type: object @@ -105451,9 +105619,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: &666 + default: &668 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105486,15 +105654,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '200': description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '404': *6 '304': *35 '403': *27 @@ -105517,7 +105685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '204': description: Response @@ -105550,7 +105718,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105629,7 +105797,7 @@ paths: - account - plan examples: - default: &668 + default: &670 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105691,9 +105859,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *66 '304': *35 @@ -105733,7 +105901,7 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: default: value: @@ -105847,7 +106015,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -105934,7 +106102,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -106006,7 +106174,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -106268,7 +106436,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -106448,7 +106616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *242 + - *244 - name: exclude in: query required: false @@ -106461,7 +106629,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -106655,7 +106823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *242 + - *244 responses: '302': description: Response @@ -106681,7 +106849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *242 + - *244 responses: '204': description: Response @@ -106710,8 +106878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *242 - - *669 + - *244 + - *671 responses: '204': description: Response @@ -106735,7 +106903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *242 + - *244 - *17 - *19 responses: @@ -106824,7 +106992,7 @@ paths: - docker - nuget - container - - *670 + - *672 - *19 - *17 responses: @@ -106834,10 +107002,10 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *671 - '400': *672 + default: *673 + '400': *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106857,16 +107025,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &691 + default: &693 value: id: 40201 name: octo-name @@ -106979,8 +107147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '204': description: Response @@ -107010,8 +107178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - name: token description: package token schema: @@ -107043,8 +107211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - *19 - *17 - name: state @@ -107064,7 +107232,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -107113,15 +107281,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -107157,9 +107325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -107189,9 +107357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -107228,9 +107396,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: *673 + default: *675 headers: Link: *66 '304': *35 @@ -107343,7 +107511,7 @@ paths: type: array items: *78 examples: - default: &680 + default: &682 summary: Default response value: - id: 1296269 @@ -107661,9 +107829,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107702,9 +107870,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: *674 + default: *676 headers: Link: *66 '304': *35 @@ -107727,7 +107895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -107751,7 +107919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -107784,7 +107952,7 @@ paths: application/json: schema: type: array - items: &675 + items: &677 title: Social account description: Social media account type: object @@ -107801,7 +107969,7 @@ paths: - provider - url examples: - default: &676 + default: &678 value: - provider: twitter url: https://twitter.com/github @@ -107864,9 +108032,9 @@ paths: application/json: schema: type: array - items: *675 + items: *677 examples: - default: *676 + default: *678 '422': *15 '304': *35 '404': *6 @@ -107954,7 +108122,7 @@ paths: application/json: schema: type: array - items: &677 + items: &679 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107974,7 +108142,7 @@ paths: - title - created_at examples: - default: &709 + default: &711 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108039,9 +108207,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: - default: &678 + default: &680 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -108071,7 +108239,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: - - &679 + - &681 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -108083,9 +108251,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: - default: *678 + default: *680 '404': *6 '304': *35 '403': *27 @@ -108108,7 +108276,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: - - *679 + - *681 responses: '204': description: Response @@ -108137,7 +108305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &710 + - &712 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 @@ -108162,11 +108330,11 @@ paths: type: array items: *78 examples: - default-response: *680 + default-response: *682 application/vnd.github.v3.star+json: schema: type: array - items: &711 + items: &713 title: Starred Repository description: Starred Repository type: object @@ -108322,8 +108490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if this repository is starred by you @@ -108351,8 +108519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -108376,8 +108544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -108412,7 +108580,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 '304': *35 @@ -108449,7 +108617,7 @@ paths: application/json: schema: type: array - items: *321 + items: *323 examples: default: value: @@ -108535,10 +108703,10 @@ paths: application/json: schema: oneOf: - - *656 - - *681 + - *658 + - *683 examples: - default-response: &685 + default-response: &687 summary: Default response value: login: octocat @@ -108573,7 +108741,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &688 summary: Response with GitHub plan information value: login: octocat @@ -108630,14 +108798,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &683 + - &685 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -108671,9 +108839,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: - draft_issue: *271 + draft_issue: *273 '304': *35 '403': *27 '401': *23 @@ -108696,7 +108864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *682 + - *684 - *17 responses: '200': @@ -108731,8 +108899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *683 - - *265 + - *685 + - *267 requestBody: required: true content: @@ -108806,17 +108974,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *684 + schema: *686 examples: table_view: summary: Response for creating a table view - value: *275 + value: *277 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -108858,11 +109026,11 @@ paths: application/json: schema: oneOf: - - *656 - - *681 + - *658 + - *683 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *687 + response-with-git-hub-plan-information: *688 '404': *6 x-github: githubCloudOnly: false @@ -108912,8 +109080,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *689 + withPredicateType: *690 responses: '200': description: Response @@ -108953,7 +109121,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109142,7 +109310,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 '201': description: Response content: @@ -109181,9 +109349,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *671 + default: *673 '403': *27 '401': *23 x-github: @@ -109567,9 +109735,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: *690 + default: *692 headers: Link: *66 x-github: @@ -109673,7 +109841,7 @@ paths: application/json: schema: *20 examples: - default: *519 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109798,7 +109966,7 @@ paths: - docker - nuget - container - - *670 + - *672 - *70 - *19 - *17 @@ -109809,12 +109977,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *671 + default: *673 '403': *27 '401': *23 - '400': *672 + '400': *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109834,17 +110002,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109865,8 +110033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '204': @@ -109899,8 +110067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 - name: token description: package token @@ -109933,8 +110101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': @@ -109943,7 +110111,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -110001,16 +110169,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 - *70 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -110045,10 +110213,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -110080,10 +110248,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -110124,9 +110292,9 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -110148,16 +110316,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *265 + - *267 - *70 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -110179,7 +110347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *265 + - *267 - *70 - *17 - *45 @@ -110191,9 +110359,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *692 + default: *694 headers: Link: *66 '304': *35 @@ -110215,7 +110383,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true content: @@ -110253,7 +110421,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *693 + items: *695 required: - name - data_type @@ -110269,7 +110437,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *694 + iteration_configuration: *696 required: - name - data_type @@ -110291,20 +110459,20 @@ paths: value: name: Due date data_type: date - single_select_field: *695 - iteration_field: *696 + single_select_field: *697 + iteration_field: *698 responses: '201': description: Response content: application/json: - schema: *268 + schema: *270 examples: - text_field: *697 - number_field: *698 - date_field: *699 - single_select_field: *700 - iteration_field: *701 + text_field: *699 + number_field: *700 + date_field: *701 + single_select_field: *702 + iteration_field: *703 '304': *35 '403': *27 '401': *23 @@ -110325,17 +110493,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *265 - - *702 + - *267 + - *704 - *70 responses: '200': description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *703 + default: *705 headers: Link: *66 '304': *35 @@ -110358,7 +110526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - *45 - *46 @@ -110391,9 +110559,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -110415,7 +110583,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -110485,22 +110653,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -110520,9 +110688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - - *274 + - *276 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -110542,9 +110710,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -110565,9 +110733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -110640,13 +110808,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -110666,9 +110834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 responses: '204': description: Response @@ -110690,9 +110858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *265 + - *267 - *70 - - *704 + - *706 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -110718,9 +110886,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -110941,7 +111109,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 x-github: @@ -110967,7 +111135,7 @@ paths: - *116 - *118 - *117 - - *705 + - *707 - *119 responses: '200': @@ -111098,7 +111266,7 @@ paths: parameters: - *70 - *116 - - *706 + - *708 - *117 responses: '200': @@ -111197,9 +111365,9 @@ paths: - *116 - *118 - *117 - - *707 + - *709 - *119 - - *708 + - *710 responses: '200': description: Response when getting a billing usage summary @@ -111333,9 +111501,9 @@ paths: application/json: schema: type: array - items: *675 + items: *677 examples: - default: *676 + default: *678 headers: Link: *66 x-github: @@ -111365,9 +111533,9 @@ paths: application/json: schema: type: array - items: *677 + items: *679 examples: - default: *709 + default: *711 headers: Link: *66 x-github: @@ -111392,7 +111560,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *710 + - *712 - *60 - *17 - *19 @@ -111404,11 +111572,11 @@ paths: schema: anyOf: - type: array - items: *711 + items: *713 - type: array items: *78 examples: - default-response: *680 + default-response: *682 headers: Link: *66 x-github: @@ -111439,7 +111607,7 @@ paths: type: array items: *153 examples: - default: *260 + default: *262 headers: Link: *66 x-github: @@ -111568,7 +111736,7 @@ webhooks: type: string enum: - disabled - enterprise: &712 + enterprise: &714 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111637,7 +111805,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &713 + installation: &715 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111658,7 +111826,7 @@ webhooks: required: - id - node_id - organization: &714 + organization: &716 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -111731,7 +111899,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &715 + repository: &717 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -112646,10 +112814,10 @@ webhooks: type: string enum: - enabled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -112725,11 +112893,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: &716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: &718 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) @@ -112952,11 +113120,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -113144,11 +113312,11 @@ webhooks: - everyone required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -113232,7 +113400,7 @@ webhooks: type: string enum: - completed - check_run: &718 + check_run: &720 title: CheckRun description: A check performed on the code of a given code change type: object @@ -113342,7 +113510,7 @@ webhooks: - examples: - neutral - deployment: *717 + deployment: *719 details_url: type: string examples: @@ -113440,10 +113608,10 @@ webhooks: - output - app - pull_requests - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -113834,11 +114002,11 @@ webhooks: type: string enum: - created - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -114232,11 +114400,11 @@ webhooks: type: string enum: - requested_action - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 requested_action: description: The action requested by the user. type: object @@ -114639,11 +114807,11 @@ webhooks: type: string enum: - rerequested - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -115628,10 +115796,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -116335,10 +116503,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -117036,10 +117204,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -117208,7 +117376,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117360,20 +117528,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &719 + commit_oid: &721 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: *712 - installation: *713 - organization: *714 - ref: &720 + enterprise: *714 + installation: *715 + organization: *716 + ref: &722 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: *715 + repository: *717 sender: *4 required: - action @@ -117540,7 +117708,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -117781,12 +117949,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -117884,7 +118052,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118069,12 +118237,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -118243,7 +118411,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118420,12 +118588,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -118526,7 +118694,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118715,9 +118883,9 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -118725,7 +118893,7 @@ webhooks: type: - string - 'null' - repository: *715 + repository: *717 sender: *4 required: - action @@ -118824,7 +118992,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -118971,12 +119139,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -119145,7 +119313,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119297,10 +119465,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -119560,10 +119728,10 @@ webhooks: - updated_at - author_association - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -119644,18 +119812,18 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *714 - pusher_type: &721 + organization: *716 + pusher_type: &723 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &722 + ref: &724 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -119665,7 +119833,7 @@ webhooks: enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -119747,10 +119915,10 @@ webhooks: type: string enum: - created - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -119835,9 +120003,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -119914,10 +120082,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -119994,10 +120162,10 @@ webhooks: type: string enum: - updated - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -120074,19 +120242,19 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - repository: *715 - organization: *714 + enterprise: *714 + installation: *715 + repository: *717 + organization: *716 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *282 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *282 required: - action - repository @@ -120162,18 +120330,18 @@ webhooks: title: delete event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - pusher_type: *721 - ref: *722 + enterprise: *714 + installation: *715 + organization: *716 + pusher_type: *723 + ref: *724 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -120253,11 +120421,11 @@ webhooks: type: string enum: - assignees_changed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120337,11 +120505,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120422,11 +120590,11 @@ webhooks: type: string enum: - auto_reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120507,11 +120675,11 @@ webhooks: type: string enum: - created - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120590,11 +120758,11 @@ webhooks: type: string enum: - dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120673,11 +120841,11 @@ webhooks: type: string enum: - fixed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120757,11 +120925,11 @@ webhooks: type: string enum: - reintroduced - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120840,11 +121008,11 @@ webhooks: type: string enum: - reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -120921,9 +121089,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - key: &723 + enterprise: *714 + installation: *715 + key: &725 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -120961,8 +121129,8 @@ webhooks: - verified - created_at - read_only - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121039,11 +121207,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - key: *723 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + key: *725 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121610,12 +121778,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: &727 + workflow: &729 title: Workflow type: - object @@ -122366,13 +122534,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *484 + - *486 pull_requests: type: array - items: *569 - repository: *715 - organization: *714 - installation: *713 + items: *571 + repository: *717 + organization: *716 + installation: *715 sender: *4 responses: '200': @@ -122443,7 +122611,7 @@ webhooks: type: string enum: - approved - approver: &724 + approver: &726 type: object properties: avatar_url: @@ -122486,11 +122654,11 @@ webhooks: type: string comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: &725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: &727 type: array items: type: object @@ -122571,7 +122739,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &726 + workflow_job_run: &728 type: object properties: conclusion: @@ -123317,18 +123485,18 @@ webhooks: type: string enum: - rejected - approver: *724 + approver: *726 comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: *725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: *727 sender: *4 since: type: string - workflow_job_run: *726 + workflow_job_run: *728 workflow_job_runs: type: array items: @@ -124045,13 +124213,13 @@ webhooks: type: string enum: - requested - enterprise: *712 + enterprise: *714 environment: type: string - installation: *713 - organization: *714 - repository: *715 - requestor: &732 + installation: *715 + organization: *716 + repository: *717 + requestor: &734 title: User type: - object @@ -125984,12 +126152,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Deployment Workflow Run type: @@ -126680,7 +126848,7 @@ webhooks: type: string enum: - answered - answer: &730 + answer: &732 type: object properties: author_association: @@ -126840,11 +127008,11 @@ webhooks: - created_at - updated_at - body - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -126971,11 +127139,11 @@ webhooks: - from required: - category - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127058,11 +127226,11 @@ webhooks: type: string enum: - closed - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127144,7 +127312,7 @@ webhooks: type: string enum: - created - comment: &729 + comment: &731 type: object properties: author_association: @@ -127304,11 +127472,11 @@ webhooks: - updated_at - body - reactions - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127391,12 +127559,12 @@ webhooks: type: string enum: - deleted - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127491,12 +127659,12 @@ webhooks: - from required: - body - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127580,11 +127748,11 @@ webhooks: type: string enum: - created - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127666,11 +127834,11 @@ webhooks: type: string enum: - deleted - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127770,11 +127938,11 @@ webhooks: type: string required: - from - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127856,10 +128024,10 @@ webhooks: type: string enum: - labeled - discussion: *728 - enterprise: *712 - installation: *713 - label: &731 + discussion: *730 + enterprise: *714 + installation: *715 + label: &733 title: Label type: object properties: @@ -127892,8 +128060,8 @@ webhooks: - color - default - description - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127976,11 +128144,11 @@ webhooks: type: string enum: - locked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128062,11 +128230,11 @@ webhooks: type: string enum: - pinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128148,11 +128316,11 @@ webhooks: type: string enum: - reopened - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128237,16 +128405,16 @@ webhooks: changes: type: object properties: - new_discussion: *728 - new_repository: *715 + new_discussion: *730 + new_repository: *717 required: - new_discussion - new_repository - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128329,10 +128497,10 @@ webhooks: type: string enum: - unanswered - discussion: *728 - old_answer: *730 - organization: *714 - repository: *715 + discussion: *730 + old_answer: *732 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128414,12 +128582,12 @@ webhooks: type: string enum: - unlabeled - discussion: *728 - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128502,11 +128670,11 @@ webhooks: type: string enum: - unlocked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128588,11 +128756,11 @@ webhooks: type: string enum: - unpinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128665,7 +128833,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *712 + enterprise: *714 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -129343,9 +129511,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - forkee @@ -129491,9 +129659,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pages: description: The pages that were updated. type: array @@ -129531,7 +129699,7 @@ webhooks: - action - sha - html_url - repository: *715 + repository: *717 sender: *4 required: - pages @@ -129607,10 +129775,10 @@ webhooks: type: string enum: - created - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: &733 + organization: *716 + repositories: &735 description: An array of repository objects that the installation can access. type: array @@ -129636,8 +129804,8 @@ webhooks: - name - full_name - private - repository: *715 - requester: *732 + repository: *717 + requester: *734 sender: *4 required: - action @@ -129712,11 +129880,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -129793,11 +129961,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -129874,10 +130042,10 @@ webhooks: type: string enum: - added - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: &734 + organization: *716 + repositories_added: &736 description: An array of repository objects, which were added to the installation. type: array @@ -129923,15 +130091,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *715 - repository_selection: &735 + repository: *717 + repository_selection: &737 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *732 + requester: *734 sender: *4 required: - action @@ -130010,10 +130178,10 @@ webhooks: type: string enum: - removed - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: *734 + organization: *716 + repositories_added: *736 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -130040,9 +130208,9 @@ webhooks: - name - full_name - private - repository: *715 - repository_selection: *735 - requester: *732 + repository: *717 + repository_selection: *737 + requester: *734 sender: *4 required: - action @@ -130121,11 +130289,11 @@ webhooks: type: string enum: - suspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130307,10 +130475,10 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 target_type: type: string @@ -130389,11 +130557,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -130559,7 +130727,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 user: title: User type: @@ -130645,8 +130813,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131458,8 +131626,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131476,7 +131644,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -131820,8 +131988,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -131901,7 +132069,7 @@ webhooks: type: string enum: - deleted - comment: &736 + comment: &738 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -132058,7 +132226,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 required: - url - html_url @@ -132072,8 +132240,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132881,8 +133049,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132899,7 +133067,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -133245,8 +133413,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -133326,7 +133494,7 @@ webhooks: type: string enum: - edited - changes: &760 + changes: &762 description: The changes to the comment. type: object properties: @@ -133338,9 +133506,9 @@ webhooks: type: string required: - from - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134151,8 +134319,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134169,7 +134337,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -134513,8 +134681,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -134595,9 +134763,9 @@ webhooks: type: string enum: - pinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -135410,8 +135578,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135428,7 +135596,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -135774,8 +135942,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -135855,9 +136023,9 @@ webhooks: type: string enum: - unpinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136670,8 +136838,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136688,7 +136856,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -137034,8 +137202,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137124,9 +137292,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137215,9 +137383,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137305,9 +137473,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137396,9 +137564,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137478,9 +137646,9 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 + assignee: *734 + enterprise: *714 + installation: *715 issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138292,11 +138460,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138313,7 +138481,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -138416,8 +138584,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138497,8 +138665,8 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139314,11 +139482,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139335,7 +139503,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -139581,8 +139749,8 @@ webhooks: required: - state - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -139661,8 +139829,8 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140469,11 +140637,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140490,7 +140658,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -140592,8 +140760,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -140672,8 +140840,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141503,11 +141671,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141524,7 +141692,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -141605,7 +141773,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &737 + milestone: &740 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141748,8 +141916,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -141848,8 +142016,8 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142660,11 +142828,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142678,7 +142846,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -142784,9 +142952,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142806,6 +142974,354 @@ webhooks: - repository - organization - app + issues-field-added: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-field-removed: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app issues-labeled: post: summary: |- @@ -142866,8 +143382,8 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143677,11 +144193,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143695,7 +144211,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -143801,9 +144317,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143883,8 +144399,8 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144719,11 +145235,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144737,7 +145253,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -144820,8 +145336,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144900,8 +145416,8 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145730,11 +146246,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145751,7 +146267,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -145831,9 +146347,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *737 - organization: *714 - repository: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146720,11 +147236,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146824,7 +147340,7 @@ webhooks: required: - login - id - type: *230 + type: *232 required: - id - number @@ -147316,8 +147832,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148124,11 +148640,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148145,7 +148661,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -148251,8 +148767,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -148332,9 +148848,9 @@ webhooks: type: string enum: - pinned - enterprise: *712 - installation: *713 - issue: &738 + enterprise: *714 + installation: *715 + issue: &741 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149139,11 +149655,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149160,7 +149676,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -149262,8 +149778,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -149342,8 +149858,8 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150176,11 +150692,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150277,9 +150793,9 @@ webhooks: format: uri user_view_type: type: string - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -151167,11 +151683,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151188,7 +151704,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -151781,11 +152297,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -151865,12 +152381,12 @@ webhooks: type: string enum: - typed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -151951,7 +152467,7 @@ webhooks: type: string enum: - unassigned - assignee: &763 + assignee: &765 title: User type: - object @@ -152023,11 +152539,11 @@ webhooks: required: - login - id - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152106,12 +152622,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152191,8 +152707,8 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153025,11 +153541,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153046,7 +153562,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -153126,8 +153642,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153207,11 +153723,11 @@ webhooks: type: string enum: - unpinned - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153290,12 +153806,12 @@ webhooks: type: string enum: - untyped - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153375,11 +153891,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153457,11 +153973,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153571,11 +154087,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153657,9 +154173,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: &740 + enterprise: *714 + installation: *715 + marketplace_purchase: &742 title: Marketplace Purchase type: object required: @@ -153747,8 +154263,8 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: &741 + organization: *716 + previous_marketplace_purchase: &743 title: Marketplace Purchase type: object properties: @@ -153832,7 +154348,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -153912,10 +154428,10 @@ webhooks: - changed effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154003,7 +154519,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -154085,10 +154601,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -154174,7 +154690,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -154255,8 +154771,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 marketplace_purchase: title: Marketplace Purchase type: object @@ -154342,9 +154858,9 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -154424,12 +154940,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -154531,11 +155047,11 @@ webhooks: type: string required: - to - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154637,11 +155153,11 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154720,11 +155236,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154802,11 +155318,11 @@ webhooks: type: string enum: - added - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154884,7 +155400,7 @@ webhooks: required: - login - id - team: &742 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -155114,11 +155630,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -155197,7 +155713,7 @@ webhooks: required: - login - id - team: *742 + team: *744 required: - action - scope @@ -155279,8 +155795,8 @@ webhooks: type: string enum: - checks_requested - installation: *713 - merge_group: &743 + installation: *715 + merge_group: &745 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -155299,15 +155815,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *406 + head_commit: *408 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155393,10 +155909,10 @@ webhooks: - merged - invalidated - dequeued - installation: *713 - merge_group: *743 - organization: *714 - repository: *715 + installation: *715 + merge_group: *745 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155469,7 +155985,7 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -155578,12 +156094,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *713 - organization: *714 + installation: *715 + organization: *716 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -155663,11 +156179,11 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155746,9 +156262,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - milestone: &744 + enterprise: *714 + installation: *715 + milestone: &746 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155890,8 +156406,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155970,11 +156486,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156084,11 +156600,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156168,11 +156684,11 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - milestone: *744 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *746 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156251,11 +156767,11 @@ webhooks: type: string enum: - blocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156334,11 +156850,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156417,9 +156933,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - membership: &745 + enterprise: *714 + installation: *715 + membership: &747 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156529,8 +157045,8 @@ webhooks: - role - organization_url - user - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156608,11 +157124,11 @@ webhooks: type: string enum: - member_added - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156691,8 +157207,8 @@ webhooks: type: string enum: - member_invited - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -156814,10 +157330,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 - user: *732 + user: *734 required: - action - invitation @@ -156895,11 +157411,11 @@ webhooks: type: string enum: - member_removed - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156986,11 +157502,11 @@ webhooks: properties: from: type: string - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157067,9 +157583,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -157592,7 +158108,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &746 + items: &748 title: Ruby Gems metadata type: object properties: @@ -157689,7 +158205,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -157765,9 +158281,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -158129,7 +158645,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 source_url: type: string format: uri @@ -158200,7 +158716,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -158380,12 +158896,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *712 + enterprise: *714 id: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - id @@ -158462,7 +158978,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &747 + personal_access_token_request: &749 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -158612,10 +159128,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *712 - organization: *714 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -158692,11 +159208,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -158772,11 +159288,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -158851,11 +159367,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *747 - organization: *714 - enterprise: *712 + personal_access_token_request: *749 + organization: *716 + enterprise: *714 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -158960,7 +159476,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *748 + last_response: *750 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158992,8 +159508,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 zen: description: Random string of GitHub zen. @@ -159238,10 +159754,10 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: &749 + enterprise: *714 + installation: *715 + organization: *716 + project_card: &751 title: Project Card type: object properties: @@ -159364,7 +159880,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -159445,11 +159961,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -159529,9 +160045,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: title: Project Card type: object @@ -159661,7 +160177,7 @@ webhooks: repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -159755,11 +160271,11 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -159853,9 +160369,9 @@ webhooks: - from required: - column_id - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: allOf: - title: Project Card @@ -160052,7 +160568,7 @@ webhooks: type: string required: - after_id - repository: *715 + repository: *717 sender: *4 required: - action @@ -160132,10 +160648,10 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - organization: *714 - project: &751 + enterprise: *714 + installation: *715 + organization: *716 + project: &753 title: Project type: object properties: @@ -160262,7 +160778,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -160342,10 +160858,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_column: &750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: &752 title: Project Column type: object properties: @@ -160385,7 +160901,7 @@ webhooks: - name - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -160464,14 +160980,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -160560,11 +161076,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -160644,11 +161160,11 @@ webhooks: type: string enum: - moved - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -160728,11 +161244,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -160812,14 +161328,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project: *751 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -160920,11 +161436,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -161003,11 +161519,11 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -161088,9 +161604,9 @@ webhooks: type: string enum: - closed - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161171,9 +161687,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161254,9 +161770,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161377,9 +161893,9 @@ webhooks: type: string to: type: string - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -161462,7 +161978,7 @@ webhooks: type: string enum: - archived - changes: &755 + changes: &757 type: object properties: archived_at: @@ -161478,9 +161994,9 @@ webhooks: - string - 'null' format: date-time - installation: *713 - organization: *714 - projects_v2_item: &752 + installation: *715 + organization: *716 + projects_v2_item: &754 title: Projects v2 Item description: An item belonging to a project type: object @@ -161498,7 +162014,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *271 creator: *4 created_at: type: string @@ -161620,9 +162136,9 @@ webhooks: - 'null' to: type: string - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -161704,9 +162220,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -161787,9 +162303,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -161894,7 +162410,7 @@ webhooks: oneOf: - type: string - type: integer - - &753 + - &755 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -161918,7 +162434,7 @@ webhooks: required: - id - name - - &754 + - &756 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161958,8 +162474,8 @@ webhooks: oneOf: - type: string - type: integer - - *753 - - *754 + - *755 + - *756 type: - 'null' - string @@ -161982,9 +162498,9 @@ webhooks: - 'null' required: - body - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162081,9 +162597,9 @@ webhooks: type: - string - 'null' - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162166,10 +162682,10 @@ webhooks: type: string enum: - restored - changes: *755 - installation: *713 - organization: *714 - projects_v2_item: *752 + changes: *757 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -162251,9 +162767,9 @@ webhooks: type: string enum: - reopened - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162334,9 +162850,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -162417,9 +162933,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -162565,9 +163081,9 @@ webhooks: - string - 'null' format: date - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -162638,10 +163154,10 @@ webhooks: title: public event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - repository @@ -162718,13 +163234,13 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - number: &757 + assignee: *734 + enterprise: *714 + installation: *715 + number: &759 description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -165076,7 +165592,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -165158,11 +165674,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -167507,7 +168023,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -167589,11 +168105,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -169938,7 +170454,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -170020,13 +170536,13 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: &758 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: &760 allOf: - - *569 + - *571 - type: object properties: allow_auto_merge: @@ -170088,7 +170604,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *715 + repository: *717 sender: *4 required: - action @@ -170169,12 +170685,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -170254,11 +170770,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: &759 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: &761 title: Pull Request type: object properties: @@ -172602,7 +173118,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -172681,11 +173197,11 @@ webhooks: type: string enum: - dequeued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -175048,7 +175564,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *715 + repository: *717 sender: *4 required: - action @@ -175172,12 +175688,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -175257,11 +175773,11 @@ webhooks: type: string enum: - enqueued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -177609,7 +178125,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -177689,11 +178205,11 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -180044,7 +180560,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -180125,10 +180641,10 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -182477,7 +182993,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -182557,12 +183073,12 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: *759 - repository: *715 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: *761 + repository: *717 sender: *4 required: - action @@ -182641,12 +183157,12 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -182727,12 +183243,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -182812,12 +183328,12 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -183192,9 +183708,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -185427,7 +185943,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -185507,7 +186023,7 @@ webhooks: type: string enum: - deleted - comment: &761 + comment: &763 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -185800,9 +186316,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -188023,7 +188539,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -188103,11 +188619,11 @@ webhooks: type: string enum: - edited - changes: *760 - comment: *761 - enterprise: *712 - installation: *713 - organization: *714 + changes: *762 + comment: *763 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -190331,7 +190847,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -190412,9 +190928,9 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -192650,7 +193166,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 review: description: The review that was affected. type: object @@ -192901,9 +193417,9 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -195012,8 +195528,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: &762 + repository: *717 + review: &764 description: The review that was affected. type: object properties: @@ -195251,12 +195767,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -197606,7 +198122,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -197692,12 +198208,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -200054,7 +200570,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200249,12 +200765,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -202606,7 +203122,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -202693,12 +203209,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -205041,7 +205557,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205225,9 +205741,9 @@ webhooks: type: string enum: - submitted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -207466,8 +207982,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: *762 + repository: *717 + review: *764 sender: *4 required: - action @@ -207547,9 +208063,9 @@ webhooks: type: string enum: - resolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -209697,7 +210213,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -210094,9 +210610,9 @@ webhooks: type: string enum: - unresolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -212227,7 +212743,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -212626,10 +213142,10 @@ webhooks: type: string before: type: string - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -214967,7 +215483,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -215049,11 +215565,11 @@ webhooks: type: string enum: - unassigned - assignee: *763 - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + assignee: *765 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -217406,7 +217922,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -217485,11 +218001,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -219831,7 +220347,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -219912,10 +220428,10 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -222247,7 +222763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -222450,7 +222966,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *712 + enterprise: *714 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -222545,8 +223061,8 @@ webhooks: - url - author - committer - installation: *713 - organization: *714 + installation: *715 + organization: *716 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -223145,9 +223661,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -223624,7 +224140,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -223680,7 +224196,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -223758,9 +224274,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -224072,7 +224588,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -224122,7 +224638,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -224199,10 +224715,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - release: &764 + enterprise: *714 + installation: *715 + organization: *716 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -224533,7 +225049,7 @@ webhooks: - updated_at - zipball_url - body - repository: *715 + repository: *717 sender: *4 required: - action @@ -224610,11 +225126,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -224731,11 +225247,11 @@ webhooks: type: boolean required: - to - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -224813,9 +225329,9 @@ webhooks: type: string enum: - prereleased - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -225151,7 +225667,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -225227,10 +225743,10 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - release: &765 + enterprise: *714 + installation: *715 + organization: *716 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -225563,7 +226079,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -225639,11 +226155,11 @@ webhooks: type: string enum: - released - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -225719,11 +226235,11 @@ webhooks: type: string enum: - unpublished - enterprise: *712 - installation: *713 - organization: *714 - release: *765 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *767 + repository: *717 sender: *4 required: - action @@ -225799,11 +226315,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -225879,11 +226395,11 @@ webhooks: type: string enum: - reported - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -225959,10 +226475,10 @@ webhooks: type: string enum: - archived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226039,10 +226555,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226120,10 +226636,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226208,10 +226724,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226326,10 +226842,10 @@ webhooks: - 'null' items: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226401,10 +226917,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 status: type: string @@ -226485,10 +227001,10 @@ webhooks: type: string enum: - privatized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226565,10 +227081,10 @@ webhooks: type: string enum: - publicized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226662,10 +227178,10 @@ webhooks: - name required: - repository - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -226745,11 +227261,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -226827,11 +227343,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -226909,11 +227425,11 @@ webhooks: type: string enum: - edited - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 changes: type: object properties: @@ -226932,16 +227448,16 @@ webhooks: properties: added: type: array - items: *282 + items: *284 deleted: type: array - items: *282 + items: *284 updated: type: array items: type: object properties: - condition: *282 + condition: *284 changes: type: object properties: @@ -226974,16 +227490,16 @@ webhooks: properties: added: type: array - items: *589 + items: *591 deleted: type: array - items: *589 + items: *591 updated: type: array items: type: object properties: - rule: *589 + rule: *591 changes: type: object properties: @@ -227220,10 +227736,10 @@ webhooks: - from required: - owner - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227301,10 +227817,10 @@ webhooks: type: string enum: - unarchived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227382,7 +227898,7 @@ webhooks: type: string enum: - create - alert: &766 + alert: &768 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -227507,10 +228023,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227720,10 +228236,10 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -227801,11 +228317,11 @@ webhooks: type: string enum: - reopen - alert: *766 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *768 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228007,10 +228523,10 @@ webhooks: enum: - fixed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228088,7 +228604,7 @@ webhooks: type: string enum: - assigned - alert: &767 + alert: &769 type: object properties: number: *171 @@ -228228,10 +228744,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228309,11 +228825,11 @@ webhooks: type: string enum: - created - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228394,11 +228910,11 @@ webhooks: type: string enum: - created - alert: *767 - installation: *713 - location: *768 - organization: *714 - repository: *715 + alert: *769 + installation: *715 + location: *770 + organization: *716 + repository: *717 sender: *4 required: - location @@ -228636,11 +229152,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228718,11 +229234,11 @@ webhooks: type: string enum: - reopened - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228800,11 +229316,11 @@ webhooks: type: string enum: - resolved - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228882,12 +229398,12 @@ webhooks: type: string enum: - unassigned - alert: *767 + alert: *769 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228965,11 +229481,11 @@ webhooks: type: string enum: - validated - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229099,10 +229615,10 @@ webhooks: - organization - enterprise - - repository: *715 - enterprise: *712 - installation: *713 - organization: *714 + repository: *717 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -229180,11 +229696,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: &769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: &771 description: The details of the security advisory, including summary, description, and severity. type: object @@ -229357,11 +229873,11 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: *771 sender: *4 required: - action @@ -229434,10 +229950,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -229610,11 +230126,11 @@ webhooks: from: type: object properties: - security_and_analysis: *281 - enterprise: *712 - installation: *713 - organization: *714 - repository: *328 + security_and_analysis: *283 + enterprise: *714 + installation: *715 + organization: *716 + repository: *330 sender: *4 required: - changes @@ -229692,12 +230208,12 @@ webhooks: type: string enum: - cancelled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: &770 + sponsorship: &772 type: object properties: created_at: @@ -230002,12 +230518,12 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -230095,12 +230611,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -230177,17 +230693,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &771 + effective_date: &773 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: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -230261,7 +230777,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &772 + changes: &774 type: object properties: tier: @@ -230305,13 +230821,13 @@ webhooks: - from required: - tier - effective_date: *771 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + effective_date: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -230388,13 +230904,13 @@ webhooks: type: string enum: - tier_changed - changes: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + changes: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -230468,10 +230984,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230555,10 +231071,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230992,15 +231508,15 @@ webhooks: type: - string - 'null' - enterprise: *712 + enterprise: *714 id: description: The unique identifier of the status. type: integer - installation: *713 + installation: *715 name: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 sha: description: The Commit SHA. @@ -231116,9 +231632,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231208,9 +231724,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231300,9 +231816,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231392,9 +231908,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231471,12 +231987,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - team: &773 + team: &775 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -231706,9 +232222,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -232178,7 +232694,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -232254,9 +232770,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -232726,7 +233242,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -232803,9 +233319,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -233275,7 +233791,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -233419,9 +233935,9 @@ webhooks: - from required: - permissions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -233891,7 +234407,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - changes @@ -233969,9 +234485,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -234441,7 +234957,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -234517,10 +235033,10 @@ webhooks: type: string enum: - started - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -234593,17 +235109,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *712 + enterprise: *714 inputs: type: - object - 'null' additionalProperties: true - installation: *713 - organization: *714 + installation: *715 + organization: *716 ref: type: string - repository: *715 + repository: *717 sender: *4 workflow: type: string @@ -234685,10 +235201,10 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -234944,7 +235460,7 @@ webhooks: type: string required: - conclusion - deployment: *484 + deployment: *486 required: - action - repository @@ -235023,10 +235539,10 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -235308,7 +235824,7 @@ webhooks: required: - status - steps - deployment: *484 + deployment: *486 required: - action - repository @@ -235387,10 +235903,10 @@ webhooks: type: string enum: - queued - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -235536,7 +236052,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -235615,10 +236131,10 @@ webhooks: type: string enum: - waiting - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -235765,7 +236281,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -235845,12 +236361,12 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -236869,12 +237385,12 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -237878,12 +238394,12 @@ webhooks: type: string enum: - requested - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 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 4f82a53bc5..f88197871c 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 @@ -27711,6 +27711,1050 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "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": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "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" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -117631,6 +118675,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -1156361,19 +1157408,9062 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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" + ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + } + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null, + "template_repository": { + "properties": { + "use_squash_pr_title_as_default": null + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + } + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-edited": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues edited event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "edited" + ] + }, + "changes": { + "description": "The changes to the issue.", + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ] + }, + "title": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the title.", + "type": "string" + } + }, + "required": [ + "from" + ] + } + } + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_use_squash_pr_title_as_default", + "patch": { + "properties": { + "use_squash_pr_title_as_default": null, + "template_repository": { + "properties": { + "use_squash_pr_title_as_default": null + } + } + } + }, + "version": "2026-03-10" + }, + { + "changeset": "deprecate_beta_media_type", + "patch": { + "properties": { + "master_branch": null + } + }, + "version": "2026-03-10" + } + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-field-added": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -1156403,7 +1166493,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1156420,24 +1166519,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -1156459,10 +1166540,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1156551,7 +1166628,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -1156607,7 +1166688,25 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] }, "node_id": { "type": "string" @@ -1156622,17 +1166721,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -1156697,7 +1166785,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1156732,10 +1166822,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1156823,7 +1166909,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1157081,7 +1167171,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -1157114,18 +1167215,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1157158,7 +1167247,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1158348,10 +1168449,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1158441,203 +1168538,197 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": [ - "object", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } }, "required": [ "login", "id" ] - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } } }, "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1160439,6 +1170530,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1160463,11 +1170555,11 @@ } } }, - "issues-edited": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -1160534,45 +1170626,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": [ - "from" - ] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": [ - "from" - ] - } - } - }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -1160898,6 +1170960,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1161288,9 +1171353,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1162866,6 +1172930,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1162933,10 +1173001,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1163072,47 +1173136,91 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": [ - "string", - "null" - ] - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" ] }, "organization": { @@ -1164915,8 +1175023,8 @@ }, "required": [ "action", - "changes", "issue", + "issue_field", "repository", "sender" ] 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 b60c938da2..2478f38fad 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 @@ -931,7 +931,7 @@ paths: - subscriptions_url - type - url - type: &314 + type: &316 type: string description: The type of credit the user is receiving. enum: @@ -1124,7 +1124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &638 + - &640 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1715,7 +1715,7 @@ paths: schema: type: integer default: 30 - - &204 + - &206 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1724,7 +1724,7 @@ paths: required: false schema: type: string - - &205 + - &207 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -1744,7 +1744,7 @@ paths: application/json: schema: type: array - items: &206 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1840,7 +1840,7 @@ paths: - installation_id - repository_id examples: - default: &207 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1975,7 +1975,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2110,7 +2110,7 @@ paths: - request - response examples: - default: &209 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -9960,7 +9960,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &473 + - &475 name: has in: query description: |- @@ -10090,7 +10090,7 @@ paths: - transitive - inconclusive - - security_advisory: &474 + security_advisory: &476 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -10384,7 +10384,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &475 + auto_dismissed_at: &477 type: - string - 'null' @@ -10392,7 +10392,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &476 + dismissal_request: &478 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10803,6 +10803,267 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an enterprise + description: |- + Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise + parameters: + - *38 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: &200 + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: &201 + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an enterprise + description: |- + Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise. + + The authenticated user must be an enterprise owner to use this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access + "/enterprises/{enterprise}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot in an enterprise + description: |- + Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + The authenticated user must be an enterprise owner to use this endpoint. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: dependabot + subcategory: repository-access "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -11819,7 +12080,7 @@ paths: properties: action: type: string - discussion: &728 + discussion: &730 title: Discussion description: A Discussion in a repository. type: object @@ -12320,7 +12581,7 @@ paths: milestone: anyOf: - type: 'null' - - &266 + - &268 title: Milestone description: A collection of related issues and pull requests. @@ -12492,7 +12753,7 @@ paths: timeline_url: type: string format: uri - type: &230 + type: &232 title: Issue Type description: The type of issue. type: @@ -12603,7 +12864,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &651 title: Sub-issues Summary type: object properties: @@ -12687,7 +12948,7 @@ paths: pin: anyOf: - type: 'null' - - &548 + - &550 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -12714,7 +12975,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &650 + issue_dependencies_summary: &652 title: Issue Dependencies Summary type: object properties: @@ -12733,7 +12994,7 @@ paths: - total_blocking issue_field_values: type: array - items: &532 + items: &534 title: Issue Field Value description: A value assigned to an issue field type: object @@ -13557,7 +13818,7 @@ paths: type: string release: allOf: - - &580 + - &582 title: Release description: A release. type: object @@ -13639,7 +13900,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &583 title: Release Asset description: Data related to a release. type: object @@ -14271,7 +14532,7 @@ paths: url: type: string format: uri - user: &656 + user: &658 title: Public User description: Public User type: object @@ -16175,7 +16436,7 @@ paths: - closed - all default: open - - &233 + - &235 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -16226,7 +16487,7 @@ paths: type: array items: *82 examples: - default: &234 + default: &236 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17638,14 +17899,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &325 + - &327 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &326 + - &328 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17707,7 +17968,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &329 + '301': &331 description: Moved permanently content: application/json: @@ -17729,7 +17990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &556 + - &558 name: all description: If `true`, show notifications marked as read. in: query @@ -17737,7 +17998,7 @@ paths: schema: type: boolean default: false - - &557 + - &559 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17747,7 +18008,7 @@ paths: type: boolean default: false - *87 - - &558 + - &560 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: @@ -18129,7 +18390,7 @@ paths: type: boolean examples: - false - security_and_analysis: &281 + security_and_analysis: &283 type: - object - 'null' @@ -18346,7 +18607,7 @@ paths: - url - subscription_url examples: - default: &559 + default: &561 value: - id: '1' repository: @@ -19650,7 +19911,7 @@ paths: required: false schema: type: string - - &705 + - &707 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -19796,7 +20057,7 @@ paths: parameters: - *74 - *116 - - &706 + - &708 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19908,7 +20169,7 @@ paths: - *116 - *118 - *117 - - &707 + - &709 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19916,7 +20177,7 @@ paths: schema: type: string - *119 - - &708 + - &710 name: sku description: The SKU to query for usage. in: query @@ -20923,7 +21184,7 @@ paths: type: integer repository_cache_usages: type: array - items: &336 + items: &338 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -22299,7 +22560,7 @@ paths: - all - local_only - selected - selected_actions_url: &342 + selected_actions_url: &344 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -22382,7 +22643,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &348 type: object properties: days: @@ -22424,7 +22685,7 @@ paths: required: true content: application/json: - schema: &347 + schema: &349 type: object properties: days: @@ -22481,7 +22742,7 @@ paths: required: - approval_policy examples: - default: &348 + default: &350 value: approval_policy: first_time_contributors '404': *6 @@ -22540,7 +22801,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -22594,7 +22855,7 @@ paths: required: true content: application/json: - schema: &350 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -23229,7 +23490,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: default_workflow_permissions: &146 @@ -23280,7 +23541,7 @@ paths: required: false content: application/json: - schema: &352 + schema: &354 type: object properties: default_workflow_permissions: *146 @@ -24420,7 +24681,7 @@ paths: application/json: schema: type: array - items: &353 + items: &355 title: Runner Application description: Runner Application type: object @@ -24445,7 +24706,7 @@ paths: - download_url - filename examples: - default: &354 + default: &356 value: - os: osx architecture: x64 @@ -24531,7 +24792,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &355 + '201': &357 description: Response content: application/json: @@ -24646,7 +24907,7 @@ paths: - token - expires_at examples: - default: &356 + default: &358 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -24685,7 +24946,7 @@ paths: application/json: schema: *157 examples: - default: &357 + default: &359 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -24719,7 +24980,7 @@ paths: application/json: schema: *155 examples: - default: &358 + default: &360 value: id: 23 name: MBP @@ -24945,7 +25206,7 @@ paths: - *74 - *154 responses: - '200': &359 + '200': &361 description: Response content: application/json: @@ -25002,7 +25263,7 @@ paths: parameters: - *74 - *154 - - &360 + - &362 name: name description: The name of a self-hosted runner's custom label. in: path @@ -25134,7 +25395,7 @@ paths: description: Response content: application/json: - schema: &372 + schema: &374 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -25169,7 +25430,7 @@ paths: - key_id - key examples: - default: &373 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25582,7 +25843,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *74 - - &341 + - &343 name: per_page description: The number of results per page (max 30). 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)." @@ -26815,12 +27076,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &689 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &690 value: subject_digests: - sha256:abc123 @@ -26879,7 +27140,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &691 value: attestations_subject_digests: - sha256:abc: @@ -27245,7 +27506,7 @@ paths: initiator: type: string examples: - default: &386 + default: &388 value: attestations: - bundle: @@ -27612,7 +27873,7 @@ paths: parent: anyOf: - type: 'null' - - &245 + - &247 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -28215,7 +28476,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &410 + - &412 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -28225,7 +28486,7 @@ paths: schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &413 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -28249,7 +28510,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &415 type: string description: State of a code scanning alert. enum: @@ -28272,7 +28533,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &416 type: string description: Severity of a code scanning alert. enum: @@ -28306,7 +28567,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: &415 + instances_url: &417 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -28328,7 +28589,7 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: &416 + dismissed_reason: &418 type: - string - 'null' @@ -28339,14 +28600,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &417 + dismissed_comment: &419 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &418 + rule: &420 type: object properties: id: @@ -28407,7 +28668,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &421 type: object properties: name: *178 @@ -28418,26 +28679,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *179 - most_recent_instance: &420 + most_recent_instance: &422 type: object properties: - ref: &412 + ref: &414 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &432 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &431 + environment: &433 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &432 + category: &434 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -28457,7 +28718,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &433 + location: &435 type: object description: Describe a region within a file for the alert. properties: @@ -28478,7 +28739,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &434 + items: &436 type: - string - 'null' @@ -29180,6 +29441,8 @@ paths: schema: type: object additionalProperties: false + required: + - selected_repository_ids properties: selected_repository_ids: type: array @@ -29777,7 +30040,7 @@ paths: type: integer codespaces: type: array - items: &235 + items: &237 type: object title: Codespace description: A codespace. @@ -29812,7 +30075,7 @@ paths: machine: anyOf: - type: 'null' - - &446 + - &448 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -30099,7 +30362,7 @@ paths: - pulls_url - recent_folders examples: - default: &236 + default: &238 value: total_count: 3 codespaces: @@ -30764,7 +31027,7 @@ paths: - updated_at - visibility examples: - default: &447 + default: &449 value: total_count: 2 secrets: @@ -30802,7 +31065,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -30837,7 +31100,7 @@ paths: - key_id - key examples: - default: &449 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30869,7 +31132,7 @@ paths: application/json: schema: *186 examples: - default: &451 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31336,7 +31599,7 @@ paths: currently being billed. seats: type: array - items: &238 + items: &240 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -32307,7 +32570,7 @@ paths: application/json: schema: type: array - items: &318 + items: &320 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -32622,7 +32885,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &321 value: - date: '2024-06-24' total_active_users: 24 @@ -32724,7 +32987,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &320 + '422': &322 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -33012,104 +33275,9 @@ paths: description: Response content: application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *65 - additionalProperties: false + schema: *200 examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + default: *201 '403': *27 '404': *6 x-github: @@ -33273,7 +33441,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &202 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33352,7 +33520,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &481 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33371,7 +33539,7 @@ paths: - key_id - key examples: - default: &480 + default: &482 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33401,7 +33569,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -33708,7 +33876,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Package description: A software package type: object @@ -33779,7 +33947,7 @@ paths: - created_at - updated_at examples: - default: &248 + default: &250 value: - id: 197 name: hello_docker @@ -33949,7 +34117,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -34003,7 +34171,7 @@ paths: - invitation_teams_url - node_id examples: - default: &225 + default: &227 value: - id: 1 login: monalisa @@ -34070,7 +34238,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Org Hook description: Org Hook type: object @@ -34255,9 +34423,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &202 + default: &204 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34305,7 +34473,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &203 + - &205 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -34318,9 +34486,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '404': *6 x-github: githubCloudOnly: false @@ -34348,7 +34516,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -34394,7 +34562,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -34436,7 +34604,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -34464,7 +34632,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 responses: '200': description: Response @@ -34495,7 +34663,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *203 + - *205 requestBody: required: false content: @@ -34546,10 +34714,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *203 - - *17 - - *204 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -34557,9 +34725,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -34585,16 +34753,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -34620,7 +34788,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *203 + - *205 - *16 responses: '202': *37 @@ -34650,7 +34818,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *203 + - *205 responses: '204': description: Response @@ -34673,7 +34841,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &214 + - &216 name: actor_type in: path description: The type of the actor @@ -34686,14 +34854,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &215 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &210 + - &212 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -34701,7 +34869,7 @@ paths: required: true schema: type: string - - &211 + - &213 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34796,12 +34964,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 - *19 - *17 - *60 - - &220 + - &222 name: sort description: The property to sort the results by. in: query @@ -34880,14 +35048,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &212 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34903,7 +35071,7 @@ paths: type: integer format: int64 examples: - default: &213 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34924,23 +35092,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &216 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *210 - - *211 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34959,18 +35127,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *210 - - *211 - - *214 - - *215 + - *212 + - *213 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -34988,9 +35156,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *210 - - *211 - - &217 + - *212 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35003,7 +35171,7 @@ paths: description: Response content: application/json: - schema: &218 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35019,7 +35187,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35056,18 +35224,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *216 - - *210 - - *211 - - *217 + - *218 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -35085,19 +35253,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *214 - - *215 - - *210 - - *211 + - *216 - *217 + - *212 + - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -35115,13 +35283,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *216 - - *210 - - *211 + - *218 + - *212 + - *213 - *19 - *17 - *60 - - *220 + - *222 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35205,7 +35373,7 @@ paths: application/json: schema: *20 examples: - default: &519 + default: &521 value: id: 1 account: @@ -35371,12 +35539,12 @@ paths: application/json: schema: anyOf: - - &222 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &221 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35404,7 +35572,7 @@ paths: properties: {} additionalProperties: false examples: - default: &223 + default: &225 value: limit: collaborators_only origin: organization @@ -35433,13 +35601,13 @@ paths: required: true content: application/json: - schema: &520 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *221 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35464,9 +35632,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -35542,9 +35710,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 '404': *6 @@ -35621,7 +35789,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -35676,7 +35844,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &226 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35707,7 +35875,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *226 + - *228 - *17 - *19 responses: @@ -35719,7 +35887,7 @@ paths: type: array items: *187 examples: - default: &246 + default: &248 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35762,7 +35930,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -36005,9 +36173,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &228 + default: &230 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -36063,7 +36231,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &229 + - &231 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -36173,9 +36341,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 '404': *6 '422': *7 x-github: @@ -36200,7 +36368,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *229 + - *231 responses: '204': *59 '404': *6 @@ -36230,7 +36398,7 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: default: value: @@ -36318,9 +36486,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: &231 + default: &233 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36353,7 +36521,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &232 + - &234 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36409,9 +36577,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '404': *6 '422': *7 x-github: @@ -36436,7 +36604,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *232 + - *234 responses: '204': description: Response @@ -36499,7 +36667,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: type description: Can be the name of an issue type. in: query @@ -36530,7 +36698,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -36695,9 +36863,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -36724,7 +36892,7 @@ paths: parameters: - *74 - *70 - - &237 + - &239 name: codespace_name in: path required: true @@ -36759,15 +36927,15 @@ paths: parameters: - *74 - *70 - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &445 + default: &447 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36947,7 +37115,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -37023,7 +37191,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &241 title: Org Membership description: Org Membership type: object @@ -37092,7 +37260,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &240 + response-if-user-has-an-active-admin-membership-with-organization: &242 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37193,9 +37361,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - response-if-user-already-had-membership-with-organization: *240 + response-if-user-already-had-membership-with-organization: *242 '422': *15 '403': *27 x-github: @@ -37273,7 +37441,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Migration description: A migration. type: object @@ -37622,7 +37790,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37801,7 +37969,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &242 + - &244 name: migration_id description: The unique identifier of the migration. in: path @@ -37829,7 +37997,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -37999,7 +38167,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '302': description: Response @@ -38021,7 +38189,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *242 + - *244 responses: '204': description: Response @@ -38045,8 +38213,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *242 - - &670 + - *244 + - &672 name: repo_name description: repo_name parameter in: path @@ -38074,7 +38242,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *242 + - *244 - *17 - *19 responses: @@ -38086,7 +38254,7 @@ paths: type: array items: *153 examples: - default: &253 + default: &255 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38259,7 +38427,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &244 + items: &246 title: Organization Role description: Organization roles type: object @@ -38436,7 +38604,7 @@ paths: parameters: - *74 - *76 - - &243 + - &245 name: role_id description: The unique identifier of the role. in: path @@ -38473,7 +38641,7 @@ paths: parameters: - *74 - *76 - - *243 + - *245 responses: '204': description: Response @@ -38526,7 +38694,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -38558,7 +38726,7 @@ paths: parameters: - *74 - *70 - - *243 + - *245 responses: '204': description: Response @@ -38587,13 +38755,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *243 + - *245 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -38644,7 +38812,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -38723,7 +38891,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 type: description: The ownership type of the team type: string @@ -38756,7 +38924,7 @@ paths: - type - parent examples: - default: *246 + default: *248 headers: Link: *66 '404': @@ -38786,7 +38954,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *243 + - *245 - *17 - *19 responses: @@ -38815,7 +38983,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *245 + items: *247 name: type: - string @@ -39125,7 +39293,7 @@ paths: - nuget - container - *74 - - &671 + - &673 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39161,12 +39329,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 '403': *27 '401': *23 - '400': &673 + '400': &675 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39188,7 +39356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &249 + - &251 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -39206,7 +39374,7 @@ paths: - docker - nuget - container - - &250 + - &252 name: package_name description: The name of the package. in: path @@ -39219,7 +39387,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *249 examples: default: value: @@ -39271,8 +39439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 responses: '204': @@ -39305,8 +39473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - name: token description: package token @@ -39339,8 +39507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - *19 - *17 @@ -39361,7 +39529,7 @@ paths: application/json: schema: type: array - items: &251 + items: &253 title: Package Version description: A version of a software package type: object @@ -39496,10 +39664,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *249 - - *250 + - *251 + - *252 - *74 - - &252 + - &254 name: package_version_id description: Unique identifier of the package version. in: path @@ -39511,7 +39679,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -39547,10 +39715,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -39582,10 +39750,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *249 - - *250 - - *74 + - *251 - *252 + - *74 + - *254 responses: '204': description: Response @@ -39615,7 +39783,7 @@ paths: - *74 - *17 - *19 - - &254 + - &256 name: sort description: The property by which to sort the results. in: query @@ -39626,7 +39794,7 @@ paths: - created_at default: created_at - *60 - - &255 + - &257 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39638,7 +39806,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &256 + - &258 name: repository description: The name of the repository to use to filter the results. in: query @@ -39647,7 +39815,7 @@ paths: type: string examples: - Hello-World - - &257 + - &259 name: permission description: The permission to use to filter the results. in: query @@ -39656,7 +39824,7 @@ paths: type: string examples: - issues_read - - &258 + - &260 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39666,7 +39834,7 @@ paths: schema: type: string format: date-time - - &259 + - &261 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39676,7 +39844,7 @@ paths: schema: type: string format: date-time - - &260 + - &262 name: token_id description: The ID of the token in: query @@ -39995,7 +40163,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -40021,14 +40189,14 @@ paths: - *74 - *17 - *19 - - *254 - - *60 - - *255 - *256 + - *60 - *257 - *258 - *259 - *260 + - *261 + - *262 responses: '500': *53 '422': *15 @@ -40312,7 +40480,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -40354,7 +40522,7 @@ paths: type: integer configurations: type: array - items: &261 + items: &263 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40831,7 +40999,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &262 + org-private-registry-with-selected-visibility: &264 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40929,9 +41097,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '404': *6 x-github: githubCloudOnly: false @@ -41172,7 +41340,7 @@ paths: application/json: schema: type: array - items: &263 + items: &265 title: Projects v2 Project description: A projects v2 project type: object @@ -41246,7 +41414,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &756 + - &758 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -41331,7 +41499,7 @@ paths: - deleted_at - deleted_by examples: - default: &264 + default: &266 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -41434,7 +41602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &265 + - &267 name: project_number description: The project's number. in: path @@ -41447,9 +41615,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -41472,7 +41640,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -41506,7 +41674,7 @@ paths: description: Response content: application/json: - schema: &270 + schema: &272 title: Projects v2 Item description: An item belonging to a project type: object @@ -41520,7 +41688,7 @@ paths: content: oneOf: - *82 - - &460 + - &462 title: Pull Request Simple description: Pull Request Simple type: object @@ -41640,7 +41808,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -41733,7 +41901,7 @@ paths: _links: type: object properties: - comments: &267 + comments: &269 title: Link description: Hypermedia Link type: object @@ -41742,13 +41910,13 @@ paths: type: string required: - href - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -41759,7 +41927,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &566 + auto_merge: &568 title: Auto merge description: The status of auto merging a pull request. type: @@ -41933,7 +42101,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &269 + content_type: &271 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -41977,7 +42145,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &271 + draft_issue: &273 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -42051,7 +42219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *265 + - *267 - *74 - *17 - *45 @@ -42063,7 +42231,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -42216,7 +42384,7 @@ paths: - updated_at - project_url examples: - default: &692 + default: &694 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -42346,7 +42514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *265 + - *267 - *74 requestBody: required: true @@ -42393,7 +42561,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &693 + items: &695 type: object properties: name: @@ -42430,7 +42598,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &694 + iteration_configuration: &696 type: object description: The configuration for iteration fields. properties: @@ -42480,7 +42648,7 @@ paths: value: name: Due date data_type: date - single_select_field: &695 + single_select_field: &697 summary: Create a single select field value: name: Priority @@ -42507,7 +42675,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &696 + iteration_field: &698 summary: Create an iteration field value: name: Sprint @@ -42531,9 +42699,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *268 + schema: *270 examples: - text_field: &697 + text_field: &699 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -42542,7 +42710,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &698 + number_field: &700 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -42551,7 +42719,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &699 + date_field: &701 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -42560,7 +42728,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &700 + single_select_field: &702 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -42594,7 +42762,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &701 + iteration_field: &703 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -42639,8 +42807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *265 - - &702 + - *267 + - &704 name: field_id description: The unique identifier of the field. in: path @@ -42653,9 +42821,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &703 + default: &705 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -42711,7 +42879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -42744,7 +42912,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Projects v2 Item description: An item belonging to a project type: object @@ -42761,7 +42929,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *269 + content_type: *271 content: type: - object @@ -42811,7 +42979,7 @@ paths: - updated_at - archived_at examples: - default: &273 + default: &275 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -43509,7 +43677,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -43579,22 +43747,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -43614,9 +43782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *265 + - *267 - *74 - - &274 + - &276 name: item_id description: The unique identifier of the project item. in: path @@ -43642,9 +43810,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -43665,9 +43833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -43740,13 +43908,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -43766,9 +43934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *265 + - *267 - *74 - - *274 + - *276 responses: '204': description: Response @@ -43792,7 +43960,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *265 + - *267 requestBody: required: true content: @@ -43866,7 +44034,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &684 + schema: &686 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -43970,7 +44138,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &275 + value: &277 value: id: 1 number: 1 @@ -44016,10 +44184,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -44047,9 +44215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *265 + - *267 - *74 - - &704 + - &706 name: view_number description: The number that identifies the project view. in: path @@ -44081,9 +44249,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -44116,7 +44284,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -44194,7 +44362,7 @@ paths: - property_name - value_type examples: - default: &277 + default: &279 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -44254,7 +44422,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *276 + items: *278 minItems: 1 maxItems: 100 required: @@ -44284,9 +44452,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *277 + default: *279 '403': *27 '404': *6 x-github: @@ -44308,7 +44476,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &278 + - &280 name: custom_property_name description: The custom property name in: path @@ -44320,9 +44488,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &279 + default: &281 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -44357,7 +44525,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 requestBody: required: true content: @@ -44437,9 +44605,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *279 + default: *281 '403': *27 '404': *6 x-github: @@ -44463,7 +44631,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *278 + - *280 responses: '204': *59 '403': *27 @@ -44527,7 +44695,7 @@ paths: - octocat/Hello-World properties: type: array - items: &280 + items: &282 title: Custom Property Value description: Custom property name and associated value type: object @@ -44617,7 +44785,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - repository_names - properties @@ -44809,7 +44977,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -45012,7 +45180,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &330 title: Full Repository description: Full Repository type: object @@ -45490,7 +45658,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &465 + code_of_conduct: &467 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -45520,7 +45688,7 @@ paths: - key - name - html_url - security_and_analysis: *281 + security_and_analysis: *283 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -45615,7 +45783,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &330 + default: &332 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -46148,7 +46316,7 @@ paths: - *74 - *17 - *19 - - &588 + - &590 name: targets description: | A comma-separated list of rule targets to filter by. @@ -46167,7 +46335,7 @@ paths: application/json: schema: type: array - items: &308 + items: &310 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -46202,7 +46370,7 @@ paths: source: type: string description: The name of the source - enforcement: &284 + enforcement: &286 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -46215,7 +46383,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &285 + items: &287 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -46286,7 +46454,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &282 + - &284 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -46310,7 +46478,7 @@ paths: match. items: type: string - - &286 + - &288 title: Organization ruleset conditions type: object description: |- @@ -46324,7 +46492,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -46358,7 +46526,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -46380,7 +46548,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *282 + - *284 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -46393,7 +46561,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &283 + items: &285 title: Repository ruleset property targeting definition type: object @@ -46426,7 +46594,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *283 + items: *285 required: - repository_property type: @@ -46434,12 +46602,12 @@ paths: - object rules: type: array - items: &589 + items: &591 title: Repository Rule type: object description: A repository rule. oneOf: - - &287 + - &289 title: creation description: Only allow users with bypass permission to create matching refs. @@ -46451,7 +46619,7 @@ paths: type: string enum: - creation - - &288 + - &290 title: update description: Only allow users with bypass permission to update matching refs. @@ -46472,7 +46640,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &289 + - &291 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -46484,7 +46652,7 @@ paths: type: string enum: - deletion - - &290 + - &292 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -46496,7 +46664,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &589 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -46574,7 +46742,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &291 + - &293 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -46598,7 +46766,7 @@ paths: type: string required: - required_deployment_environments - - &292 + - &294 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -46610,7 +46778,7 @@ paths: type: string enum: - required_signatures - - &293 + - &295 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -46716,7 +46884,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &294 + - &296 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -46764,7 +46932,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &295 + - &297 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -46776,7 +46944,7 @@ paths: type: string enum: - non_fast_forward - - &296 + - &298 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -46813,7 +46981,7 @@ paths: required: - operator - pattern - - &297 + - &299 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -46850,7 +47018,7 @@ paths: required: - operator - pattern - - &298 + - &300 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -46887,7 +47055,7 @@ paths: required: - operator - pattern - - &299 + - &301 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -46924,7 +47092,7 @@ paths: required: - operator - pattern - - &300 + - &302 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -46961,7 +47129,7 @@ paths: required: - operator - pattern - - &301 + - &303 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -46986,7 +47154,7 @@ paths: type: string required: - restricted_file_paths - - &302 + - &304 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -47010,7 +47178,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &303 + - &305 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -47033,7 +47201,7 @@ paths: type: string required: - restricted_file_extensions - - &304 + - &306 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -47058,7 +47226,7 @@ paths: maximum: 100 required: - max_file_size - - &305 + - &307 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -47108,7 +47276,7 @@ paths: - repository_id required: - workflows - - &306 + - &308 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -47169,7 +47337,7 @@ paths: - tool required: - code_scanning_tools - - &307 + - &309 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -47268,22 +47436,20 @@ paths: - push - repository default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: type: array description: An array of rules within the ruleset. - items: &310 + items: &312 title: Repository Rule type: object description: A repository rule. oneOf: - - *287 - - *288 - *289 - *290 - *291 @@ -47303,6 +47469,8 @@ paths: - *305 - *306 - *307 + - *308 + - *309 required: - name - enforcement @@ -47340,9 +47508,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &309 + default: &311 value: id: 21 name: super cool ruleset @@ -47398,7 +47566,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &590 + - &592 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 @@ -47413,7 +47581,7 @@ paths: in: query schema: type: string - - &591 + - &593 name: time_period description: |- The time period to filter by. @@ -47429,14 +47597,14 @@ paths: - week - month default: day - - &592 + - &594 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 - - &593 + - &595 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -47456,7 +47624,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 title: Rule Suites description: Response type: array @@ -47512,7 +47680,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &597 value: - id: 21 actor_id: 12 @@ -47556,7 +47724,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &596 + - &598 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -47572,7 +47740,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &599 title: Rule Suite description: Response type: object @@ -47679,7 +47847,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &600 value: id: 21 actor_id: 12 @@ -47752,9 +47920,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '500': *53 put: @@ -47798,16 +47966,16 @@ paths: - tag - push - repository - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *286 + items: *287 + conditions: *288 rules: description: An array of rules within the ruleset. type: array - items: *310 + items: *312 examples: default: value: @@ -47842,9 +48010,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *309 + default: *311 '404': *6 '422': *15 '500': *53 @@ -47902,7 +48070,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Ruleset version type: object description: The historical version of a ruleset @@ -47926,7 +48094,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &602 value: - version_id: 3 actor: @@ -47979,9 +48147,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &603 allOf: - - *311 + - *313 - type: object required: - state @@ -48051,7 +48219,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &602 + - &604 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -48062,7 +48230,7 @@ paths: enum: - open - resolved - - &603 + - &605 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -48072,7 +48240,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -48083,7 +48251,7 @@ paths: required: false schema: type: string - - &605 + - &607 name: exclude_providers in: query description: |- @@ -48094,7 +48262,7 @@ paths: required: false schema: type: string - - &606 + - &608 name: providers in: query description: |- @@ -48105,7 +48273,7 @@ paths: required: false schema: type: string - - &607 + - &609 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -48114,7 +48282,7 @@ paths: required: false schema: type: string - - &608 + - &610 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -48133,7 +48301,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &609 + - &611 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -48148,7 +48316,7 @@ paths: - *60 - *19 - *17 - - &610 + - &612 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 @@ -48158,7 +48326,7 @@ paths: required: false schema: type: string - - &611 + - &613 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 @@ -48168,7 +48336,7 @@ paths: required: false schema: type: string - - &612 + - &614 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -48177,7 +48345,7 @@ paths: required: false schema: type: string - - &613 + - &615 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -48186,7 +48354,7 @@ paths: schema: type: boolean default: false - - &614 + - &616 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -48195,7 +48363,7 @@ paths: schema: type: boolean default: false - - &615 + - &617 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -48227,14 +48395,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &616 + state: &618 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: &617 + resolution: &619 type: - string - 'null' @@ -48353,14 +48521,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &618 + - &620 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &620 + - &622 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -48424,7 +48592,7 @@ paths: - blob_url - commit_sha - commit_url - - &621 + - &623 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -48485,7 +48653,7 @@ paths: - page_url - commit_sha - commit_url - - &622 + - &624 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -48507,7 +48675,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &623 + - &625 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -48529,7 +48697,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &624 + - &626 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -48551,7 +48719,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &625 + - &627 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -48566,7 +48734,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &626 + - &628 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -48581,7 +48749,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &627 + - &629 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -48596,7 +48764,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &628 + - &630 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -48618,7 +48786,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &629 + - &631 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -48640,7 +48808,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &630 + - &632 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -48662,7 +48830,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &631 + - &633 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -48684,7 +48852,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &632 + - &634 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -48945,7 +49113,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &313 + pattern_config_version: &315 type: - string - 'null' @@ -48955,7 +49123,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &312 + items: &314 type: object properties: token_type: @@ -49024,7 +49192,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *312 + items: *314 examples: default: value: @@ -49081,7 +49249,7 @@ paths: schema: type: object properties: - pattern_config_version: *313 + pattern_config_version: *315 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -49107,7 +49275,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *313 + custom_pattern_version: *315 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -49205,7 +49373,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 description: A repository security advisory. type: object properties: @@ -49449,7 +49617,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 credits_detailed: type: - array @@ -49460,7 +49628,7 @@ paths: type: object properties: user: *4 - type: *314 + type: *316 state: type: string description: The state of the user's acceptance of the @@ -49556,7 +49724,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &637 + default: &639 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -49943,7 +50111,7 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: value: @@ -50298,7 +50466,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &317 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -50451,9 +50619,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: &316 + default: &318 value: id: 123456789ABCDEF name: My network configuration @@ -50482,7 +50650,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &317 + - &319 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -50494,9 +50662,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 headers: Link: *66 x-github: @@ -50518,7 +50686,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *317 + - *319 requestBody: required: true content: @@ -50571,9 +50739,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *316 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50593,7 +50761,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *317 + - *319 responses: '204': description: Response @@ -50738,13 +50906,13 @@ paths: application/json: schema: type: array - items: *318 + items: *320 examples: - default: *319 + default: *321 '500': *53 '403': *27 '404': *6 - '422': *320 + '422': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50786,7 +50954,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '403': *27 @@ -50880,7 +51048,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &323 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -50954,7 +51122,7 @@ paths: parent: anyOf: - type: 'null' - - *245 + - *247 members_count: type: integer examples: @@ -51279,7 +51447,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &324 value: id: 1 node_id: MDQ6VGVhbTE= @@ -51367,9 +51535,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -51454,16 +51622,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -51493,7 +51661,7 @@ paths: responses: '204': description: Response - '422': &323 + '422': &325 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -51527,12 +51695,12 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 - '422': *323 + '422': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51614,7 +51782,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Team Membership description: Team Membership type: object @@ -51642,7 +51810,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &652 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -51705,9 +51873,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: &653 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -51783,7 +51951,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -51814,14 +51982,14 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &654 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -52549,8 +52717,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -52597,8 +52765,8 @@ paths: parameters: - *74 - *76 - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -52635,7 +52803,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: &655 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -52789,7 +52957,7 @@ paths: resources: type: object properties: - core: &327 + core: &329 title: Rate Limit type: object properties: @@ -52806,21 +52974,21 @@ paths: - remaining - reset - used - graphql: *327 - search: *327 - code_search: *327 - source_import: *327 - integration_manifest: *327 - code_scanning_upload: *327 - actions_runner_registration: *327 - scim: *327 - dependency_snapshots: *327 - dependency_sbom: *327 - code_scanning_autofix: *327 + graphql: *329 + search: *329 + code_search: *329 + source_import: *329 + integration_manifest: *329 + code_scanning_upload: *329 + actions_runner_registration: *329 + scim: *329 + dependency_snapshots: *329 + dependency_sbom: *329 + code_scanning_autofix: *329 required: - core - search - rate: *327 + rate: *329 required: - rate - resources @@ -52939,14 +53107,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *328 + schema: *330 examples: default-response: summary: Default response @@ -53457,7 +53625,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53475,8 +53643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -53775,10 +53943,10 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 - '307': &331 + default: *332 + '307': &333 description: Temporary Redirect content: application/json: @@ -53807,8 +53975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -53830,7 +53998,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *331 + '307': *333 '404': *6 '409': *52 x-github: @@ -53854,11 +54022,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &364 + - &366 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -53881,7 +54049,7 @@ paths: type: integer artifacts: type: array - items: &332 + items: &334 title: Artifact description: An artifact type: object @@ -53976,7 +54144,7 @@ paths: - expires_at - updated_at examples: - default: &365 + default: &367 value: total_count: 2 artifacts: @@ -54037,9 +54205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *325 - - *326 - - &333 + - *327 + - *328 + - &335 name: artifact_id description: The unique identifier of the artifact. in: path @@ -54051,7 +54219,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: default: value: @@ -54089,9 +54257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 responses: '204': description: Response @@ -54115,9 +54283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *325 - - *326 - - *333 + - *327 + - *328 + - *335 - name: archive_format in: path required: true @@ -54127,11 +54295,11 @@ paths: '302': description: Response headers: - Location: &482 + Location: &484 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &523 + '410': &525 description: Gone content: application/json: @@ -54156,14 +54324,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &334 + schema: &336 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -54197,13 +54365,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *334 + schema: *336 examples: selected_actions: *40 responses: @@ -54232,14 +54400,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &335 + schema: &337 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -54273,13 +54441,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: selected_actions: *42 responses: @@ -54310,14 +54478,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -54343,11 +54511,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - - &337 + - &339 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -54381,7 +54549,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 title: Repository actions caches description: Repository actions caches type: object @@ -54431,7 +54599,7 @@ paths: - total_count - actions_caches examples: - default: &339 + default: &341 value: total_count: 1 actions_caches: @@ -54463,23 +54631,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *325 - - *326 + - *327 + - *328 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *337 + - *339 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54499,8 +54667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *325 - - *326 + - *327 + - *328 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -54531,9 +54699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *325 - - *326 - - &340 + - *327 + - *328 + - &342 name: job_id description: The unique identifier of the job. in: path @@ -54545,7 +54713,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: Job description: Information of a job execution in a workflow run type: object @@ -54892,9 +55060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 responses: '302': description: Response @@ -54922,9 +55090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *325 - - *326 - - *340 + - *327 + - *328 + - *342 requestBody: required: false content: @@ -54970,8 +55138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Status response @@ -55021,8 +55189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -55085,8 +55253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -55104,7 +55272,7 @@ paths: type: integer secrets: type: array - items: &370 + items: &372 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -55125,7 +55293,7 @@ paths: - created_at - updated_at examples: - default: &371 + default: &373 value: total_count: 2 secrets: @@ -55158,9 +55326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -55177,7 +55345,7 @@ paths: type: integer variables: type: array - items: &374 + items: &376 title: Actions Variable type: object properties: @@ -55211,7 +55379,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: total_count: 2 variables: @@ -55244,8 +55412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55254,11 +55422,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *342 + selected_actions_url: *344 sha_pinning_required: *139 required: - enabled @@ -55287,8 +55455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -55299,7 +55467,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *345 allowed_actions: *138 sha_pinning_required: *139 required: @@ -55331,14 +55499,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &344 + schema: &346 type: object properties: access_level: @@ -55355,7 +55523,7 @@ paths: required: - access_level examples: - default: &345 + default: &347 value: access_level: organization x-github: @@ -55379,15 +55547,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 responses: '204': description: Response @@ -55411,14 +55579,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -55442,8 +55610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Empty response for successful settings update @@ -55453,7 +55621,7 @@ paths: required: true content: application/json: - schema: *347 + schema: *349 examples: default: summary: Set retention days @@ -55477,8 +55645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55486,7 +55654,7 @@ paths: application/json: schema: *140 examples: - default: *348 + default: *350 '404': *6 x-github: enabledForGitHubApps: true @@ -55505,8 +55673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -55540,14 +55708,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: *141 '403': *27 @@ -55569,13 +55737,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *350 + schema: *352 examples: default: *141 responses: @@ -55601,8 +55769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55629,8 +55797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -55662,14 +55830,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: *148 x-github: @@ -55692,8 +55860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Success response @@ -55704,7 +55872,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *354 examples: default: *148 x-github: @@ -55733,8 +55901,8 @@ paths: in: query schema: type: string - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -55778,8 +55946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -55787,9 +55955,9 @@ paths: application/json: schema: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55811,8 +55979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -55855,7 +56023,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *355 + '201': *357 '404': *6 '422': *7 '409': *52 @@ -55886,8 +56054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -55895,7 +56063,7 @@ paths: application/json: schema: *157 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55923,8 +56091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -55932,7 +56100,7 @@ paths: application/json: schema: *157 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55954,8 +56122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': @@ -55964,7 +56132,7 @@ paths: application/json: schema: *155 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55985,8 +56153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '204': @@ -56013,8 +56181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: '200': *159 @@ -56039,8 +56207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -56089,8 +56257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 requestBody: required: true @@ -56140,11 +56308,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 responses: - '200': *359 + '200': *361 '404': *6 x-github: githubCloudOnly: false @@ -56171,10 +56339,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *154 - - *360 + - *362 responses: '200': *159 '404': *6 @@ -56202,9 +56370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *325 - - *326 - - &378 + - *327 + - *328 + - &380 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -56212,7 +56380,7 @@ paths: required: false schema: type: string - - &379 + - &381 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -56220,7 +56388,7 @@ paths: required: false schema: type: string - - &380 + - &382 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -56229,7 +56397,7 @@ paths: required: false schema: type: string - - &381 + - &383 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -56256,7 +56424,7 @@ paths: - pending - *17 - *19 - - &382 + - &384 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -56265,7 +56433,7 @@ paths: schema: type: string format: date-time - - &361 + - &363 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -56274,13 +56442,13 @@ paths: schema: type: boolean default: false - - &383 + - &385 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &384 + - &386 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -56303,7 +56471,7 @@ paths: type: integer workflow_runs: type: array - items: &362 + items: &364 title: Workflow Run description: An invocation of a workflow type: object @@ -56481,7 +56649,7 @@ paths: head_commit: anyOf: - type: 'null' - - &406 + - &408 title: Simple Commit description: A commit. type: object @@ -56596,7 +56764,7 @@ paths: - workflow_url - pull_requests examples: - default: &385 + default: &387 value: total_count: 1 workflow_runs: @@ -56832,24 +57000,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *325 - - *326 - - &363 + - *327 + - *328 + - &365 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: &366 + default: &368 value: id: 30433642 name: Build @@ -57090,9 +57258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -57115,9 +57283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -57245,9 +57413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '201': description: Response @@ -57280,12 +57448,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - *17 - *19 - - *364 + - *366 - *60 responses: '200': @@ -57302,9 +57470,9 @@ paths: type: integer artifacts: type: array - items: *332 + items: *334 examples: - default: *365 + default: *367 headers: Link: *66 x-github: @@ -57328,25 +57496,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - &367 + - *327 + - *328 + - *365 + - &369 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *361 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57369,10 +57537,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 - *17 - *19 responses: @@ -57390,9 +57558,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: &369 + default: &371 value: total_count: 1 jobs: @@ -57505,10 +57673,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *325 - - *326 - - *363 - - *367 + - *327 + - *328 + - *365 + - *369 responses: '302': description: Response @@ -57536,9 +57704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -57571,9 +57739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -57640,9 +57808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '202': description: Response @@ -57675,9 +57843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -57707,9 +57875,9 @@ paths: type: integer jobs: type: array - items: *368 + items: *370 examples: - default: *369 + default: *371 headers: Link: *66 x-github: @@ -57734,9 +57902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '302': description: Response @@ -57763,9 +57931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '204': description: Response @@ -57792,9 +57960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -57863,7 +58031,7 @@ paths: items: type: object properties: - type: &489 + type: &491 type: string description: The type of reviewer. enum: @@ -57949,9 +58117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: true content: @@ -58001,7 +58169,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -58113,7 +58281,7 @@ paths: - created_at - updated_at examples: - default: &485 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -58169,9 +58337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -58216,9 +58384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 requestBody: required: false content: @@ -58272,9 +58440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *325 - - *326 - - *363 + - *327 + - *328 + - *365 responses: '200': description: Response @@ -58411,8 +58579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -58430,9 +58598,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -58457,16 +58625,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58488,17 +58656,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: &502 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -58524,8 +58692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -58583,8 +58751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -58610,9 +58778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *325 - - *326 - - *341 + - *327 + - *328 + - *343 - *19 responses: '200': @@ -58629,9 +58797,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -58654,8 +58822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -58707,17 +58875,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &503 + default: &505 value: name: USERNAME value: octocat @@ -58743,8 +58911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 requestBody: required: true @@ -58787,8 +58955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 responses: '204': @@ -58814,8 +58982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -58833,7 +59001,7 @@ paths: type: integer workflows: type: array - items: &376 + items: &378 title: Workflow description: A GitHub Actions workflow type: object @@ -58951,9 +59119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *325 - - *326 - - &377 + - *327 + - *328 + - &379 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -58968,7 +59136,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -59001,9 +59169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -59028,9 +59196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -59125,9 +59293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '204': description: Response @@ -59154,19 +59322,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *325 - - *326 - - *377 - - *378 + - *327 + - *328 - *379 - *380 - *381 - - *17 - - *19 - *382 - - *361 - *383 + - *17 + - *19 - *384 + - *363 + - *385 + - *386 responses: '200': description: Response @@ -59182,9 +59350,9 @@ paths: type: integer workflow_runs: type: array - items: *362 + items: *364 examples: - default: *385 + default: *387 headers: Link: *66 x-github: @@ -59216,9 +59384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *325 - - *326 - - *377 + - *327 + - *328 + - *379 responses: '200': description: Response @@ -59279,8 +59447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *325 - - *326 + - *327 + - *328 - *60 - *17 - *45 @@ -59448,8 +59616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -59486,8 +59654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *325 - - *326 + - *327 + - *328 - name: assignee in: path required: true @@ -59523,8 +59691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -59634,8 +59802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *45 - *46 @@ -59692,7 +59860,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59726,8 +59894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -59735,7 +59903,7 @@ paths: application/json: schema: type: array - items: &387 + items: &389 title: Autolink reference description: An autolink reference. type: object @@ -59794,8 +59962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -59834,9 +60002,9 @@ paths: description: response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 1 key_prefix: TICKET- @@ -59867,9 +60035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *325 - - *326 - - &389 + - *327 + - *328 + - &391 name: autolink_id description: The unique identifier of the autolink. in: path @@ -59881,9 +60049,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 x-github: githubCloudOnly: false @@ -59903,9 +60071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *325 - - *326 - - *389 + - *327 + - *328 + - *391 responses: '204': description: Response @@ -59929,8 +60097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if Dependabot is enabled @@ -59980,8 +60148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -60002,8 +60170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -60023,8 +60191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *325 - - *326 + - *327 + - *328 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -60062,7 +60230,7 @@ paths: - url protected: type: boolean - protection: &391 + protection: &393 title: Branch Protection description: Branch Protection type: object @@ -60105,7 +60273,7 @@ paths: required: - contexts - checks - enforce_admins: &394 + enforce_admins: &396 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -60122,7 +60290,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &396 + required_pull_request_reviews: &398 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -60206,7 +60374,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &393 + restrictions: &395 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -60499,9 +60667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *325 - - *326 - - &392 + - *327 + - *328 + - &394 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -60515,14 +60683,14 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &458 title: Commit description: Commit type: object @@ -60561,7 +60729,7 @@ paths: author: anyOf: - type: 'null' - - &390 + - &392 title: Git User description: Metaproperties for Git author/committer information. @@ -60583,7 +60751,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 message: type: string examples: @@ -60607,7 +60775,7 @@ paths: required: - sha - url - verification: &509 + verification: &511 title: Verification type: object properties: @@ -60687,7 +60855,7 @@ paths: type: integer files: type: array - items: &467 + items: &469 title: Diff Entry description: Diff Entry type: object @@ -60783,7 +60951,7 @@ paths: - self protected: type: boolean - protection: *391 + protection: *393 protection_url: type: string format: uri @@ -60892,7 +61060,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *329 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -60914,15 +61082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -61116,9 +61284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -61378,7 +61546,7 @@ paths: url: type: string format: uri - required_status_checks: &399 + required_status_checks: &401 title: Status Check Policy description: Status Check Policy type: object @@ -61537,7 +61705,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *393 + restrictions: *395 required_conversation_resolution: type: object properties: @@ -61649,9 +61817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61676,17 +61844,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &395 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -61708,17 +61876,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61737,9 +61905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -61764,17 +61932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: &397 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -61870,9 +62038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -61970,9 +62138,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *397 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -61993,9 +62161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -62022,17 +62190,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: &398 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -62055,17 +62223,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *398 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -62085,9 +62253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -62112,17 +62280,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -62148,9 +62316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62202,9 +62370,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 '422': *15 x-github: @@ -62226,9 +62394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -62252,9 +62420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62288,9 +62456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62357,9 +62525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62423,9 +62591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -62491,15 +62659,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response content: application/json: - schema: *393 + schema: *395 examples: default: value: @@ -62590,9 +62758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '204': description: Response @@ -62615,9 +62783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62627,7 +62795,7 @@ paths: type: array items: *5 examples: - default: &401 + default: &403 value: - id: 1 slug: octoapp @@ -62684,9 +62852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62720,7 +62888,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62741,9 +62909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62777,7 +62945,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62798,9 +62966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -62834,7 +63002,7 @@ paths: type: array items: *5 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -62856,9 +63024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -62868,7 +63036,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -62888,9 +63056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62928,7 +63096,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -62949,9 +63117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: false content: @@ -62989,7 +63157,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -63010,9 +63178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: content: application/json: @@ -63049,7 +63217,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -63071,9 +63239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 responses: '200': description: Response @@ -63107,9 +63275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -63167,9 +63335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -63227,9 +63395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -63289,9 +63457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 requestBody: required: true content: @@ -63313,7 +63481,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -63429,8 +63597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -63709,7 +63877,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &405 title: CheckRun description: A check performed on the code of a given code change type: object @@ -63845,7 +64013,7 @@ paths: check. type: array items: *85 - deployment: &717 + deployment: &719 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -64132,9 +64300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *325 - - *326 - - &404 + - *327 + - *328 + - &406 name: check_run_id description: The unique identifier of the check run. in: path @@ -64146,9 +64314,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &405 + default: &407 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -64248,9 +64416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 requestBody: required: true content: @@ -64490,9 +64658,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64512,9 +64680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 - *17 - *19 responses: @@ -64624,9 +64792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *325 - - *326 - - *404 + - *327 + - *328 + - *406 responses: '201': description: Response @@ -64670,8 +64838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -64693,7 +64861,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &409 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -64791,7 +64959,7 @@ paths: - string - 'null' format: date-time - head_commit: *406 + head_commit: *408 latest_check_runs_count: type: integer check_runs_url: @@ -64819,7 +64987,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &410 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -65110,9 +65278,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65131,8 +65299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -65441,9 +65609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *325 - - *326 - - &409 + - *327 + - *328 + - &411 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -65455,9 +65623,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65480,17 +65648,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *325 - - *326 - - *409 - - &462 + - *327 + - *328 + - *411 + - &464 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &465 name: status description: Returns check runs with the specified `status`. in: query @@ -65529,9 +65697,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: &464 + default: &466 value: total_count: 1 check_runs: @@ -65633,9 +65801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *325 - - *326 - - *409 + - *327 + - *328 + - *411 responses: '201': description: Response @@ -65668,21 +65836,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - &428 + - &430 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *412 - - &429 + schema: *414 + - &431 name: pr description: The number of the pull request for the results you want to list. in: query @@ -65707,13 +65875,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *415 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *416 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -65737,7 +65905,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -65745,11 +65913,11 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *418 + dismissed_comment: *419 + rule: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -65872,7 +66040,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &421 + '403': &423 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -65899,9 +66067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *325 - - *326 - - &422 + - *327 + - *328 + - &424 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -65915,7 +66083,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &425 type: object properties: number: *171 @@ -65923,7 +66091,7 @@ paths: updated_at: *173 url: *174 html_url: *175 - instances_url: *415 + instances_url: *417 state: *180 fixed_at: *176 dismissed_by: @@ -65931,8 +66099,8 @@ paths: - type: 'null' - *4 dismissed_at: *177 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 rule: type: object properties: @@ -65994,8 +66162,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *421 + most_recent_instance: *422 dismissal_approved_by: anyOf: - type: 'null' @@ -66091,7 +66259,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66111,9 +66279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -66128,8 +66296,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *418 + dismissed_comment: *419 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -66157,7 +66325,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: default: value: @@ -66233,7 +66401,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &429 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -66260,15 +66428,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: Response content: application/json: - schema: &424 + schema: &426 type: object properties: status: @@ -66295,13 +66463,13 @@ paths: - description - started_at examples: - default: &425 + default: &427 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &428 description: Bad Request content: application/json: @@ -66312,7 +66480,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66337,29 +66505,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 responses: '200': description: OK content: application/json: - schema: *424 + schema: *426 examples: - default: *425 + default: *427 '202': description: Accepted content: application/json: - schema: *424 + schema: *426 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *428 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -66391,9 +66559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: false content: @@ -66439,8 +66607,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *428 + '403': *429 '404': *6 '422': description: Unprocessable Entity @@ -66464,13 +66632,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 - - *428 - - *429 + - *430 + - *431 responses: '200': description: Response @@ -66481,10 +66649,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *414 + analysis_key: *432 + environment: *433 + category: *434 state: type: - string @@ -66501,7 +66669,7 @@ paths: properties: text: type: string - location: *433 + location: *435 html_url: type: string classifications: @@ -66509,7 +66677,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *434 + items: *436 examples: default: value: @@ -66546,7 +66714,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66580,25 +66748,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *325 - - *326 - - *410 - - *411 + - *327 + - *328 + - *412 + - *413 - *19 - *17 - - *429 + - *431 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *412 + schema: *414 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &437 type: string description: An identifier for the upload. examples: @@ -66620,23 +66788,23 @@ paths: application/json: schema: type: array - items: &436 + items: &438 type: object properties: - ref: *412 - commit_sha: &444 + ref: *414 + commit_sha: &446 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *430 + analysis_key: *432 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *434 error: type: string examples: @@ -66661,8 +66829,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *437 + tool: *421 deletable: type: boolean warning: @@ -66724,7 +66892,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -66760,8 +66928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66774,7 +66942,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: response: summary: application/json response @@ -66828,7 +66996,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *423 '404': *6 '422': description: Response if analysis could not be processed @@ -66915,8 +67083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66972,7 +67140,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -66994,8 +67162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -67003,7 +67171,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: CodeQL Database description: A CodeQL database. type: object @@ -67115,7 +67283,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -67144,8 +67312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -67157,7 +67325,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: default: value: @@ -67189,9 +67357,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &471 + '302': &473 description: Found - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -67213,8 +67381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *325 - - *326 + - *327 + - *328 - name: language in: path description: The language of the CodeQL database. @@ -67224,7 +67392,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *429 '404': *6 '503': *114 x-github: @@ -67252,8 +67420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -67262,7 +67430,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &440 type: string description: The language targeted by the CodeQL query enum: @@ -67342,7 +67510,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &444 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -67352,7 +67520,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *438 + query_language: *440 query_pack_url: type: string description: The download url for the query pack. @@ -67400,7 +67568,7 @@ paths: items: type: object properties: - repository: &439 + repository: &441 title: Repository Identifier description: Repository Identifier type: object @@ -67442,7 +67610,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &445 type: string description: The new status of the CodeQL variant analysis repository task. @@ -67474,7 +67642,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &442 type: object properties: repository_count: @@ -67489,7 +67657,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *439 + items: *441 required: - repository_count - repositories @@ -67512,8 +67680,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *442 + over_limit_repos: *442 required: - access_mismatch_repos - not_found_repos @@ -67529,7 +67697,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &443 summary: Default response value: id: 1 @@ -67675,10 +67843,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *443 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *443 '404': *6 '422': description: Unable to process variant analysis submission @@ -67706,8 +67874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *325 - - *326 + - *327 + - *328 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -67719,9 +67887,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *441 + default: *443 '404': *6 '503': *114 x-github: @@ -67744,7 +67912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *325 + - *327 - name: repo in: path description: The name of the controller repository. @@ -67779,7 +67947,7 @@ paths: type: object properties: repository: *65 - analysis_status: *443 + analysis_status: *445 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -67904,8 +68072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -68015,7 +68183,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *423 '404': *6 '503': *114 x-github: @@ -68036,8 +68204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -68131,7 +68299,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *429 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -68202,8 +68370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -68211,7 +68379,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *446 ref: type: string description: |- @@ -68271,7 +68439,7 @@ paths: schema: type: object properties: - id: *435 + id: *437 url: type: string description: The REST API URL for checking the status of the upload. @@ -68285,7 +68453,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *427 + '403': *429 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -68308,8 +68476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *325 - - *326 + - *327 + - *328 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -68357,7 +68525,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *421 + '403': *423 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -68382,8 +68550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -68464,8 +68632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -68593,8 +68761,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -68610,7 +68778,7 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: default: value: @@ -68908,8 +69076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -68973,17 +69141,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '400': *14 '401': *23 '403': *27 @@ -69012,8 +69180,8 @@ paths: parameters: - *17 - *19 - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -69077,8 +69245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -69115,9 +69283,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: &661 + default: &663 value: total_count: 2 machines: @@ -69157,8 +69325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -69245,8 +69413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -69315,8 +69483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -69334,7 +69502,7 @@ paths: type: integer secrets: type: array - items: &450 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -69355,7 +69523,7 @@ paths: - created_at - updated_at examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -69378,16 +69546,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -69407,17 +69575,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69437,8 +69605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -69491,8 +69659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -69521,8 +69689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *325 - - *326 + - *327 + - *328 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -69560,7 +69728,7 @@ paths: application/json: schema: type: array - items: &452 + items: &454 title: Collaborator description: Collaborator type: object @@ -69753,8 +69921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -69801,8 +69969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 requestBody: required: false @@ -69829,7 +69997,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &522 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -70057,8 +70225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '204': @@ -70090,8 +70258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *325 - - *326 + - *327 + - *328 - *70 responses: '200': @@ -70112,7 +70280,7 @@ paths: user: anyOf: - type: 'null' - - *452 + - *454 required: - permission - role_name @@ -70166,8 +70334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -70177,7 +70345,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Commit Comment description: Commit Comment type: object @@ -70235,7 +70403,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &460 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70294,17 +70462,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: &459 + default: &461 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70361,8 +70529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -70385,7 +70553,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -70436,8 +70604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -70459,8 +70627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -70487,7 +70655,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -70531,7 +70699,7 @@ paths: - content - created_at examples: - default: &525 + default: &527 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -70576,8 +70744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -70610,9 +70778,9 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -70641,9 +70809,9 @@ paths: description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -70665,10 +70833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - &526 + - &528 name: reaction_id description: The unique identifier of the reaction. in: path @@ -70723,8 +70891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -70780,9 +70948,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: &573 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70876,9 +71044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *325 - - *326 - - &457 + - *327 + - *328 + - &459 name: commit_sha description: The SHA of the commit. in: path @@ -70950,9 +71118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -70962,9 +71130,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *458 + default: *460 headers: Link: *66 x-github: @@ -70992,9 +71160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 requestBody: required: true content: @@ -71029,9 +71197,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *459 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -71059,9 +71227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 - *17 - *19 responses: @@ -71071,9 +71239,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &565 + default: &567 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -71610,11 +71778,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - - &461 + - &463 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -71629,9 +71797,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &553 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -71719,7 +71887,7 @@ paths: schema: type: string examples: - default: &468 + default: &470 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -71732,7 +71900,7 @@ paths: schema: type: string examples: - default: &469 + default: &471 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -71785,11 +71953,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *325 - - *326 - - *461 - - *462 + - *327 + - *328 - *463 + - *464 + - *465 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -71823,9 +71991,9 @@ paths: type: integer check_runs: type: array - items: *403 + items: *405 examples: - default: *464 + default: *466 headers: Link: *66 x-github: @@ -71850,9 +72018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -71860,7 +72028,7 @@ paths: schema: type: integer example: 1 - - *462 + - *464 - *17 - *19 responses: @@ -71878,7 +72046,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *409 examples: default: value: @@ -72078,9 +72246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -72282,9 +72450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *325 - - *326 - - *461 + - *327 + - *328 + - *463 - *17 - *19 responses: @@ -72294,7 +72462,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Status description: The status of a commit. type: object @@ -72375,7 +72543,7 @@ paths: site_admin: false headers: Link: *66 - '301': *329 + '301': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72403,8 +72571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -72437,11 +72605,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *465 + - *467 code_of_conduct_file: anyOf: - type: 'null' - - &466 + - &468 title: Community Health File type: object properties: @@ -72461,19 +72629,19 @@ paths: contributing: anyOf: - type: 'null' - - *466 + - *468 readme: anyOf: - type: 'null' - - *466 + - *468 issue_template: anyOf: - type: 'null' - - *466 + - *468 pull_request_template: anyOf: - type: 'null' - - *466 + - *468 required: - code_of_conduct - code_of_conduct_file @@ -72602,8 +72770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 - name: basehead @@ -72651,8 +72819,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *458 + merge_base_commit: *458 status: type: string enum: @@ -72676,10 +72844,10 @@ paths: - 6 commits: type: array - items: *456 + items: *458 files: type: array - items: *467 + items: *469 required: - url - html_url @@ -72925,12 +73093,12 @@ paths: schema: type: string examples: - default: *468 + default: *470 application/vnd.github.patch: schema: type: string examples: - default: *469 + default: *471 '404': *6 '500': *53 '503': *114 @@ -72975,8 +73143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -73146,7 +73314,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &470 + response-if-content-is-a-file-github-object: &472 summary: Response if content is a file value: type: file @@ -73283,7 +73451,7 @@ paths: - size - type - url - - &578 + - &580 title: Content File description: Content File type: object @@ -73501,7 +73669,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *472 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -73570,7 +73738,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *471 + '302': *473 '304': *35 x-github: githubCloudOnly: false @@ -73623,8 +73791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -73719,7 +73887,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: File Commit description: File Commit type: object @@ -73875,7 +74043,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: example-for-creating-a-file: value: @@ -73929,7 +74097,7 @@ paths: schema: oneOf: - *3 - - &504 + - &506 description: Repository rule violation was detected type: object properties: @@ -73950,7 +74118,7 @@ paths: items: type: object properties: - placeholder_id: &633 + placeholder_id: &635 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -73982,8 +74150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *325 - - *326 + - *327 + - *328 - name: path description: path parameter in: path @@ -74044,7 +74212,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -74099,8 +74267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *325 - - *326 + - *327 + - *328 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -74224,8 +74392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *189 - *190 - *191 @@ -74238,7 +74406,7 @@ paths: schema: type: string - *194 - - *473 + - *475 - *195 - *196 - *197 @@ -74253,7 +74421,7 @@ paths: application/json: schema: type: array - items: &477 + items: &479 type: object description: A Dependabot alert. properties: @@ -74304,7 +74472,7 @@ paths: - transitive - inconclusive - - security_advisory: *474 + security_advisory: *476 security_vulnerability: *64 url: *174 html_url: *175 @@ -74335,8 +74503,8 @@ paths: dismissal. maxLength: 280 fixed_at: *176 - auto_dismissed_at: *475 - dismissal_request: *476 + auto_dismissed_at: *477 + dismissal_request: *478 assignees: type: array description: The users assigned to this alert. @@ -74591,9 +74759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *325 - - *326 - - &478 + - *327 + - *328 + - &480 name: alert_number in: path description: |- @@ -74608,7 +74776,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -74740,9 +74908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *325 - - *326 - - *478 + - *327 + - *328 + - *480 requestBody: required: true content: @@ -74798,7 +74966,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: default: value: @@ -74928,8 +75096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -74947,7 +75115,7 @@ paths: type: integer secrets: type: array - items: &481 + items: &483 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -75001,16 +75169,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *479 + schema: *481 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75030,15 +75198,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '200': description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -75064,8 +75232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 requestBody: required: true @@ -75118,8 +75286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *325 - - *326 + - *327 + - *328 - *161 responses: '204': @@ -75142,8 +75310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *325 - - *326 + - *327 + - *328 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -75317,8 +75485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -75577,8 +75745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sbom_uuid in: path required: true @@ -75589,7 +75757,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *482 + Location: *484 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -75610,8 +75778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -75649,8 +75817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -75733,7 +75901,7 @@ paths: - version - url additionalProperties: false - metadata: &483 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -75772,7 +75940,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *483 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -75786,7 +75954,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *483 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -75919,8 +76087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *325 - - *326 + - *327 + - *328 - name: sha description: The SHA recorded at creation time. in: query @@ -75961,9 +76129,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *485 + default: *487 headers: Link: *66 x-github: @@ -76029,8 +76197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -76112,7 +76280,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: simple-example: summary: Simple example @@ -76185,9 +76353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *325 - - *326 - - &486 + - *327 + - *328 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -76199,7 +76367,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: default: value: @@ -76264,9 +76432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 responses: '204': description: Response @@ -76288,9 +76456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - *17 - *19 responses: @@ -76300,7 +76468,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -76464,9 +76632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 requestBody: required: true content: @@ -76541,9 +76709,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -76599,9 +76767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *325 - - *326 - - *486 + - *327 + - *328 + - *488 - name: status_id in: path required: true @@ -76612,9 +76780,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -76639,8 +76807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -76697,8 +76865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -76716,7 +76884,7 @@ paths: - 5 environments: type: array - items: &490 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -76778,7 +76946,7 @@ paths: type: string examples: - wait_timer - wait_timer: &492 + wait_timer: &494 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -76820,7 +76988,7 @@ paths: items: type: object properties: - type: *489 + type: *491 reviewer: anyOf: - *4 @@ -76847,7 +77015,7 @@ paths: - id - node_id - type - deployment_branch_policy: &493 + deployment_branch_policy: &495 type: - object - 'null' @@ -76964,9 +77132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *325 - - *326 - - &491 + - *327 + - *328 + - &493 name: environment_name in: path required: true @@ -76979,9 +77147,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: &494 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -77065,9 +77233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: false content: @@ -77077,7 +77245,7 @@ paths: - object - 'null' properties: - wait_timer: *492 + wait_timer: *494 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -77096,14 +77264,14 @@ paths: items: type: object properties: - type: *489 + type: *491 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *493 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -77123,9 +77291,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *494 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -77149,9 +77317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '204': description: Default response @@ -77176,9 +77344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -77197,7 +77365,7 @@ paths: - 2 branch_policies: type: array - items: &495 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -77258,9 +77426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -77308,9 +77476,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - example-wildcard: &496 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -77352,10 +77520,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - &497 + - *327 + - *328 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -77367,9 +77535,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77388,10 +77556,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 requestBody: required: true content: @@ -77420,9 +77588,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77441,10 +77609,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *325 - - *326 - - *491 - - *497 + - *327 + - *328 + - *493 + - *499 responses: '204': description: Response @@ -77469,9 +77637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 responses: '200': description: List of deployment protection rules @@ -77488,7 +77656,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &498 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -77510,7 +77678,7 @@ paths: for the environment. examples: - true - app: &499 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -77613,9 +77781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 requestBody: content: application/json: @@ -77636,9 +77804,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *498 + schema: *500 examples: - default: &500 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -77673,9 +77841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *491 - - *326 - - *325 + - *493 + - *328 + - *327 - *19 - *17 responses: @@ -77695,7 +77863,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *499 + items: *501 examples: default: value: @@ -77730,10 +77898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *325 - - *326 - - *491 - - &501 + - *327 + - *328 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -77745,9 +77913,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77768,10 +77936,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *491 - - *326 - - *325 - - *501 + - *493 + - *328 + - *327 + - *503 responses: '204': description: Response @@ -77797,9 +77965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *17 - *19 responses: @@ -77817,9 +77985,9 @@ paths: type: integer secrets: type: array - items: *370 + items: *372 examples: - default: *371 + default: *373 headers: Link: *66 x-github: @@ -77844,17 +78012,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77876,18 +78044,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *502 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77909,9 +78077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 requestBody: required: true @@ -77969,9 +78137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *161 responses: '204': @@ -77997,10 +78165,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *325 - - *326 - - *491 - - *341 + - *327 + - *328 + - *493 + - *343 - *19 responses: '200': @@ -78017,9 +78185,9 @@ paths: type: integer variables: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *66 x-github: @@ -78042,9 +78210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 requestBody: required: true content: @@ -78096,18 +78264,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *325 - - *326 - - *491 + - *327 + - *328 + - *493 - *164 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *503 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78128,10 +78296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 requestBody: required: true content: @@ -78173,10 +78341,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *325 - - *326 + - *327 + - *328 - *164 - - *491 + - *493 responses: '204': description: Response @@ -78198,8 +78366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -78267,8 +78435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *325 - - *326 + - *327 + - *328 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -78427,8 +78595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -78461,9 +78629,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -78484,8 +78652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78545,7 +78713,7 @@ paths: schema: oneOf: - *122 - - *504 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78570,8 +78738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *325 - - *326 + - *327 + - *328 - name: file_sha in: path required: true @@ -78671,8 +78839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -78781,7 +78949,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -79008,15 +79176,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *325 - - *326 - - *457 + - *327 + - *328 + - *459 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -79072,9 +79240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *325 - - *326 - - &506 + - *327 + - *328 + - &508 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -79091,7 +79259,7 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -79167,17 +79335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -79206,8 +79374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -79236,9 +79404,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -79264,9 +79432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 requestBody: required: true content: @@ -79295,9 +79463,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '422': *15 '409': *52 x-github: @@ -79315,9 +79483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *325 - - *326 - - *506 + - *327 + - *328 + - *508 responses: '204': description: Response @@ -79372,8 +79540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -79440,7 +79608,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -79496,7 +79664,7 @@ paths: - sha - type - url - verification: *509 + verification: *511 required: - sha - url @@ -79506,7 +79674,7 @@ paths: - tag - message examples: - default: &511 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -79579,8 +79747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *325 - - *326 + - *327 + - *328 - name: tag_sha in: path required: true @@ -79591,9 +79759,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *511 + default: *513 '404': *6 '409': *52 x-github: @@ -79617,8 +79785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -79692,7 +79860,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -79794,8 +79962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *325 - - *326 + - *327 + - *328 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -79818,7 +79986,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default-response: summary: Default response @@ -79877,8 +80045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -79888,7 +80056,7 @@ paths: application/json: schema: type: array - items: &513 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -79951,7 +80119,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &748 + last_response: &750 title: Hook Response type: object properties: @@ -80028,8 +80196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -80082,9 +80250,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: &514 + default: &516 value: type: Repository id: 12345678 @@ -80132,17 +80300,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -80162,9 +80330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: true content: @@ -80209,9 +80377,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: - default: *514 + default: *516 '422': *15 '404': *6 x-github: @@ -80232,9 +80400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -80258,9 +80426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '200': description: Response @@ -80287,9 +80455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 requestBody: required: false content: @@ -80333,12 +80501,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 - - *17 - - *204 + - *327 + - *328 - *205 + - *17 + - *206 + - *207 responses: '200': description: Response @@ -80346,9 +80514,9 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: - default: *207 + default: *209 '400': *14 '422': *15 x-github: @@ -80367,18 +80535,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *209 + default: *211 '400': *14 '422': *15 x-github: @@ -80397,9 +80565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 - *16 responses: '202': *37 @@ -80422,9 +80590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -80449,9 +80617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *325 - - *326 - - *203 + - *327 + - *328 + - *205 responses: '204': description: Response @@ -80474,8 +80642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response if immutable releases are enabled @@ -80523,8 +80691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -80544,8 +80712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '409': *52 @@ -80602,14 +80770,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &515 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -80716,7 +80884,7 @@ paths: - html_url - authors_url examples: - default: &518 + default: &520 value: vcs: subversion use_lfs: true @@ -80732,7 +80900,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &516 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -80761,8 +80929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -80810,7 +80978,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -80835,7 +81003,7 @@ paths: type: string '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80863,8 +81031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -80916,7 +81084,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: example-1: summary: Example 1 @@ -80964,7 +81132,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80987,12 +81155,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81018,9 +81186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *325 - - *326 - - &682 + - *327 + - *328 + - &684 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -81034,7 +81202,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Porter Author description: Porter Author type: object @@ -81088,7 +81256,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81113,8 +81281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *325 - - *326 + - *327 + - *328 - name: author_id in: path required: true @@ -81144,7 +81312,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: default: value: @@ -81157,7 +81325,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81181,8 +81349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -81223,7 +81391,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81251,8 +81419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -81279,11 +81447,11 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: - default: *518 + default: *520 '422': *15 - '503': *516 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81306,8 +81474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -81315,8 +81483,8 @@ paths: application/json: schema: *20 examples: - default: *519 - '301': *329 + default: *521 + '301': *331 '404': *6 x-github: githubCloudOnly: false @@ -81336,8 +81504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -81345,12 +81513,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &521 + default: &523 value: limit: collaborators_only origin: repository @@ -81375,13 +81543,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: application/json: - schema: *520 + schema: *522 examples: default: summary: Example request body @@ -81393,9 +81561,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *521 + default: *523 '409': description: Response x-github: @@ -81417,8 +81585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -81441,8 +81609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -81452,9 +81620,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: &675 + default: &677 value: - id: 1 repository: @@ -81585,9 +81753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 requestBody: required: false content: @@ -81616,7 +81784,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -81747,9 +81915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *325 - - *326 - - *226 + - *327 + - *328 + - *228 responses: '204': description: Response @@ -81780,8 +81948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *325 - - *326 + - *327 + - *328 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -81829,7 +81997,7 @@ paths: required: false schema: type: string - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -81854,7 +82022,7 @@ paths: type: array items: *82 examples: - default: &531 + default: &533 value: - id: 1 node_id: MDU6SXNzdWUx @@ -82003,7 +82171,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *329 + '301': *331 '422': *15 '404': *6 x-github: @@ -82032,8 +82200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -82125,7 +82293,7 @@ paths: application/json: schema: *82 examples: - default: &528 + default: &530 value: id: 1 node_id: MDU6SXNzdWUx @@ -82288,7 +82456,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -82326,8 +82494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -82350,7 +82518,7 @@ paths: type: array items: *83 examples: - default: &530 + default: &532 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82408,8 +82576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -82418,7 +82586,7 @@ paths: application/json: schema: *83 examples: - default: &524 + default: &526 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82473,8 +82641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -82499,7 +82667,7 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -82517,8 +82685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -82547,8 +82715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': @@ -82611,7 +82779,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -82628,8 +82796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -82637,7 +82805,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 '503': *114 x-github: githubCloudOnly: false @@ -82655,8 +82823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82683,9 +82851,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -82706,8 +82874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -82740,16 +82908,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -82771,10 +82939,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -82794,8 +82962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -82805,7 +82973,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 title: Issue Event description: Issue Event type: object @@ -83145,8 +83313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *325 - - *326 + - *327 + - *328 - name: event_id in: path required: true @@ -83157,7 +83325,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -83350,7 +83518,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *523 + '410': *525 '403': *27 x-github: githubCloudOnly: false @@ -83384,9 +83552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *325 - - *326 - - &529 + - *327 + - *328 + - &531 name: issue_number description: The number that identifies the issue. in: path @@ -83402,7 +83570,7 @@ paths: examples: default: summary: Issue - value: *528 + value: *530 pinned_comment: summary: Issue with pinned comment value: @@ -83607,9 +83775,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 '304': *35 x-github: githubCloudOnly: false @@ -83634,9 +83802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -83777,13 +83945,13 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '422': *15 '503': *114 '403': *27 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83811,9 +83979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -83841,7 +84009,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83857,9 +84025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: content: application/json: @@ -83886,7 +84054,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83908,9 +84076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: assignee in: path required: true @@ -83950,9 +84118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *87 - *17 - *19 @@ -83965,11 +84133,11 @@ paths: type: array items: *83 examples: - default: *530 + default: *532 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83998,9 +84166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84024,14 +84192,14 @@ paths: application/json: schema: *83 examples: - default: *524 + default: *526 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -84059,9 +84227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84073,12 +84241,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84106,9 +84274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -84132,15 +84300,15 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *329 + '301': *331 '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -84171,9 +84339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -84187,13 +84355,13 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *523 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -84219,9 +84387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84233,12 +84401,12 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84255,9 +84423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -84271,7 +84439,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &535 + - &537 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -84320,7 +84488,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -84448,7 +84616,7 @@ paths: - performed_via_github_app - assignee - assigner - - &537 + - &539 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -84494,7 +84662,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -84540,7 +84708,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -84589,7 +84757,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -84631,7 +84799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -84673,7 +84841,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -84729,7 +84897,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Locked Issue Event description: Locked Issue Event type: object @@ -84774,7 +84942,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84835,7 +85003,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84896,7 +85064,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84957,7 +85125,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -85050,7 +85218,7 @@ paths: color: red headers: Link: *66 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85067,9 +85235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -85079,9 +85247,9 @@ paths: application/json: schema: type: array - items: *532 + items: *534 examples: - default: &533 + default: &535 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -85105,9 +85273,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85136,9 +85304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85204,9 +85372,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -85242,9 +85410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85311,9 +85479,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *532 + items: *534 examples: - default: *533 + default: *535 '400': *14 '403': *27 '404': *6 @@ -85344,10 +85512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *325 - - *326 - - *529 - - *229 + - *327 + - *328 + - *531 + - *231 responses: '204': description: Issue field value deleted successfully @@ -85372,9 +85540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -85386,7 +85554,7 @@ paths: type: array items: *81 examples: - default: &534 + default: &536 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -85404,9 +85572,9 @@ paths: default: false headers: Link: *66 - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85422,9 +85590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -85469,10 +85637,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -85489,9 +85657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -85553,10 +85721,10 @@ paths: type: array items: *81 examples: - default: *534 - '301': *329 + default: *536 + '301': *331 '404': *6 - '410': *523 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -85573,15 +85741,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85600,9 +85768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: name in: path required: true @@ -85626,9 +85794,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *329 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85648,9 +85816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: false content: @@ -85679,7 +85847,7 @@ paths: '204': description: Response '403': *27 - '410': *523 + '410': *525 '404': *6 '422': *15 x-github: @@ -85697,9 +85865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '204': description: Response @@ -85729,9 +85897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 responses: '200': description: Response @@ -85739,10 +85907,10 @@ paths: application/json: schema: *82 examples: - default: *528 - '301': *329 + default: *530 + '301': *331 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85759,9 +85927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -85787,13 +85955,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85811,9 +85979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85845,16 +86013,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -85876,10 +86044,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *325 - - *326 - - *529 - - *526 + - *327 + - *328 + - *531 + - *528 responses: '204': description: Response @@ -85908,9 +86076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -85934,7 +86102,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -85967,9 +86135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -85981,11 +86149,11 @@ paths: type: array items: *82 examples: - default: *531 + default: *533 headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86013,9 +86181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -86044,14 +86212,14 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *523 + '410': *525 '422': *15 '404': *6 x-github: @@ -86071,9 +86239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 requestBody: required: true content: @@ -86106,7 +86274,7 @@ paths: application/json: schema: *82 examples: - default: *528 + default: *530 '403': *27 '404': *6 '422': *7 @@ -86128,9 +86296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *325 - - *326 - - *529 + - *327 + - *328 + - *531 - *17 - *19 responses: @@ -86145,8 +86313,6 @@ paths: description: Timeline Event type: object anyOf: - - *535 - - *536 - *537 - *538 - *539 @@ -86158,6 +86324,8 @@ paths: - *545 - *546 - *547 + - *548 + - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -86214,7 +86382,7 @@ paths: pin: anyOf: - type: 'null' - - *548 + - *550 required: - event - actor @@ -86490,7 +86658,7 @@ paths: type: string comments: type: array - items: &567 + items: &569 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -86731,7 +86899,7 @@ paths: type: string comments: type: array - items: *453 + items: *455 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -87006,7 +87174,7 @@ paths: headers: Link: *66 '404': *6 - '410': *523 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87023,8 +87191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -87034,7 +87202,7 @@ paths: application/json: schema: type: array - items: &549 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -87102,8 +87270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87139,9 +87307,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: &550 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -87175,9 +87343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *325 - - *326 - - &551 + - *327 + - *328 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -87189,9 +87357,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -87209,9 +87377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *325 - - *326 - - *551 + - *327 + - *328 + - *553 responses: '204': description: Response @@ -87231,8 +87399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -87244,7 +87412,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 '404': *6 @@ -87265,8 +87433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87304,7 +87472,7 @@ paths: application/json: schema: *81 examples: - default: &552 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -87336,8 +87504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -87350,7 +87518,7 @@ paths: application/json: schema: *81 examples: - default: *552 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -87367,8 +87535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -87433,8 +87601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *325 - - *326 + - *327 + - *328 - name: name in: path required: true @@ -87460,8 +87628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -87500,9 +87668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *325 - - *326 - - *428 + - *327 + - *328 + - *430 responses: '200': description: Response @@ -87649,8 +87817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87715,8 +87883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87750,9 +87918,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *458 examples: - default: *553 + default: *555 '204': description: Response when already merged '404': @@ -87777,8 +87945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -87819,7 +87987,7 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: default: value: @@ -87875,8 +88043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -87916,9 +88084,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -87977,9 +88145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *325 - - *326 - - &555 + - *327 + - *328 + - &557 name: milestone_number description: The number that identifies the milestone. in: path @@ -87991,9 +88159,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -88010,9 +88178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 requestBody: required: false content: @@ -88050,9 +88218,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88068,9 +88236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 responses: '204': description: Response @@ -88091,9 +88259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *325 - - *326 - - *555 + - *327 + - *328 + - *557 - *17 - *19 responses: @@ -88105,7 +88273,7 @@ paths: type: array items: *81 examples: - default: *534 + default: *536 headers: Link: *66 x-github: @@ -88124,12 +88292,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *325 - - *326 - - *556 - - *557 - - *87 + - *327 + - *328 - *558 + - *559 + - *87 + - *560 - *17 - *19 responses: @@ -88141,7 +88309,7 @@ paths: type: array items: *107 examples: - default: *559 + default: *561 headers: Link: *66 x-github: @@ -88165,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -88224,14 +88392,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: &560 + schema: &562 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -88375,7 +88543,7 @@ paths: - custom_404 - public examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -88416,8 +88584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88472,9 +88640,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '422': *15 '409': *52 x-github: @@ -88497,8 +88665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88598,8 +88766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -88625,8 +88793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -88636,7 +88804,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Page Build description: Page Build type: object @@ -88728,8 +88896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '201': description: Response @@ -88776,16 +88944,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -88833,8 +89001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *325 - - *326 + - *327 + - *328 - name: build_id in: path required: true @@ -88845,9 +89013,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88867,8 +89035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -88976,9 +89144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *325 - - *326 - - &564 + - *327 + - *328 + - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -89036,9 +89204,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *325 - - *326 - - *564 + - *327 + - *328 + - *566 responses: '204': *59 '404': *6 @@ -89065,8 +89233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -89361,8 +89529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Private vulnerability reporting status @@ -89399,8 +89567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -89421,8 +89589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': *59 '422': *14 @@ -89444,8 +89612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -89453,7 +89621,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -89484,8 +89652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -89497,7 +89665,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *280 + items: *282 required: - properties examples: @@ -89547,8 +89715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *325 - - *326 + - *327 + - *328 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -89608,9 +89776,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *565 + default: *567 headers: Link: *66 '304': *35 @@ -89642,8 +89810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -89710,7 +89878,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89839,7 +90007,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 active_lock_reason: type: - string @@ -89888,7 +90056,7 @@ paths: items: *4 requested_teams: type: array - items: *245 + items: *247 head: type: object properties: @@ -89926,14 +90094,14 @@ paths: _links: type: object properties: - comments: *267 - commits: *267 - statuses: *267 - html: *267 - issue: *267 - review_comments: *267 - review_comment: *267 - self: *267 + comments: *269 + commits: *269 + statuses: *269 + html: *269 + issue: *269 + review_comments: *269 + review_comment: *269 + self: *269 required: - comments - commits @@ -89944,7 +90112,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *566 + auto_merge: *568 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -90140,7 +90308,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90678,8 +90846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *325 - - *326 + - *327 + - *328 - name: sort in: query required: false @@ -90708,9 +90876,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90787,17 +90955,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90872,8 +91040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -90896,9 +91064,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90914,8 +91082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 + - *327 + - *328 - *96 responses: '204': @@ -90937,8 +91105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90965,9 +91133,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -90988,8 +91156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *325 - - *326 + - *327 + - *328 - *96 requestBody: required: true @@ -91022,16 +91190,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -91053,10 +91221,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *325 - - *326 + - *327 + - *328 - *96 - - *526 + - *528 responses: '204': description: Response @@ -91099,9 +91267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *325 - - *326 - - &571 + - *327 + - *328 + - &573 name: pull_number description: The number that identifies the pull request. in: path @@ -91114,9 +91282,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '304': *35 '404': *6 '406': @@ -91151,9 +91319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -91195,9 +91363,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '403': *27 x-github: @@ -91219,9 +91387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -91246,9 +91414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response @@ -91274,9 +91442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -91337,17 +91505,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -91377,9 +91545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -91400,9 +91568,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *572 + default: *574 headers: Link: *66 x-github: @@ -91435,9 +91603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -91543,7 +91711,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: example-for-a-multi-line-comment: value: @@ -91631,9 +91799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *96 requestBody: required: true @@ -91656,7 +91824,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: default: value: @@ -91742,9 +91910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -91754,9 +91922,9 @@ paths: application/json: schema: type: array - items: *456 + items: *458 examples: - default: *573 + default: *575 headers: Link: *66 x-github: @@ -91786,9 +91954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -91798,7 +91966,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -91836,9 +92004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '204': description: Response if pull request has been merged @@ -91861,9 +92029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -91975,9 +92143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 responses: '200': description: Response @@ -92052,9 +92220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -92091,7 +92259,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -92627,9 +92795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: true content: @@ -92663,7 +92831,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -93179,9 +93347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 - *17 - *19 responses: @@ -93191,7 +93359,7 @@ paths: application/json: schema: type: array - items: &574 + items: &576 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -93347,9 +93515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -93439,9 +93607,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -93504,10 +93672,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - &575 + - *327 + - *328 + - *573 + - &577 name: review_id description: The unique identifier of the review. in: path @@ -93519,9 +93687,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &577 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -93580,10 +93748,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -93606,7 +93774,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -93668,18 +93836,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *576 + default: *578 '422': *7 '404': *6 x-github: @@ -93706,10 +93874,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 - *17 - *19 responses: @@ -93807,9 +93975,9 @@ paths: _links: type: object properties: - self: *267 - html: *267 - pull_request: *267 + self: *269 + html: *269 + pull_request: *269 required: - self - html @@ -93967,10 +94135,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -93999,7 +94167,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -94062,10 +94230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *325 - - *326 - - *571 - - *575 + - *327 + - *328 + - *573 + - *577 requestBody: required: true content: @@ -94100,9 +94268,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *577 + default: *579 '404': *6 '422': *7 '403': *27 @@ -94124,9 +94292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *325 - - *326 - - *571 + - *327 + - *328 + - *573 requestBody: required: false content: @@ -94190,8 +94358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *325 - - *326 + - *327 + - *328 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -94204,9 +94372,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: type: file encoding: base64 @@ -94248,8 +94416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *325 - - *326 + - *327 + - *328 - name: dir description: The alternate path to look for a README file in: path @@ -94269,9 +94437,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 '422': *15 x-github: @@ -94293,8 +94461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -94304,7 +94472,7 @@ paths: application/json: schema: type: array - items: *580 + items: *582 examples: default: value: @@ -94398,8 +94566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -94475,9 +94643,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -94582,9 +94750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *325 - - *326 - - &582 + - *327 + - *328 + - &584 name: asset_id description: The unique identifier of the asset. in: path @@ -94596,9 +94764,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 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 @@ -94633,7 +94801,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94649,9 +94817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 requestBody: required: false content: @@ -94680,9 +94848,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94698,9 +94866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *325 - - *326 - - *582 + - *327 + - *328 + - *584 responses: '204': description: Response @@ -94725,8 +94893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -94812,16 +94980,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -94839,8 +95007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *325 - - *326 + - *327 + - *328 - name: tag description: tag parameter in: path @@ -94853,9 +95021,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -94877,9 +95045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *325 - - *326 - - &585 + - *327 + - *328 + - &587 name: release_id description: The unique identifier of the release. in: path @@ -94893,9 +95061,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: *580 + schema: *582 examples: - default: *584 + default: *586 '401': description: Unauthorized x-github: @@ -94913,9 +95081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: false content: @@ -94979,9 +95147,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': description: Not Found if the discussion category name is invalid content: @@ -95002,9 +95170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 responses: '204': description: Response @@ -95025,9 +95193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - *17 - *19 responses: @@ -95037,7 +95205,7 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: default: value: @@ -95118,9 +95286,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - name: name in: query required: true @@ -95146,7 +95314,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *583 examples: response-for-successful-upload: value: @@ -95201,9 +95369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 - 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. @@ -95227,9 +95395,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *525 + default: *527 headers: Link: *66 '404': *6 @@ -95250,9 +95418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *325 - - *326 - - *585 + - *327 + - *328 + - *587 requestBody: required: true content: @@ -95282,16 +95450,16 @@ paths: description: Reaction exists content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '201': description: Reaction created content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -95313,10 +95481,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *325 - - *326 - - *585 - - *526 + - *327 + - *328 + - *587 + - *528 responses: '204': description: Response @@ -95340,9 +95508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *325 - - *326 - - *392 + - *327 + - *328 + - *394 - *17 - *19 responses: @@ -95358,8 +95526,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *287 - - &586 + - *289 + - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -95378,69 +95546,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *288 - - *586 - - allOf: - - *289 - - *586 - allOf: - *290 - - *586 - - allOf: - - *587 - - *586 + - *588 - allOf: - *291 - - *586 + - *588 - allOf: - *292 - - *586 + - *588 + - allOf: + - *589 + - *588 - allOf: - *293 - - *586 + - *588 - allOf: - *294 - - *586 + - *588 - allOf: - *295 - - *586 + - *588 - allOf: - *296 - - *586 + - *588 - allOf: - *297 - - *586 + - *588 - allOf: - *298 - - *586 + - *588 - allOf: - *299 - - *586 + - *588 - allOf: - *300 - - *586 + - *588 - allOf: - *301 - - *586 + - *588 - allOf: - *302 - - *586 + - *588 - allOf: - *303 - - *586 + - *588 - allOf: - *304 - - *586 + - *588 - allOf: - *305 - - *586 + - *588 - allOf: - *306 - - *586 + - *588 - allOf: - *307 - - *586 + - *588 + - allOf: + - *308 + - *588 + - allOf: + - *309 + - *588 examples: default: value: @@ -95479,8 +95647,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: includes_parents @@ -95491,7 +95659,7 @@ paths: schema: type: boolean default: true - - *588 + - *590 responses: '200': description: Response @@ -95499,7 +95667,7 @@ paths: application/json: schema: type: array - items: *308 + items: *310 examples: default: value: @@ -95546,8 +95714,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 requestBody: description: Request body required: true @@ -95567,16 +95735,16 @@ paths: - tag - push default: branch - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *591 required: - name - enforcement @@ -95607,9 +95775,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: &599 + default: &601 value: id: 42 name: super cool ruleset @@ -95657,12 +95825,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *325 - - *326 - - *590 - - *591 + - *327 + - *328 - *592 - *593 + - *594 + - *595 - *17 - *19 responses: @@ -95670,9 +95838,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 '404': *6 '500': *53 x-github: @@ -95693,17 +95861,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *325 - - *326 - - *596 + - *327 + - *328 + - *598 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 '404': *6 '500': *53 x-github: @@ -95731,8 +95899,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95752,9 +95920,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '500': *53 put: @@ -95772,8 +95940,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95798,16 +95966,16 @@ paths: - branch - tag - push - enforcement: *284 + enforcement: *286 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *285 - conditions: *282 + items: *287 + conditions: *284 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *591 examples: default: value: @@ -95835,9 +96003,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - default: *599 + default: *601 '404': *6 '422': *15 '500': *53 @@ -95856,8 +96024,8 @@ paths: category: repos subcategory: rules parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95880,8 +96048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 - name: ruleset_id @@ -95897,9 +96065,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *600 + default: *602 '404': *6 '500': *53 x-github: @@ -95918,8 +96086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *325 - - *326 + - *327 + - *328 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95937,7 +96105,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -95992,25 +96160,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *325 - - *326 - - *602 - - *603 + - *327 + - *328 - *604 - *605 - *606 - *607 - *608 - *609 + - *610 + - *611 - *60 - *19 - *17 - - *610 - - *611 - *612 - *613 - *614 - *615 + - *616 + - *617 responses: '200': description: Response @@ -96018,7 +96186,7 @@ paths: application/json: schema: type: array - items: &619 + items: &621 type: object properties: number: *171 @@ -96034,8 +96202,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolved_at: type: - string @@ -96141,7 +96309,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *618 + - *620 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -96300,16 +96468,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 - - *615 + - *327 + - *328 + - *424 + - *617 responses: '200': description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -96363,9 +96531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 requestBody: required: true content: @@ -96373,8 +96541,8 @@ paths: schema: type: object properties: - state: *616 - resolution: *617 + state: *618 + resolution: *619 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -96412,7 +96580,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *621 examples: default: value: @@ -96507,9 +96675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *325 - - *326 - - *422 + - *327 + - *328 + - *424 - *19 - *17 responses: @@ -96520,7 +96688,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &768 + items: &770 type: object properties: type: @@ -96547,8 +96715,6 @@ paths: - commit details: oneOf: - - *620 - - *621 - *622 - *623 - *624 @@ -96560,6 +96726,8 @@ paths: - *630 - *631 - *632 + - *633 + - *634 examples: default: value: @@ -96645,8 +96813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -96654,14 +96822,14 @@ paths: schema: type: object properties: - reason: &634 + reason: &636 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *633 + placeholder_id: *635 required: - reason - placeholder_id @@ -96678,7 +96846,7 @@ paths: schema: type: object properties: - reason: *634 + reason: *636 expire_at: type: - string @@ -96725,8 +96893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -96741,7 +96909,7 @@ paths: properties: incremental_scans: type: array - items: &635 + items: &637 description: Information on a single scan performed by secret scanning on the repository type: object @@ -96769,15 +96937,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *635 + items: *637 backfill_scans: type: array - items: *635 + items: *637 custom_pattern_backfill_scans: type: array items: allOf: - - *635 + - *637 - type: object properties: pattern_name: @@ -96790,7 +96958,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *635 + items: *637 examples: default: value: @@ -96855,8 +97023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *325 - - *326 + - *327 + - *328 - *60 - name: sort description: The property to sort the results by. @@ -96900,9 +97068,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: *637 + default: *639 '400': *14 '404': *6 x-github: @@ -96925,8 +97093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -97006,7 +97174,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -97096,9 +97264,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: &639 + default: &641 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -97337,8 +97505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -97451,7 +97619,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: default: value: @@ -97604,17 +97772,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '200': description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 + default: *641 '403': *27 '404': *6 x-github: @@ -97638,9 +97806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 requestBody: required: true content: @@ -97720,7 +97888,7 @@ paths: login: type: string description: The username of the user credited. - type: *314 + type: *316 required: - login - type @@ -97811,10 +97979,10 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *639 - add_credit: *639 + default: *641 + add_credit: *641 '403': *27 '404': *6 '422': @@ -97852,9 +98020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': *37 '400': *14 @@ -97881,17 +98049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *325 - - *326 - - *638 + - *327 + - *328 + - *640 responses: '202': description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 '400': *14 '422': *15 '403': *27 @@ -97917,8 +98085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -98014,8 +98182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -98024,7 +98192,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -98057,8 +98225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -98136,8 +98304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -98231,8 +98399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -98386,8 +98554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -98397,7 +98565,7 @@ paths: application/json: schema: type: array - items: *640 + items: *642 examples: default: value: @@ -98430,8 +98598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *325 - - *326 + - *327 + - *328 - name: sha in: path required: true @@ -98487,7 +98655,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: default: value: @@ -98541,8 +98709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -98574,14 +98742,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &642 + schema: &644 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -98654,8 +98822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: false content: @@ -98681,7 +98849,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: default: value: @@ -98708,8 +98876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -98729,8 +98897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -98812,8 +98980,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -98849,8 +99017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *325 - - *326 + - *327 + - *328 - *17 - *19 responses: @@ -98862,7 +99030,7 @@ paths: type: array items: *187 examples: - default: *246 + default: *248 headers: Link: *66 '404': *6 @@ -98882,8 +99050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 - *19 - *17 responses: @@ -98891,7 +99059,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &645 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98903,7 +99071,7 @@ paths: required: - names examples: - default: &644 + default: &646 value: names: - octocat @@ -98926,8 +99094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -98958,9 +99126,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *645 examples: - default: *644 + default: *646 '404': *6 '422': *7 x-github: @@ -98981,9 +99149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *325 - - *326 - - &645 + - *327 + - *328 + - &647 name: per description: The time frame to display results for. in: query @@ -99014,7 +99182,7 @@ paths: - 128 clones: type: array - items: &646 + items: &648 title: Traffic type: object properties: @@ -99101,8 +99269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -99196,8 +99364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *325 - - *326 + - *327 + - *328 responses: '200': description: Response @@ -99260,9 +99428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *325 - - *326 - - *645 + - *327 + - *328 + - *647 responses: '200': description: Response @@ -99283,7 +99451,7 @@ paths: - 3782 views: type: array - items: *646 + items: *648 required: - uniques - count @@ -99360,8 +99528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *325 - - *326 + - *327 + - *328 requestBody: required: true content: @@ -99641,8 +99809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -99665,8 +99833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -99688,8 +99856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -99715,8 +99883,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *325 - - *326 + - *327 + - *328 - name: ref in: path required: true @@ -99808,9 +99976,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100062,7 +100230,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &647 + text_matches: &649 title: Search Result Text Matches type: array items: @@ -100225,7 +100393,7 @@ paths: enum: - author-date - committer-date - - &648 + - &650 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 @@ -100294,7 +100462,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 comment_count: type: integer message: @@ -100313,7 +100481,7 @@ paths: url: type: string format: uri - verification: *509 + verification: *511 required: - author - committer @@ -100328,7 +100496,7 @@ paths: committer: anyOf: - type: 'null' - - *390 + - *392 parents: type: array items: @@ -100345,7 +100513,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *649 required: - sha - node_id @@ -100537,7 +100705,7 @@ paths: - interactions - created - updated - - *648 + - *650 - *17 - *19 - name: advanced_search @@ -100651,11 +100819,11 @@ paths: type: - string - 'null' - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: type: string state_reason: @@ -100669,7 +100837,7 @@ paths: milestone: anyOf: - type: 'null' - - *266 + - *268 comments: type: integer created_at: @@ -100683,7 +100851,7 @@ paths: - string - 'null' format: date-time - text_matches: *647 + text_matches: *649 pull_request: type: object properties: @@ -100732,7 +100900,7 @@ paths: timeline_url: type: string format: uri - type: *230 + type: *232 performed_via_github_app: anyOf: - type: 'null' @@ -100983,7 +101151,7 @@ paths: enum: - created - updated - - *648 + - *650 - *17 - *19 responses: @@ -101028,7 +101196,7 @@ paths: - 'null' score: type: number - text_matches: *647 + text_matches: *649 required: - id - node_id @@ -101113,7 +101281,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *650 - *17 - *19 responses: @@ -101359,7 +101527,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *649 temp_clone_token: type: string allow_merge_commit: @@ -101667,7 +101835,7 @@ paths: - string - 'null' format: uri - text_matches: *647 + text_matches: *649 related: type: - array @@ -101860,7 +102028,7 @@ paths: - followers - repositories - joined - - *648 + - *650 - *17 - *19 responses: @@ -101970,7 +102138,7 @@ paths: type: - boolean - 'null' - text_matches: *647 + text_matches: *649 blog: type: - string @@ -102052,7 +102220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &651 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -102064,9 +102232,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 x-github: githubCloudOnly: false @@ -102093,7 +102261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *651 + - *653 requestBody: required: true content: @@ -102157,16 +102325,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '201': description: Response content: application/json: - schema: *321 + schema: *323 examples: - default: *322 + default: *324 '404': *6 '422': *15 '403': *27 @@ -102194,7 +102362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *651 + - *653 responses: '204': description: Response @@ -102223,7 +102391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -102233,9 +102401,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *225 + default: *227 headers: Link: *66 x-github: @@ -102261,7 +102429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *651 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -102312,7 +102480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -102349,7 +102517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -102389,7 +102557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -102426,16 +102594,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-user-is-a-team-maintainer: *652 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -102468,7 +102636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 requestBody: required: false @@ -102494,9 +102662,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: *653 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -102530,7 +102698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *651 + - *653 - *70 responses: '204': @@ -102558,7 +102726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -102570,7 +102738,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '404': *6 @@ -102600,15 +102768,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *654 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -102765,9 +102933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 requestBody: required: false content: @@ -102817,9 +102985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *651 - - *325 - - *326 + - *653 + - *327 + - *328 responses: '204': description: Response @@ -102844,7 +103012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *651 + - *653 - *17 - *19 responses: @@ -102856,7 +103024,7 @@ paths: type: array items: *187 examples: - response-if-child-teams-exist: *655 + response-if-child-teams-exist: *657 headers: Link: *66 '404': *6 @@ -102889,7 +103057,7 @@ paths: application/json: schema: oneOf: - - &657 + - &659 title: Private User description: Private User type: object @@ -103139,7 +103307,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *656 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103299,7 +103467,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: default: value: @@ -103502,9 +103670,9 @@ paths: type: integer codespaces: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 '304': *35 '500': *53 '401': *23 @@ -103643,17 +103811,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -103697,7 +103865,7 @@ paths: type: integer secrets: type: array - items: &658 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103739,7 +103907,7 @@ paths: - visibility - selected_repositories_url examples: - default: *447 + default: *449 headers: Link: *66 x-github: @@ -103817,7 +103985,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *660 examples: default: value: @@ -104107,15 +104275,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '401': *23 @@ -104141,7 +104309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 requestBody: required: false content: @@ -104171,9 +104339,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '401': *23 '403': *27 '404': *6 @@ -104195,7 +104363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': *37 '304': *35 @@ -104224,13 +104392,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '202': description: Response content: application/json: - schema: &659 + schema: &661 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104283,7 +104451,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &662 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104315,7 +104483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *237 + - *239 - name: export_id in: path required: true @@ -104328,9 +104496,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *661 examples: - default: *660 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -104351,7 +104519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *237 + - *239 responses: '200': description: Response @@ -104367,9 +104535,9 @@ paths: type: integer machines: type: array - items: *446 + items: *448 examples: - default: *661 + default: *663 '304': *35 '500': *53 '401': *23 @@ -104398,7 +104566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *237 + - *239 requestBody: required: true content: @@ -104454,11 +104622,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *328 + repository: *330 machine: anyOf: - type: 'null' - - *446 + - *448 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -105255,15 +105423,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '304': *35 '500': *53 '400': *14 @@ -105295,15 +105463,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *445 + default: *447 '500': *53 '401': *23 '403': *27 @@ -105333,9 +105501,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: &672 + default: &674 value: - id: 197 name: hello_docker @@ -105436,7 +105604,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: Email description: Email type: object @@ -105506,9 +105674,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: &674 + default: &676 value: - email: octocat@github.com verified: true @@ -105585,7 +105753,7 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: default: value: @@ -105843,7 +106011,7 @@ paths: application/json: schema: type: array - items: &663 + items: &665 title: GPG Key description: A unique encryption key type: object @@ -105988,7 +106156,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &692 value: - id: 3 name: Octocat's GPG Key @@ -106073,9 +106241,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: &664 + default: &666 value: id: 3 name: Octocat's GPG Key @@ -106132,7 +106300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &665 + - &667 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106144,9 +106312,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *665 examples: - default: *664 + default: *666 '404': *6 '304': *35 '403': *27 @@ -106169,7 +106337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *665 + - *667 responses: '204': description: Response @@ -106448,12 +106616,12 @@ paths: application/json: schema: anyOf: - - *222 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *223 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -106477,7 +106645,7 @@ paths: required: true content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -106488,7 +106656,7 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -106569,7 +106737,7 @@ paths: - closed - all default: open - - *233 + - *235 - name: sort description: What to sort results by. in: query @@ -106594,7 +106762,7 @@ paths: type: array items: *82 examples: - default: *234 + default: *236 headers: Link: *66 '404': *6 @@ -106627,7 +106795,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 title: Key description: Key type: object @@ -106730,9 +106898,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: &667 + default: &669 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106765,15 +106933,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '200': description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *667 + default: *669 '404': *6 '304': *35 '403': *27 @@ -106796,7 +106964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *551 + - *553 responses: '204': description: Response @@ -106829,7 +106997,7 @@ paths: application/json: schema: type: array - items: &668 + items: &670 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -106908,7 +107076,7 @@ paths: - account - plan examples: - default: &669 + default: &671 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -106970,9 +107138,9 @@ paths: application/json: schema: type: array - items: *668 + items: *670 examples: - default: *669 + default: *671 headers: Link: *66 '304': *35 @@ -107012,7 +107180,7 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: default: value: @@ -107126,7 +107294,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -107213,7 +107381,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: default: value: @@ -107285,7 +107453,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -107547,7 +107715,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -107727,7 +107895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *242 + - *244 - name: exclude in: query required: false @@ -107740,7 +107908,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -107934,7 +108102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *242 + - *244 responses: '302': description: Response @@ -107960,7 +108128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *242 + - *244 responses: '204': description: Response @@ -107989,8 +108157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *242 - - *670 + - *244 + - *672 responses: '204': description: Response @@ -108014,7 +108182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *242 + - *244 - *17 - *19 responses: @@ -108026,7 +108194,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '404': *6 @@ -108123,7 +108291,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *19 - *17 responses: @@ -108133,10 +108301,10 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 - '400': *673 + default: *674 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108156,16 +108324,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &691 + default: &693 value: id: 40201 name: octo-name @@ -108278,8 +108446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 responses: '204': description: Response @@ -108309,8 +108477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - name: token description: package token schema: @@ -108342,8 +108510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *249 - - *250 + - *251 + - *252 - *19 - *17 - name: state @@ -108363,7 +108531,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -108412,15 +108580,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -108456,9 +108624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -108488,9 +108656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 responses: '204': description: Response @@ -108527,9 +108695,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: *674 + default: *676 headers: Link: *66 '304': *35 @@ -108642,7 +108810,7 @@ paths: type: array items: *78 examples: - default: &681 + default: &683 summary: Default response value: - id: 1296269 @@ -108960,9 +109128,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *330 + default: *332 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109006,9 +109174,9 @@ paths: application/json: schema: type: array - items: *522 + items: *524 examples: - default: *675 + default: *677 headers: Link: *66 '304': *35 @@ -109031,7 +109199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -109060,7 +109228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *226 + - *228 responses: '204': description: Response @@ -109093,7 +109261,7 @@ paths: application/json: schema: type: array - items: &676 + items: &678 title: Social account description: Social media account type: object @@ -109110,7 +109278,7 @@ paths: - provider - url examples: - default: &677 + default: &679 value: - provider: twitter url: https://twitter.com/github @@ -109173,9 +109341,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 '422': *15 '304': *35 '404': *6 @@ -109263,7 +109431,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109283,7 +109451,7 @@ paths: - title - created_at examples: - default: &709 + default: &711 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -109348,9 +109516,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: &679 + default: &681 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -109380,7 +109548,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: - - &680 + - &682 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109392,9 +109560,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '304': *35 '403': *27 @@ -109417,7 +109585,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: - - *680 + - *682 responses: '204': description: Response @@ -109446,7 +109614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &710 + - &712 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 @@ -109471,11 +109639,11 @@ paths: type: array items: *78 examples: - default-response: *681 + default-response: *683 application/vnd.github.v3.star+json: schema: type: array - items: &711 + items: &713 title: Starred Repository description: Starred Repository type: object @@ -109631,8 +109799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response if this repository is starred by you @@ -109660,8 +109828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -109685,8 +109853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *325 - - *326 + - *327 + - *328 responses: '204': description: Response @@ -109721,7 +109889,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 '304': *35 @@ -109758,7 +109926,7 @@ paths: application/json: schema: type: array - items: *321 + items: *323 examples: default: value: @@ -109844,10 +110012,10 @@ paths: application/json: schema: oneOf: - - *657 - - *656 + - *659 + - *658 examples: - default-response: &685 + default-response: &687 summary: Default response value: login: octocat @@ -109882,7 +110050,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &688 summary: Response with GitHub plan information value: login: octocat @@ -109939,14 +110107,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &683 + - &685 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *265 + - *267 requestBody: required: true description: Details of the draft item to create in the project. @@ -109980,9 +110148,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: - draft_issue: *271 + draft_issue: *273 '304': *35 '403': *27 '401': *23 @@ -110005,7 +110173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *682 + - *684 - *17 responses: '200': @@ -110040,8 +110208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *683 - - *265 + - *685 + - *267 requestBody: required: true content: @@ -110115,17 +110283,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *684 + schema: *686 examples: table_view: summary: Response for creating a table view - value: *275 + value: *277 board_view: summary: Response for creating a board view with filter - value: *275 + value: *277 roadmap_view: summary: Response for creating a roadmap view - value: *275 + value: *277 '304': *35 '403': *27 '401': *23 @@ -110167,11 +110335,11 @@ paths: application/json: schema: oneOf: - - *657 - - *656 + - *659 + - *658 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *687 + response-with-git-hub-plan-information: *688 '404': *6 x-github: githubCloudOnly: false @@ -110221,8 +110389,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *689 + withPredicateType: *690 responses: '200': description: Response @@ -110276,7 +110444,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110496,7 +110664,7 @@ paths: initiator: type: string examples: - default: *386 + default: *388 '201': description: Response content: @@ -110549,9 +110717,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 + default: *674 '403': *27 '401': *23 x-github: @@ -110935,9 +111103,9 @@ paths: application/json: schema: type: array - items: *663 + items: *665 examples: - default: *690 + default: *692 headers: Link: *66 x-github: @@ -111041,7 +111209,7 @@ paths: application/json: schema: *20 examples: - default: *519 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111166,7 +111334,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *70 - *19 - *17 @@ -111177,12 +111345,12 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *672 + default: *674 '403': *27 '401': *23 - '400': *673 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111202,17 +111370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111233,8 +111401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '204': @@ -111267,8 +111435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 - name: token description: package token @@ -111301,8 +111469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *249 - - *250 + - *251 + - *252 - *70 responses: '200': @@ -111311,7 +111479,7 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: default: value: @@ -111369,16 +111537,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *249 - - *250 + - *251 - *252 + - *254 - *70 responses: '200': description: Response content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -111413,10 +111581,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -111448,10 +111616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *249 - - *250 - - *70 + - *251 - *252 + - *70 + - *254 responses: '204': description: Response @@ -111492,9 +111660,9 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -111516,16 +111684,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *265 + - *267 - *70 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 headers: Link: *66 '304': *35 @@ -111547,7 +111715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *265 + - *267 - *70 - *17 - *45 @@ -111559,9 +111727,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *692 + default: *694 headers: Link: *66 '304': *35 @@ -111583,7 +111751,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true content: @@ -111621,7 +111789,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *693 + items: *695 required: - name - data_type @@ -111637,7 +111805,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *694 + iteration_configuration: *696 required: - name - data_type @@ -111659,20 +111827,20 @@ paths: value: name: Due date data_type: date - single_select_field: *695 - iteration_field: *696 + single_select_field: *697 + iteration_field: *698 responses: '201': description: Response content: application/json: - schema: *268 + schema: *270 examples: - text_field: *697 - number_field: *698 - date_field: *699 - single_select_field: *700 - iteration_field: *701 + text_field: *699 + number_field: *700 + date_field: *701 + single_select_field: *702 + iteration_field: *703 '304': *35 '403': *27 '401': *23 @@ -111693,17 +111861,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *265 - - *702 + - *267 + - *704 - *70 responses: '200': description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *703 + default: *705 headers: Link: *66 '304': *35 @@ -111726,7 +111894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - *45 - *46 @@ -111759,9 +111927,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -111783,7 +111951,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *265 + - *267 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -111853,22 +112021,22 @@ paths: description: Response content: application/json: - schema: *270 + schema: *272 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *271 + value: *273 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *271 + value: *273 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *271 + value: *273 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *271 + value: *273 '304': *35 '403': *27 '401': *23 @@ -111888,9 +112056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *265 + - *267 - *70 - - *274 + - *276 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -111910,9 +112078,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -111933,9 +112101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -112008,13 +112176,13 @@ paths: description: Response content: application/json: - schema: *272 + schema: *274 examples: - text_field: *273 - number_field: *273 - date_field: *273 - single_select_field: *273 - iteration_field: *273 + text_field: *275 + number_field: *275 + date_field: *275 + single_select_field: *275 + iteration_field: *275 '401': *23 '403': *27 '404': *6 @@ -112034,9 +112202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *265 + - *267 - *70 - - *274 + - *276 responses: '204': description: Response @@ -112058,9 +112226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *265 + - *267 - *70 - - *704 + - *706 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -112086,9 +112254,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 headers: Link: *66 '304': *35 @@ -112309,7 +112477,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -112335,7 +112503,7 @@ paths: - *116 - *118 - *117 - - *705 + - *707 - *119 responses: '200': @@ -112466,7 +112634,7 @@ paths: parameters: - *70 - *116 - - *706 + - *708 - *117 responses: '200': @@ -112565,9 +112733,9 @@ paths: - *116 - *118 - *117 - - *707 + - *709 - *119 - - *708 + - *710 responses: '200': description: Response when getting a billing usage summary @@ -112701,9 +112869,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 headers: Link: *66 x-github: @@ -112733,9 +112901,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *709 + default: *711 headers: Link: *66 x-github: @@ -112760,7 +112928,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *710 + - *712 - *60 - *17 - *19 @@ -112772,11 +112940,11 @@ paths: schema: anyOf: - type: array - items: *711 + items: *713 - type: array items: *78 examples: - default-response: *681 + default-response: *683 headers: Link: *66 x-github: @@ -112807,7 +112975,7 @@ paths: type: array items: *153 examples: - default: *253 + default: *255 headers: Link: *66 x-github: @@ -112936,7 +113104,7 @@ webhooks: type: string enum: - disabled - enterprise: &712 + enterprise: &714 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -113005,7 +113173,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &713 + installation: &715 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -113026,7 +113194,7 @@ webhooks: required: - id - node_id - organization: &714 + organization: &716 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -113099,7 +113267,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &715 + repository: &717 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114039,10 +114207,10 @@ webhooks: type: string enum: - enabled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -114118,11 +114286,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: &716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: &718 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) @@ -114345,11 +114513,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -114537,11 +114705,11 @@ webhooks: - everyone required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - rule: *716 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -114625,7 +114793,7 @@ webhooks: type: string enum: - completed - check_run: &718 + check_run: &720 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114735,7 +114903,7 @@ webhooks: - examples: - neutral - deployment: *717 + deployment: *719 details_url: type: string examples: @@ -114833,10 +115001,10 @@ webhooks: - output - app - pull_requests - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -115227,11 +115395,11 @@ webhooks: type: string enum: - created - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -115625,11 +115793,11 @@ webhooks: type: string enum: - requested_action - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 requested_action: description: The action requested by the user. type: object @@ -116032,11 +116200,11 @@ webhooks: type: string enum: - rerequested - check_run: *718 - installation: *713 - enterprise: *712 - organization: *714 - repository: *715 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -117021,10 +117189,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -117728,10 +117896,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -118429,10 +118597,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -118601,7 +118769,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118753,20 +118921,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &719 + commit_oid: &721 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: *712 - installation: *713 - organization: *714 - ref: &720 + enterprise: *714 + installation: *715 + organization: *716 + ref: &722 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: *715 + repository: *717 sender: *4 required: - action @@ -118933,7 +119101,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119174,12 +119342,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -119277,7 +119445,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119462,12 +119630,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -119636,7 +119804,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119813,12 +119981,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -119919,7 +120087,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120108,9 +120276,9 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120118,7 +120286,7 @@ webhooks: type: - string - 'null' - repository: *715 + repository: *717 sender: *4 required: - action @@ -120217,7 +120385,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120364,12 +120532,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *719 - enterprise: *712 - installation: *713 - organization: *714 - ref: *720 - repository: *715 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -120538,7 +120706,7 @@ webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *419 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -120690,10 +120858,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120953,10 +121121,10 @@ webhooks: - updated_at - author_association - body - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121037,18 +121205,18 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *714 - pusher_type: &721 + organization: *716 + pusher_type: &723 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &722 + ref: &724 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -121058,7 +121226,7 @@ webhooks: enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -121140,10 +121308,10 @@ webhooks: type: string enum: - created - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -121228,9 +121396,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -121307,10 +121475,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -121387,10 +121555,10 @@ webhooks: type: string enum: - updated - definition: *276 - enterprise: *712 - installation: *713 - organization: *714 + definition: *278 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -121467,19 +121635,19 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - repository: *715 - organization: *714 + enterprise: *714 + installation: *715 + repository: *717 + organization: *716 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *280 + items: *282 old_property_values: type: array description: The old custom property values for the repository. - items: *280 + items: *282 required: - action - repository @@ -121555,18 +121723,18 @@ webhooks: title: delete event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - pusher_type: *721 - ref: *722 + enterprise: *714 + installation: *715 + organization: *716 + pusher_type: *723 + ref: *724 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *715 + repository: *717 sender: *4 required: - ref @@ -121646,11 +121814,11 @@ webhooks: type: string enum: - assignees_changed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121730,11 +121898,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121815,11 +121983,11 @@ webhooks: type: string enum: - auto_reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121900,11 +122068,11 @@ webhooks: type: string enum: - created - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -121983,11 +122151,11 @@ webhooks: type: string enum: - dismissed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -122066,11 +122234,11 @@ webhooks: type: string enum: - fixed - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -122150,11 +122318,11 @@ webhooks: type: string enum: - reintroduced - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -122233,11 +122401,11 @@ webhooks: type: string enum: - reopened - alert: *477 - installation: *713 - organization: *714 - enterprise: *712 - repository: *715 + alert: *479 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -122314,9 +122482,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - key: &723 + enterprise: *714 + installation: *715 + key: &725 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122354,8 +122522,8 @@ webhooks: - verified - created_at - read_only - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122432,11 +122600,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - key: *723 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + key: *725 + organization: *716 + repository: *717 sender: *4 required: - action @@ -123003,12 +123171,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: &727 + workflow: &729 title: Workflow type: - object @@ -123759,13 +123927,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *484 + - *486 pull_requests: type: array - items: *569 - repository: *715 - organization: *714 - installation: *713 + items: *571 + repository: *717 + organization: *716 + installation: *715 sender: *4 responses: '200': @@ -123836,7 +124004,7 @@ webhooks: type: string enum: - approved - approver: &724 + approver: &726 type: object properties: avatar_url: @@ -123879,11 +124047,11 @@ webhooks: type: string comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: &725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: &727 type: array items: type: object @@ -123964,7 +124132,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &726 + workflow_job_run: &728 type: object properties: conclusion: @@ -124710,18 +124878,18 @@ webhooks: type: string enum: - rejected - approver: *724 + approver: *726 comment: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - reviewers: *725 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: *727 sender: *4 since: type: string - workflow_job_run: *726 + workflow_job_run: *728 workflow_job_runs: type: array items: @@ -125438,13 +125606,13 @@ webhooks: type: string enum: - requested - enterprise: *712 + enterprise: *714 environment: type: string - installation: *713 - organization: *714 - repository: *715 - requestor: &732 + installation: *715 + organization: *716 + repository: *717 + requestor: &734 title: User type: - object @@ -127377,12 +127545,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Deployment Workflow Run type: @@ -128073,7 +128241,7 @@ webhooks: type: string enum: - answered - answer: &730 + answer: &732 type: object properties: author_association: @@ -128233,11 +128401,11 @@ webhooks: - created_at - updated_at - body - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128364,11 +128532,11 @@ webhooks: - from required: - category - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128451,11 +128619,11 @@ webhooks: type: string enum: - closed - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128537,7 +128705,7 @@ webhooks: type: string enum: - created - comment: &729 + comment: &731 type: object properties: author_association: @@ -128697,11 +128865,11 @@ webhooks: - updated_at - body - reactions - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128784,12 +128952,12 @@ webhooks: type: string enum: - deleted - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128884,12 +129052,12 @@ webhooks: - from required: - body - comment: *729 - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128973,11 +129141,11 @@ webhooks: type: string enum: - created - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129059,11 +129227,11 @@ webhooks: type: string enum: - deleted - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129163,11 +129331,11 @@ webhooks: type: string required: - from - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129249,10 +129417,10 @@ webhooks: type: string enum: - labeled - discussion: *728 - enterprise: *712 - installation: *713 - label: &731 + discussion: *730 + enterprise: *714 + installation: *715 + label: &733 title: Label type: object properties: @@ -129285,8 +129453,8 @@ webhooks: - color - default - description - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129369,11 +129537,11 @@ webhooks: type: string enum: - locked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129455,11 +129623,11 @@ webhooks: type: string enum: - pinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129541,11 +129709,11 @@ webhooks: type: string enum: - reopened - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129630,16 +129798,16 @@ webhooks: changes: type: object properties: - new_discussion: *728 - new_repository: *715 + new_discussion: *730 + new_repository: *717 required: - new_discussion - new_repository - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129722,10 +129890,10 @@ webhooks: type: string enum: - unanswered - discussion: *728 - old_answer: *730 - organization: *714 - repository: *715 + discussion: *730 + old_answer: *732 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129807,12 +129975,12 @@ webhooks: type: string enum: - unlabeled - discussion: *728 - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129895,11 +130063,11 @@ webhooks: type: string enum: - unlocked - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129981,11 +130149,11 @@ webhooks: type: string enum: - unpinned - discussion: *728 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -130058,7 +130226,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *712 + enterprise: *714 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -130736,9 +130904,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - forkee @@ -130884,9 +131052,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pages: description: The pages that were updated. type: array @@ -130924,7 +131092,7 @@ webhooks: - action - sha - html_url - repository: *715 + repository: *717 sender: *4 required: - pages @@ -131000,10 +131168,10 @@ webhooks: type: string enum: - created - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: &733 + organization: *716 + repositories: &735 description: An array of repository objects that the installation can access. type: array @@ -131029,8 +131197,8 @@ webhooks: - name - full_name - private - repository: *715 - requester: *732 + repository: *717 + requester: *734 sender: *4 required: - action @@ -131105,11 +131273,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -131186,11 +131354,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -131267,10 +131435,10 @@ webhooks: type: string enum: - added - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: &734 + organization: *716 + repositories_added: &736 description: An array of repository objects, which were added to the installation. type: array @@ -131316,15 +131484,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *715 - repository_selection: &735 + repository: *717 + repository_selection: &737 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *732 + requester: *734 sender: *4 required: - action @@ -131403,10 +131571,10 @@ webhooks: type: string enum: - removed - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories_added: *734 + organization: *716 + repositories_added: *736 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131433,9 +131601,9 @@ webhooks: - name - full_name - private - repository: *715 - repository_selection: *735 - requester: *732 + repository: *717 + repository_selection: *737 + requester: *734 sender: *4 required: - action @@ -131514,11 +131682,11 @@ webhooks: type: string enum: - suspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -131700,10 +131868,10 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 target_type: type: string @@ -131782,11 +131950,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *712 + enterprise: *714 installation: *20 - organization: *714 - repositories: *733 - repository: *715 + organization: *716 + repositories: *735 + repository: *717 requester: type: - 'null' @@ -131952,7 +132120,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 user: title: User type: @@ -132038,8 +132206,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -132851,8 +133019,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132869,7 +133037,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -133213,8 +133381,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -133294,7 +133462,7 @@ webhooks: type: string enum: - deleted - comment: &736 + comment: &738 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -133451,7 +133619,7 @@ webhooks: pin: anyOf: - type: 'null' - - *548 + - *550 required: - url - html_url @@ -133465,8 +133633,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -134274,8 +134442,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134292,7 +134460,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -134638,8 +134806,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -134719,7 +134887,7 @@ webhooks: type: string enum: - edited - changes: &760 + changes: &762 description: The changes to the comment. type: object properties: @@ -134731,9 +134899,9 @@ webhooks: type: string required: - from - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -135544,8 +135712,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135562,7 +135730,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -135906,8 +136074,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -135988,9 +136156,9 @@ webhooks: type: string enum: - pinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -136803,8 +136971,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136821,7 +136989,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -137167,8 +137335,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137248,9 +137416,9 @@ webhooks: type: string enum: - unpinned - comment: *736 - enterprise: *712 - installation: *713 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138063,8 +138231,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138081,7 +138249,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -138427,8 +138595,8 @@ webhooks: - state - locked - assignee - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138517,9 +138685,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138608,9 +138776,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138698,9 +138866,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138789,9 +138957,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -138871,9 +139039,9 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 + assignee: *734 + enterprise: *714 + installation: *715 issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139685,11 +139853,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139706,7 +139874,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -139809,8 +139977,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -139890,8 +140058,8 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140707,11 +140875,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140728,7 +140896,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -140974,8 +141142,8 @@ webhooks: required: - state - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -141054,8 +141222,8 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141862,11 +142030,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141883,7 +142051,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -141985,8 +142153,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142065,8 +142233,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142896,11 +143064,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142917,7 +143085,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -142998,7 +143166,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &737 + milestone: &740 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143141,8 +143309,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143241,8 +143409,8 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144053,11 +144221,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144071,7 +144239,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -144177,9 +144345,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144199,6 +144367,354 @@ webhooks: - repository - organization - app + issues-field-added: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was set or updated on an issue. + operationId: issues/field-added + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_added event + type: object + properties: + action: + type: string + enum: + - field_added + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was set or updated on the + issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was set or updated for the issue field. + When updating an existing value, the previous value is available + in `changes`. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + changes: + type: object + description: The previous field value, present when an existing + value was updated. + properties: + issue_field_value: + type: object + description: The previous issue field value data. + properties: + from: + type: object + description: The previous value of the issue field before + the update. + properties: + id: + type: integer + description: The unique identifier of the issue field + value. + value: + description: The previous value. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the previously selected + option. Present for single_select field types. + option: + type: object + description: The previously selected option details. + Present for single_select field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + required: + - from + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app + issues-field-removed: + post: + summary: |- + This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. + + For activity relating to a comment on an issue, use the `issue_comment` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission. + description: An issue field value was cleared from an issue. + operationId: issues/field-removed + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#issues + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: issues field_removed event + type: object + properties: + action: + type: string + enum: + - field_removed + enterprise: *714 + installation: *715 + issue: *739 + issue_field: + type: object + description: The issue field whose value was cleared from the issue. + properties: + id: + type: integer + description: The unique identifier of the issue field. + name: + type: string + description: The name of the issue field. + field_type: + type: string + description: The data type of the issue field. + enum: + - text + - date + - single_select + - number + required: + - id + - name + - field_type + issue_field_value: + type: object + description: The value that was cleared from the issue field. + properties: + id: + type: integer + description: The unique identifier of the issue field value. + value: + description: The value of the field. Present for text, date, + and number field types. + anyOf: + - type: string + - type: number + - type: integer + type: + - 'null' + - string + - number + - integer + value_id: + type: integer + description: The identifier of the selected option. Present + for single_select field types. + option: + type: object + description: The selected option details. Present for single_select + field types. + properties: + id: + type: integer + name: + type: string + color: + type: string + description: + type: + - string + - 'null' + required: + - id + organization: *716 + repository: *717 + sender: *4 + required: + - action + - issue + - issue_field + - repository + - sender + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: issues + supported-webhook-types: + - repository + - organization + - app issues-labeled: post: summary: |- @@ -144259,8 +144775,8 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145070,11 +145586,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145088,7 +145604,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -145194,9 +145710,9 @@ webhooks: - active_lock_reason - body - reactions - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145276,8 +145792,8 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146112,11 +146628,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146130,7 +146646,7 @@ webhooks: timeline_url: type: string format: uri - type: *230 + type: *232 title: description: Title of the issue type: string @@ -146213,8 +146729,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146293,8 +146809,8 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147123,11 +147639,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147144,7 +147660,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -147224,9 +147740,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *737 - organization: *714 - repository: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -148113,11 +148629,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148217,7 +148733,7 @@ webhooks: required: - login - id - type: *230 + type: *232 required: - id - number @@ -148709,8 +149225,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149517,11 +150033,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149538,7 +150054,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -149644,8 +150160,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -149725,9 +150241,9 @@ webhooks: type: string enum: - pinned - enterprise: *712 - installation: *713 - issue: &738 + enterprise: *714 + installation: *715 + issue: &741 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -150532,11 +151048,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150553,7 +151069,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -150655,8 +151171,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -150735,8 +151251,8 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151569,11 +152085,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151670,9 +152186,9 @@ webhooks: format: uri user_view_type: type: string - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -152560,11 +153076,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152581,7 +153097,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -153174,11 +153690,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153258,12 +153774,12 @@ webhooks: type: string enum: - typed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153344,7 +153860,7 @@ webhooks: type: string enum: - unassigned - assignee: &763 + assignee: &765 title: User type: - object @@ -153416,11 +153932,11 @@ webhooks: required: - login - id - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153499,12 +154015,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - label: *731 - organization: *714 - repository: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -153584,8 +154100,8 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154418,11 +154934,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *651 + issue_dependencies_summary: *652 issue_field_values: type: array - items: *532 + items: *534 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154439,7 +154955,7 @@ webhooks: title: description: Title of the issue type: string - type: *230 + type: *232 updated_at: type: string format: date-time @@ -154519,8 +155035,8 @@ webhooks: format: uri user_view_type: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154600,11 +155116,11 @@ webhooks: type: string enum: - unpinned - enterprise: *712 - installation: *713 - issue: *738 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154683,12 +155199,12 @@ webhooks: type: string enum: - untyped - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 issue: *739 - type: *230 - organization: *714 - repository: *715 + type: *232 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154768,11 +155284,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154850,11 +155366,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -154964,11 +155480,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - label: *731 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -155050,9 +155566,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: &740 + enterprise: *714 + installation: *715 + marketplace_purchase: &742 title: Marketplace Purchase type: object required: @@ -155140,8 +155656,8 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: &741 + organization: *716 + previous_marketplace_purchase: &743 title: Marketplace Purchase type: object properties: @@ -155225,7 +155741,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -155305,10 +155821,10 @@ webhooks: - changed effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155396,7 +155912,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -155478,10 +155994,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155567,7 +156083,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *715 + repository: *717 sender: *4 required: - action @@ -155648,8 +156164,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 marketplace_purchase: title: Marketplace Purchase type: object @@ -155735,9 +156251,9 @@ webhooks: type: integer unit_count: type: integer - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -155817,12 +156333,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *712 - installation: *713 - marketplace_purchase: *740 - organization: *714 - previous_marketplace_purchase: *741 - repository: *715 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -155924,11 +156440,11 @@ webhooks: type: string required: - to - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156030,11 +156546,11 @@ webhooks: type: - string - 'null' - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156113,11 +156629,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156195,11 +156711,11 @@ webhooks: type: string enum: - added - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156277,7 +156793,7 @@ webhooks: required: - login - id - team: &742 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -156507,11 +157023,11 @@ webhooks: type: string enum: - removed - enterprise: *712 - installation: *713 - member: *732 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156590,7 +157106,7 @@ webhooks: required: - login - id - team: *742 + team: *744 required: - action - scope @@ -156672,8 +157188,8 @@ webhooks: type: string enum: - checks_requested - installation: *713 - merge_group: &743 + installation: *715 + merge_group: &745 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -156692,15 +157208,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *406 + head_commit: *408 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156786,10 +157302,10 @@ webhooks: - merged - invalidated - dequeued - installation: *713 - merge_group: *743 - organization: *714 - repository: *715 + installation: *715 + merge_group: *745 + organization: *716 + repository: *717 sender: *4 required: - action @@ -156862,7 +157378,7 @@ webhooks: type: string enum: - deleted - enterprise: *712 + enterprise: *714 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -156971,12 +157487,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *713 - organization: *714 + installation: *715 + organization: *716 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -157056,11 +157572,11 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157139,9 +157655,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - milestone: &744 + enterprise: *714 + installation: *715 + milestone: &746 title: Milestone description: A collection of related issues and pull requests. type: object @@ -157283,8 +157799,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157363,11 +157879,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157477,11 +157993,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - milestone: *737 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157561,11 +158077,11 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - milestone: *744 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + milestone: *746 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157644,11 +158160,11 @@ webhooks: type: string enum: - blocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157727,11 +158243,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *732 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -157810,9 +158326,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - membership: &745 + enterprise: *714 + installation: *715 + membership: &747 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -157922,8 +158438,8 @@ webhooks: - role - organization_url - user - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -158001,11 +158517,11 @@ webhooks: type: string enum: - member_added - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -158084,8 +158600,8 @@ webhooks: type: string enum: - member_invited - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -158207,10 +158723,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 - user: *732 + user: *734 required: - action - invitation @@ -158288,11 +158804,11 @@ webhooks: type: string enum: - member_removed - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -158379,11 +158895,11 @@ webhooks: properties: from: type: string - enterprise: *712 - installation: *713 - membership: *745 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + membership: *747 + organization: *716 + repository: *717 sender: *4 required: - action @@ -158460,9 +158976,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -158985,7 +159501,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &746 + items: &748 title: Ruby Gems metadata type: object properties: @@ -159082,7 +159598,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -159158,9 +159674,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -159522,7 +160038,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 source_url: type: string format: uri @@ -159593,7 +160109,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -159773,12 +160289,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *712 + enterprise: *714 id: type: integer - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - id @@ -159855,7 +160371,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &747 + personal_access_token_request: &749 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -160005,10 +160521,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *712 - organization: *714 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -160085,11 +160601,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -160165,11 +160681,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *747 - enterprise: *712 - organization: *714 + personal_access_token_request: *749 + enterprise: *714 + organization: *716 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -160244,11 +160760,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *747 - organization: *714 - enterprise: *712 + personal_access_token_request: *749 + organization: *716 + enterprise: *714 sender: *4 - installation: *713 + installation: *715 required: - action - personal_access_token_request @@ -160353,7 +160869,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *748 + last_response: *750 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -160385,8 +160901,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 zen: description: Random string of GitHub zen. @@ -160631,10 +161147,10 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: &749 + enterprise: *714 + installation: *715 + organization: *716 + project_card: &751 title: Project Card type: object properties: @@ -160757,7 +161273,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -160838,11 +161354,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -160922,9 +161438,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: title: Project Card type: object @@ -161054,7 +161570,7 @@ webhooks: repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -161148,11 +161664,11 @@ webhooks: - from required: - note - enterprise: *712 - installation: *713 - organization: *714 - project_card: *749 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *751 + repository: *717 sender: *4 required: - action @@ -161246,9 +161762,9 @@ webhooks: - from required: - column_id - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 project_card: allOf: - title: Project Card @@ -161445,7 +161961,7 @@ webhooks: type: string required: - after_id - repository: *715 + repository: *717 sender: *4 required: - action @@ -161525,10 +162041,10 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - organization: *714 - project: &751 + enterprise: *714 + installation: *715 + organization: *716 + project: &753 title: Project type: object properties: @@ -161655,7 +162171,7 @@ webhooks: - creator - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -161735,10 +162251,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project_column: &750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: &752 title: Project Column type: object properties: @@ -161778,7 +162294,7 @@ webhooks: - name - created_at - updated_at - repository: *715 + repository: *717 sender: *4 required: - action @@ -161857,14 +162373,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -161953,11 +162469,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -162037,11 +162553,11 @@ webhooks: type: string enum: - moved - enterprise: *712 - installation: *713 - organization: *714 - project_column: *750 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *752 + repository: *717 sender: *4 required: - action @@ -162121,11 +162637,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -162205,14 +162721,14 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - project: *751 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 repository: anyOf: - type: 'null' - - *715 + - *717 sender: *4 required: - action @@ -162313,11 +162829,11 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -162396,11 +162912,11 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - organization: *714 - project: *751 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + project: *753 + repository: *717 sender: *4 required: - action @@ -162481,9 +162997,9 @@ webhooks: type: string enum: - closed - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162564,9 +163080,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162647,9 +163163,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162770,9 +163286,9 @@ webhooks: type: string to: type: string - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -162855,7 +163371,7 @@ webhooks: type: string enum: - archived - changes: &755 + changes: &757 type: object properties: archived_at: @@ -162871,9 +163387,9 @@ webhooks: - string - 'null' format: date-time - installation: *713 - organization: *714 - projects_v2_item: &752 + installation: *715 + organization: *716 + projects_v2_item: &754 title: Projects v2 Item description: An item belonging to a project type: object @@ -162891,7 +163407,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *269 + content_type: *271 creator: *4 created_at: type: string @@ -163013,9 +163529,9 @@ webhooks: - 'null' to: type: string - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163097,9 +163613,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163180,9 +163696,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163287,7 +163803,7 @@ webhooks: oneOf: - type: string - type: integer - - &753 + - &755 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -163311,7 +163827,7 @@ webhooks: required: - id - name - - &754 + - &756 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -163351,8 +163867,8 @@ webhooks: oneOf: - type: string - type: integer - - *753 - - *754 + - *755 + - *756 type: - 'null' - string @@ -163375,9 +163891,9 @@ webhooks: - 'null' required: - body - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163474,9 +163990,9 @@ webhooks: type: - string - 'null' - installation: *713 - organization: *714 - projects_v2_item: *752 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163559,10 +164075,10 @@ webhooks: type: string enum: - restored - changes: *755 - installation: *713 - organization: *714 - projects_v2_item: *752 + changes: *757 + installation: *715 + organization: *716 + projects_v2_item: *754 sender: *4 required: - action @@ -163644,9 +164160,9 @@ webhooks: type: string enum: - reopened - installation: *713 - organization: *714 - projects_v2: *263 + installation: *715 + organization: *716 + projects_v2: *265 sender: *4 required: - action @@ -163727,9 +164243,9 @@ webhooks: type: string enum: - created - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -163810,9 +164326,9 @@ webhooks: type: string enum: - deleted - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -163958,9 +164474,9 @@ webhooks: - string - 'null' format: date - installation: *713 - organization: *714 - projects_v2_status_update: *756 + installation: *715 + organization: *716 + projects_v2_status_update: *758 sender: *4 required: - action @@ -164031,10 +164547,10 @@ webhooks: title: public event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - repository @@ -164111,13 +164627,13 @@ webhooks: type: string enum: - assigned - assignee: *732 - enterprise: *712 - installation: *713 - number: &757 + assignee: *734 + enterprise: *714 + installation: *715 + number: &759 description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -166488,7 +167004,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -166585,11 +167101,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -168953,7 +169469,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -169050,11 +169566,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -171418,7 +171934,7 @@ webhooks: - draft reason: type: string - repository: *715 + repository: *717 sender: *4 required: - action @@ -171515,13 +172031,13 @@ webhooks: type: string enum: - closed - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: &758 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: &760 allOf: - - *569 + - *571 - type: object properties: allow_auto_merge: @@ -171583,7 +172099,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *715 + repository: *717 sender: *4 required: - action @@ -171664,12 +172180,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -171749,11 +172265,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: &759 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: &761 title: Pull Request type: object properties: @@ -174144,7 +174660,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *715 + repository: *717 sender: *4 required: - action @@ -174223,11 +174739,11 @@ webhooks: type: string enum: - dequeued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -176595,7 +177111,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *715 + repository: *717 sender: *4 required: - action @@ -176727,12 +177243,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -176812,11 +177328,11 @@ webhooks: type: string enum: - enqueued - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -179169,7 +179685,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -179257,11 +179773,11 @@ webhooks: type: string enum: - labeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -181631,7 +182147,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -181727,10 +182243,10 @@ webhooks: type: string enum: - locked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -184098,7 +184614,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -184193,12 +184709,12 @@ webhooks: type: string enum: - milestoned - enterprise: *712 - milestone: *266 - number: *757 - organization: *714 - pull_request: *759 - repository: *715 + enterprise: *714 + milestone: *268 + number: *759 + organization: *716 + pull_request: *761 + repository: *717 sender: *4 required: - action @@ -184277,12 +184793,12 @@ webhooks: type: string enum: - opened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -184363,12 +184879,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -184448,12 +184964,12 @@ webhooks: type: string enum: - reopened - enterprise: *712 - installation: *713 - number: *757 - organization: *714 - pull_request: *758 - repository: *715 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 + pull_request: *760 + repository: *717 sender: *4 required: - action @@ -184828,9 +185344,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -187082,7 +187598,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -187177,7 +187693,7 @@ webhooks: type: string enum: - deleted - comment: &761 + comment: &763 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -187470,9 +187986,9 @@ webhooks: - start_side - side - reactions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -189712,7 +190228,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -189807,11 +190323,11 @@ webhooks: type: string enum: - edited - changes: *760 - comment: *761 - enterprise: *712 - installation: *713 - organization: *714 + changes: *762 + comment: *763 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -192054,7 +192570,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *715 + repository: *717 sender: *4 required: - action @@ -192150,9 +192666,9 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -194407,7 +194923,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 review: description: The review that was affected. type: object @@ -194673,9 +195189,9 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -196789,8 +197305,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: &762 + repository: *717 + review: &764 description: The review that was affected. type: object properties: @@ -197036,12 +197552,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -199410,7 +199926,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -199496,12 +200012,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -201877,7 +202393,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202095,12 +202611,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -204471,7 +204987,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_reviewer: title: User type: @@ -204558,12 +205074,12 @@ webhooks: type: string enum: - review_requested - enterprise: *712 - installation: *713 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *714 + organization: *716 pull_request: title: Pull Request type: object @@ -206925,7 +207441,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207132,9 +207648,9 @@ webhooks: type: string enum: - submitted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -209392,8 +209908,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 - review: *762 + repository: *717 + review: *764 sender: *4 required: - action @@ -209488,9 +210004,9 @@ webhooks: type: string enum: - resolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -211643,7 +212159,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -212048,9 +212564,9 @@ webhooks: type: string enum: - unresolved - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -214186,7 +214702,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *715 + repository: *717 sender: *4 thread: type: object @@ -214593,10 +215109,10 @@ webhooks: type: string before: type: string - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -216953,7 +217469,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -217050,11 +217566,11 @@ webhooks: type: string enum: - unassigned - assignee: *763 - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + assignee: *765 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -219426,7 +219942,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -219520,11 +220036,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *712 - installation: *713 - label: *731 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + label: *733 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -221885,7 +222401,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -221981,10 +222497,10 @@ webhooks: type: string enum: - unlocked - enterprise: *712 - installation: *713 - number: *757 - organization: *714 + enterprise: *714 + installation: *715 + number: *759 + organization: *716 pull_request: title: Pull Request type: object @@ -224335,7 +224851,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *715 + repository: *717 sender: *4 required: - action @@ -224553,7 +225069,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *712 + enterprise: *714 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224648,8 +225164,8 @@ webhooks: - url - author - committer - installation: *713 - organization: *714 + installation: *715 + organization: *716 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225248,9 +225764,9 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -225727,7 +226243,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -225783,7 +226299,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -225861,9 +226377,9 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -226175,7 +226691,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *746 + items: *748 summary: type: string tag_name: @@ -226225,7 +226741,7 @@ webhooks: - owner - package_version - registry - repository: *715 + repository: *717 sender: *4 required: - action @@ -226302,10 +226818,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - release: &764 + enterprise: *714 + installation: *715 + organization: *716 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -226636,7 +227152,7 @@ webhooks: - updated_at - zipball_url - body - repository: *715 + repository: *717 sender: *4 required: - action @@ -226713,11 +227229,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -226834,11 +227350,11 @@ webhooks: type: boolean required: - to - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -226916,9 +227432,9 @@ webhooks: type: string enum: - prereleased - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -227254,7 +227770,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -227330,10 +227846,10 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - release: &765 + enterprise: *714 + installation: *715 + organization: *716 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -227666,7 +228182,7 @@ webhooks: - string - 'null' format: uri - repository: *715 + repository: *717 sender: *4 required: - action @@ -227742,11 +228258,11 @@ webhooks: type: string enum: - released - enterprise: *712 - installation: *713 - organization: *714 - release: *764 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *766 + repository: *717 sender: *4 required: - action @@ -227822,11 +228338,11 @@ webhooks: type: string enum: - unpublished - enterprise: *712 - installation: *713 - organization: *714 - release: *765 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + release: *767 + repository: *717 sender: *4 required: - action @@ -227902,11 +228418,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -227982,11 +228498,11 @@ webhooks: type: string enum: - reported - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_advisory: *636 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *638 sender: *4 required: - action @@ -228062,10 +228578,10 @@ webhooks: type: string enum: - archived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228142,10 +228658,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228223,10 +228739,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228311,10 +228827,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228429,10 +228945,10 @@ webhooks: - 'null' items: type: string - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228504,10 +229020,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 status: type: string @@ -228588,10 +229104,10 @@ webhooks: type: string enum: - privatized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228668,10 +229184,10 @@ webhooks: type: string enum: - publicized - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228765,10 +229281,10 @@ webhooks: - name required: - repository - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -228848,11 +229364,11 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -228930,11 +229446,11 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 sender: *4 required: - action @@ -229012,11 +229528,11 @@ webhooks: type: string enum: - edited - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - repository_ruleset: *308 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *310 changes: type: object properties: @@ -229035,16 +229551,16 @@ webhooks: properties: added: type: array - items: *282 + items: *284 deleted: type: array - items: *282 + items: *284 updated: type: array items: type: object properties: - condition: *282 + condition: *284 changes: type: object properties: @@ -229077,16 +229593,16 @@ webhooks: properties: added: type: array - items: *589 + items: *591 deleted: type: array - items: *589 + items: *591 updated: type: array items: type: object properties: - rule: *589 + rule: *591 changes: type: object properties: @@ -229323,10 +229839,10 @@ webhooks: - from required: - owner - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229404,10 +229920,10 @@ webhooks: type: string enum: - unarchived - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229485,7 +230001,7 @@ webhooks: type: string enum: - create - alert: &766 + alert: &768 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229610,10 +230126,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229823,10 +230339,10 @@ webhooks: type: string enum: - dismissed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -229904,11 +230420,11 @@ webhooks: type: string enum: - reopen - alert: *766 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *768 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230110,10 +230626,10 @@ webhooks: enum: - fixed - open - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230191,7 +230707,7 @@ webhooks: type: string enum: - assigned - alert: &767 + alert: &769 type: object properties: number: *171 @@ -230331,10 +230847,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230412,11 +230928,11 @@ webhooks: type: string enum: - created - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230497,11 +231013,11 @@ webhooks: type: string enum: - created - alert: *767 - installation: *713 - location: *768 - organization: *714 - repository: *715 + alert: *769 + installation: *715 + location: *770 + organization: *716 + repository: *717 sender: *4 required: - location @@ -230739,11 +231255,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230821,11 +231337,11 @@ webhooks: type: string enum: - reopened - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230903,11 +231419,11 @@ webhooks: type: string enum: - resolved - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -230985,12 +231501,12 @@ webhooks: type: string enum: - unassigned - alert: *767 + alert: *769 assignee: *4 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231068,11 +231584,11 @@ webhooks: type: string enum: - validated - alert: *767 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + alert: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -231202,10 +231718,10 @@ webhooks: - organization - enterprise - - repository: *715 - enterprise: *712 - installation: *713 - organization: *714 + repository: *717 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -231283,11 +231799,11 @@ webhooks: type: string enum: - published - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: &769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: &771 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231491,11 +232007,11 @@ webhooks: type: string enum: - updated - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 - security_advisory: *769 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: *771 sender: *4 required: - action @@ -231568,10 +232084,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231765,11 +232281,11 @@ webhooks: from: type: object properties: - security_and_analysis: *281 - enterprise: *712 - installation: *713 - organization: *714 - repository: *328 + security_and_analysis: *283 + enterprise: *714 + installation: *715 + organization: *716 + repository: *330 sender: *4 required: - changes @@ -231847,12 +232363,12 @@ webhooks: type: string enum: - cancelled - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: &770 + sponsorship: &772 type: object properties: created_at: @@ -232157,12 +232673,12 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -232250,12 +232766,12 @@ webhooks: type: string required: - from - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -232332,17 +232848,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &771 + effective_date: &773 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: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - sponsorship @@ -232416,7 +232932,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &772 + changes: &774 type: object properties: tier: @@ -232460,13 +232976,13 @@ webhooks: - from required: - tier - effective_date: *771 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + effective_date: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -232543,13 +233059,13 @@ webhooks: type: string enum: - tier_changed - changes: *772 - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + changes: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *770 + sponsorship: *772 required: - action - changes @@ -232623,10 +233139,10 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232710,10 +233226,10 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233147,15 +233663,15 @@ webhooks: type: - string - 'null' - enterprise: *712 + enterprise: *714 id: description: The unique identifier of the status. type: integer - installation: *713 + installation: *715 name: type: string - organization: *714 - repository: *715 + organization: *716 + repository: *717 sender: *4 sha: description: The Commit SHA. @@ -233271,9 +233787,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -233363,9 +233879,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -233455,9 +233971,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -233547,9 +234063,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *713 - organization: *714 - repository: *715 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -233626,12 +234142,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - team: &773 + team: &775 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233861,9 +234377,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -234333,7 +234849,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -234409,9 +234925,9 @@ webhooks: type: string enum: - created - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -234881,7 +235397,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -234958,9 +235474,9 @@ webhooks: type: string enum: - deleted - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -235430,7 +235946,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -235574,9 +236090,9 @@ webhooks: - from required: - permissions - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -236046,7 +236562,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - changes @@ -236124,9 +236640,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *712 - installation: *713 - organization: *714 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -236596,7 +237112,7 @@ webhooks: - topics - visibility sender: *4 - team: *773 + team: *775 required: - action - team @@ -236672,10 +237188,10 @@ webhooks: type: string enum: - started - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -236748,17 +237264,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *712 + enterprise: *714 inputs: type: - object - 'null' additionalProperties: true - installation: *713 - organization: *714 + installation: *715 + organization: *716 ref: type: string - repository: *715 + repository: *717 sender: *4 workflow: type: string @@ -236840,10 +237356,10 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -237099,7 +237615,7 @@ webhooks: type: string required: - conclusion - deployment: *484 + deployment: *486 required: - action - repository @@ -237178,10 +237694,10 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -237463,7 +237979,7 @@ webhooks: required: - status - steps - deployment: *484 + deployment: *486 required: - action - repository @@ -237542,10 +238058,10 @@ webhooks: type: string enum: - queued - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -237691,7 +238207,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -237770,10 +238286,10 @@ webhooks: type: string enum: - waiting - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -237920,7 +238436,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *484 + deployment: *486 required: - action - repository @@ -238000,12 +238516,12 @@ webhooks: type: string enum: - completed - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -239024,12 +239540,12 @@ webhooks: type: string enum: - in_progress - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -240033,12 +240549,12 @@ webhooks: type: string enum: - requested - enterprise: *712 - installation: *713 - organization: *714 - repository: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *727 + workflow: *729 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 92e5ca0df2..1d52e49f81 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -52274,6 +52274,1050 @@ } } }, + "/enterprises/{enterprise}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an enterprise", + "description": "Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "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": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "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" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an enterprise", + "description": "Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.\n\nThe authenticated user must be an enterprise owner to use this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/enterprises/{enterprise}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot in an enterprise", + "description": "Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nThe authenticated user must be an enterprise owner to use this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": false, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/enterprises/{enterprise}/dismissal-requests/secret-scanning": { "get": { "summary": "List alert dismissal requests for secret scanning for an enterprise", @@ -167355,6 +168399,9 @@ "schema": { "type": "object", "additionalProperties": false, + "required": [ + "selected_repository_ids" + ], "properties": { "selected_repository_ids": { "type": "array", @@ -1256438,19 +1257485,9012 @@ "type": "array", "items": { "title": "Label", - "type": [ - "object", - "null" - ], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], + "type": [ + "object", + "null" + ], + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ], + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + } + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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" + ], + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + } + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ], + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + } + } + } + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-edited": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues edited event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "edited" + ] + }, + "changes": { + "description": "The changes to the issue.", + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the body.", + "type": "string" + } + }, + "required": [ + "from" + ] + }, + "title": { + "type": "object", + "properties": { + "from": { + "description": "The previous version of the title.", + "type": "string" + } + }, + "required": [ + "from" + ] + } + } + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + } + }, + "labels_url": { + "type": "string", + "format": "uri-template" + }, + "locked": { + "type": "boolean" + }, + "milestone": { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": [ + "object", + "null" + ], + "properties": { + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "closed_issues": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "creator": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "labels_url": { + "type": "string", + "format": "uri" + }, + "node_id": { + "type": "string" + }, + "number": { + "description": "The number of the milestone.", + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "performed_via_github_app": { + "title": "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": { + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "events": { + "description": "The list of events for the GitHub app", + "type": "array", + "items": { + "type": "string", + "enum": [ + "branch_protection_rule", + "check_run", + "check_suite", + "code_scanning_alert", + "commit_comment", + "content_reference", + "create", + "delete", + "deployment", + "deployment_review", + "deployment_status", + "deploy_key", + "discussion", + "discussion_comment", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "org_block", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "secret_scanning_alert", + "star", + "status", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_run", + "security_and_analysis", + "pull_request_review_thread", + "reminder" + ] + } + }, + "external_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "description": "Unique identifier of the GitHub app", + "type": [ + "integer", + "null" + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "actions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "content_references": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "discussions": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "emails": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "keys": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "members": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_projects": { + "type": "string", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "security_scanning_alert": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "enum": [ + "read", + "write" + ] + } + } + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string" + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] + }, + "pull_request": { + "type": "object", + "properties": { + "diff_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "patch_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "reactions": { + "title": "Reactions", + "type": "object", + "properties": { + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "rocket": { + "type": "integer" + }, + "total_count": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "pinned_comment": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Issue Comment", + "description": "Comments provide a way for people to collaborate on an issue.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the issue comment", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue comment", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/comments/1" + ] + }, + "body": { + "description": "Contents of the issue comment", + "type": "string", + "examples": [ + "What version of Safari were you using when you observed this bug?" + ] + }, + "body_text": { + "type": "string" + }, + "body_html": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "issue_url": { + "type": "string", + "format": "uri" + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "pin": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Pinned Issue Comment", + "description": "Context around who pinned an issue comment and when it was pinned.", + "type": "object", + "properties": { + "pinned_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-14T16:00:49Z" + ] + }, + "pinned_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "pinned_at", + "pinned_by" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "html_url", + "issue_url", + "user", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "sub_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_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ] + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri" + }, + "user": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "label": { + "title": "Label", + "type": "object", + "properties": { + "color": { + "description": "6-character hex code, without the leading #, identifying the color", + "type": "string" + }, + "default": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "integer" + }, + "name": { + "description": "The name of the label.", + "type": "string" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the label", + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "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" + ] + } + ] + }, + "organization": { + "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" + ] + } + ] + }, + "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" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "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", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pull_requests": { + "description": "Whether pull requests are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "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 + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "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": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "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" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "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" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "issue", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, + "issues-field-added": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue field value was set or updated on an issue.", + "operationId": "issues/field-added", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "issues field_added event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "field_added" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "issue": { + "title": "Issue", + "description": "The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself.", + "type": "object", + "properties": { + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + "assignee": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + }, + "assignees": { + "type": "array", + "items": { + "title": "User", + "type": [ + "object", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + }, + "author_association": { + "title": "AuthorAssociation", + "description": "How the author is associated with the repository.", + "type": "string", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "comments": { + "type": "integer" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "labels": { + "type": "array", + "items": { + "title": "Label", + "type": "object", "properties": { "color": { "description": "6-character hex code, without the leading #, identifying the color", @@ -1256480,7 +1266520,16 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "color", + "default", + "description" + ] } }, "labels_url": { @@ -1256497,24 +1266546,6 @@ "object", "null" ], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], "properties": { "closed_at": { "type": [ @@ -1256536,10 +1266567,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1256628,7 +1266655,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "description": { "type": [ @@ -1256684,7 +1266715,25 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "html_url", + "labels_url", + "id", + "node_id", + "number", + "title", + "description", + "creator", + "open_issues", + "closed_issues", + "state", + "created_at", + "updated_at", + "due_on", + "closed_at" + ] }, "node_id": { "type": "string" @@ -1256699,17 +1266748,6 @@ "object", "null" ], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], "properties": { "created_at": { "type": [ @@ -1256774,7 +1266812,9 @@ "team_add", "watch", "workflow_dispatch", - "workflow_run" + "workflow_run", + "reminder", + "pull_request_review_thread" ] } }, @@ -1256809,10 +1266849,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1256900,7 +1266936,11 @@ "user_view_type": { "type": "string" } - } + }, + "required": [ + "login", + "id" + ] }, "permissions": { "description": "The set of permissions for the GitHub app", @@ -1257158,7 +1267198,18 @@ ], "format": "date-time" } - } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at" + ] }, "pull_request": { "type": "object", @@ -1257191,18 +1267242,6 @@ "reactions": { "title": "Reactions", "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], "properties": { "+1": { "type": "integer" @@ -1257235,7 +1267274,19 @@ "type": "string", "format": "uri" } - } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] }, "repository_url": { "type": "string", @@ -1258425,10 +1268476,6 @@ "object", "null" ], - "required": [ - "login", - "id" - ], "properties": { "avatar_url": { "type": "string", @@ -1258518,203 +1268565,197 @@ "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "closed_issues": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "creator": { - "title": "User", - "type": [ - "object", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } }, "required": [ "login", "id" ] - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "due_on": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri" - }, + } + }, + "required": [ + "url", + "repository_url", + "labels_url", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "number", + "title", + "user", + "assignees", + "milestone", + "comments", + "created_at", + "updated_at", + "closed_at", + "author_association", + "active_lock_reason", + "body", + "reactions" + ] + }, + "issue_field": { + "type": "object", + "description": "The issue field whose value was set or updated on the issue.", + "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, - "labels_url": { + "name": { "type": "string", - "format": "uri" - }, - "node_id": { - "type": "string" - }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { - "type": "integer" + "description": "The name of the issue field." }, - "state": { - "description": "The state of the milestone.", + "field_type": { "type": "string", + "description": "The data type of the issue field.", "enum": [ - "open", - "closed" + "text", + "date", + "single_select", + "number" ] + } + }, + "required": [ + "id", + "name", + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was set or updated for the issue field. When updating an existing value, the previous value is available in `changes`.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." }, - "title": { - "description": "The title of the milestone.", - "type": "string" + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] }, - "updated_at": { - "type": "string", - "format": "date-time" + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." }, - "url": { - "type": "string", - "format": "uri" + "option": { + "type": "object", + "description": "The selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } } }, "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" + "id" ] }, + "changes": { + "type": "object", + "description": "The previous field value, present when an existing value was updated.", + "properties": { + "issue_field_value": { + "type": "object", + "description": "The previous issue field value data.", + "properties": { + "from": { + "type": "object", + "description": "The previous value of the issue field before the update.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The previous value. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the previously selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The previously selected option details. Present for single_select field types.", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "required": [ + "id" + ] + } + }, + "required": [ + "from" + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1260491,6 +1270532,7 @@ "required": [ "action", "issue", + "issue_field", "repository", "sender" ] @@ -1260515,11 +1270557,11 @@ } } }, - "issues-edited": { + "issues-field-removed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue field value was cleared from an issue.", + "operationId": "issues/field-removed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -1260586,45 +1270628,15 @@ "content": { "application/json": { "schema": { - "title": "issues edited event", + "title": "issues field_removed event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "edited" + "field_removed" ] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": [ - "from" - ] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": [ - "from" - ] - } - } - }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -1260950,6 +1270962,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } }, "required": [ @@ -1261340,9 +1271355,8 @@ "watch", "workflow_dispatch", "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" + "reminder", + "pull_request_review_thread" ] } }, @@ -1262918,6 +1272932,10 @@ "type": "string", "format": "uri" }, + "title": { + "description": "Title of the issue", + "type": "string" + }, "type": { "title": "Issue Type", "description": "The type of issue.", @@ -1262985,10 +1273003,6 @@ "description" ] }, - "title": { - "description": "Title of the issue", - "type": "string" - }, "updated_at": { "type": "string", "format": "date-time" @@ -1263124,47 +1273138,91 @@ "reactions" ] }, - "label": { - "title": "Label", + "issue_field": { "type": "object", + "description": "The issue field whose value was cleared from the issue.", "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { - "type": "boolean" - }, - "description": { - "type": [ - "string", - "null" - ] - }, "id": { - "type": "integer" + "type": "integer", + "description": "The unique identifier of the issue field." }, "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { - "type": "string" + "type": "string", + "description": "The name of the issue field." }, - "url": { - "description": "URL for the label", + "field_type": { "type": "string", - "format": "uri" + "description": "The data type of the issue field.", + "enum": [ + "text", + "date", + "single_select", + "number" + ] } }, "required": [ "id", - "node_id", - "url", "name", - "color", - "default", - "description" + "field_type" + ] + }, + "issue_field_value": { + "type": "object", + "description": "The value that was cleared from the issue field.", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue field value." + }, + "value": { + "description": "The value of the field. Present for text, date, and number field types.", + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "integer" + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "value_id": { + "type": "integer", + "description": "The identifier of the selected option. Present for single_select field types." + }, + "option": { + "type": "object", + "description": "The selected option details. Present for {"code":"deadline_exceeded","msg":"operation timed out"}